diff --git a/hashdiff-0.3.2.gem b/hashdiff-0.3.2.gem deleted file mode 100644 index c9da783..0000000 Binary files a/hashdiff-0.3.2.gem and /dev/null differ diff --git a/hashdiff-1.0.1.gem b/hashdiff-1.0.1.gem new file mode 100644 index 0000000..4377d55 Binary files /dev/null and b/hashdiff-1.0.1.gem differ diff --git a/rubygem-hashdiff.spec b/rubygem-hashdiff.spec index 0b13952..fe5f94d 100644 --- a/rubygem-hashdiff.spec +++ b/rubygem-hashdiff.spec @@ -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 - 0.3.2-1 - Package init diff --git a/rubygem-hashdiff.yaml b/rubygem-hashdiff.yaml index ac26b30..a1f2c32 100644 --- a/rubygem-hashdiff.yaml +++ b/rubygem-hashdiff.yaml @@ -1,5 +1,4 @@ -git_url: https://github.com/liufengyun/hashdiff.git version_control: github src_repo: liufengyun/hashdiff tag_prefix: "^v" -seperator: "." +separator: "."