#1 Update to hashdiff 0.4.0
Opened 2 months ago by pvalena. Modified 2 months ago
rpms/ pvalena/rubygem-hashdiff rebase  into  master

file modified
+1 -1

@@ -1,1 +1,1 @@ 

- /hashdiff-0.3.2.gem

+ /hashdiff-*.gem

file modified
+10 -17

@@ -2,20 +2,20 @@ 

  %global gem_name hashdiff

  

  Name: rubygem-%{gem_name}

- Version: 0.3.2

- Release: 5%{?dist}

- Summary: HashDiff is a diff lib to compute the smallest difference between two hashes

+ Version: 0.4.0

+ Release: 1%{?dist}

+ 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/%{gem_name}-%{version}.gem

  BuildRequires: ruby(release)

  BuildRequires: rubygems-devel

- BuildRequires: ruby >= 1.8.7

+ BuildRequires: ruby

  BuildRequires: 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

@@ -27,18 +27,10 @@ 

  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

- # Create the gem as gem install only works on a gem file

- 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 build ../%{gem_name}-%{version}.gemspec

  %gem_install

  

  %install

@@ -47,8 +39,6 @@ 

          %{buildroot}%{gem_dir}/

  

  

- 

- 

  # Run the test suite

  %check

  pushd .%{gem_instdir}

@@ -74,6 +64,9 @@ 

  %{gem_instdir}/spec

  

  %changelog

+ * Mon Jul 01 2019 Pavel Valena <pvalena@redhat.com> - 0.4.0-1

+ - Update to hashdiff 0.4.0.

+ 

  * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

file modified
+1 -1

@@ -1,1 +1,1 @@ 

- SHA512 (hashdiff-0.3.2.gem) = eaf7554ee3336ef5873272320b23d71c7b30fbf9dc37a09ce84af5eec3d83b82dd345017a45bb9ca6fa57882d8a4bda42ec650ae15ce3c14eb0ad81b096a02d9

+ SHA512 (hashdiff-0.4.0.gem) = 4556479daa42486d12d181c6e231a788c5ddab1b193d1452644ae501a795233e6bf23556bdd0a162a9e386ad2ebebca4398724533d52eff3b36134f8ffa5615f

also enhance .spec and .gitignore files.


Required for Webmock 3.6.0.

Checks: TBD