Update to hashdiff 1.0.1.

f38
Pavel Valena 4 years ago
parent 35aaa1a5eb
commit d2698b8b98

2
.gitignore vendored

@ -1 +1 @@
/hashdiff-0.3.2.gem /hashdiff-*.gem

@ -2,9 +2,9 @@
%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: 8%{?dist} Release: 1%{?dist}
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/%{gem_name}-%{version}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
@ -15,7 +15,7 @@ BuildRequires: 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
@ -27,18 +27,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
# Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec
gem build %{gem_name}.gemspec
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
%gem_install %gem_install
%install %install
@ -47,8 +39,6 @@ cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/ %{buildroot}%{gem_dir}/
# Run the test suite # Run the test suite
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
@ -74,6 +64,9 @@ popd
%{gem_instdir}/spec %{gem_instdir}/spec
%changelog %changelog
* Thu Aug 20 23:23:44 GMT 2020 Pavel Valena <pvalena@redhat.com> - 1.0.1-1
- Update to hashdiff 1.0.1.
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-8 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

@ -1 +1 @@
SHA512 (hashdiff-0.3.2.gem) = eaf7554ee3336ef5873272320b23d71c7b30fbf9dc37a09ce84af5eec3d83b82dd345017a45bb9ca6fa57882d8a4bda42ec650ae15ce3c14eb0ad81b096a02d9 SHA512 (hashdiff-1.0.1.gem) = fa6e7ad88373038341473de25b7df5e146744efb8b5613fb4da41630498e68de585e2a8d66ba86d577ded574464948234f51e662a9caa6e695c3d6a2c3b85059

Loading…
Cancel
Save