Update to 1.0.1

This commit is contained in:
wk333 2023-11-14 11:21:12 +08:00
parent 8a944eee93
commit c5dcd89c0d
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 %global gem_name hashdiff
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 0.3.2 Version: 1.0.1
Release: 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 License: MIT
URL: https://github.com/liufengyun/hashdiff URL: https://github.com/liufengyun/hashdiff
Source0: https://rubygems.org/gems/hashdiff-%{version}.gem Source0: https://rubygems.org/gems/hashdiff-%{version}.gem
BuildRequires: ruby(release) rubygems-devel ruby >= 1.8.7 rubygem(rspec) BuildRequires: ruby(release) rubygems-devel ruby >= 1.8.7 rubygem(rspec)
BuildArch: noarch BuildArch: noarch
%description %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 %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
@ -19,12 +19,10 @@ BuildArch: noarch
Documentation for %{name}. Documentation for %{name}.
%prep %prep
gem unpack %{SOURCE0} %setup -q -n %{gem_name}-%{version}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%build %build
gem build %{gem_name}.gemspec gem build ../%{gem_name}-%{version}.gemspec
%gem_install %gem_install
%install %install
@ -55,5 +53,8 @@ popd
%{gem_instdir}/spec %{gem_instdir}/spec
%changelog %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 * Mon Aug 10 2020 yanan li <liyanan032@huawei.com> - 0.3.2-1
- Package init - Package init

View File

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