!2 Update to 1.0.1

From: @wk333 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-11-14 06:07:57 +00:00 committed by Gitee
commit 2be7dc1811
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 9 additions and 9 deletions

Binary file not shown.

BIN
hashdiff-1.0.1.gem Normal file

Binary file not shown.

View File

@ -1,15 +1,15 @@
%global gem_name hashdiff
Name: rubygem-%{gem_name}
Version: 0.3.2
Version: 1.0.1
Release: 1
Summary: HashDiff is a diff lib to compute the smallest difference between two hashes
Summary: Hashdiff is a diff lib to compute the smallest difference between two hashes
License: MIT
URL: https://github.com/liufengyun/hashdiff
Source0: https://rubygems.org/gems/hashdiff-%{version}.gem
BuildRequires: ruby(release) rubygems-devel ruby >= 1.8.7 rubygem(rspec)
BuildArch: noarch
%description
HashDiff is a diff lib to compute the smallest difference between two hashes.
Hashdiff is a diff lib to compute the smallest difference between two hashes.
%package doc
Summary: Documentation for %{name}
@ -19,12 +19,10 @@ BuildArch: noarch
Documentation for %{name}.
%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}.gemspec
gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install
@ -55,5 +53,8 @@ popd
%{gem_instdir}/spec
%changelog
* Tue Nov 14 2023 wangkai <13474090681@163.com> - 1.0.1-1
- Update to 1.0.1
* Mon Aug 10 2020 yanan li <liyanan032@huawei.com> - 0.3.2-1
- Package init

View File

@ -1,5 +1,4 @@
git_url: https://github.com/liufengyun/hashdiff.git
version_control: github
src_repo: liufengyun/hashdiff
tag_prefix: "^v"
seperator: "."
separator: "."