diff --git a/.gitignore b/.gitignore index 3ecff02..6376fa3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /public_suffix-2.0.5.gem +/public_suffix-3.0.1.gem diff --git a/rubygem-public_suffix.spec b/rubygem-public_suffix.spec index d3923e6..3a80674 100644 --- a/rubygem-public_suffix.spec +++ b/rubygem-public_suffix.spec @@ -2,8 +2,8 @@ %global gem_name public_suffix Name: rubygem-%{gem_name} -Version: 2.0.5 -Release: 3%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Summary: Domain name parser based on the Public Suffix List # MPLv2.0: %%{gem_instdir}/data/list.txt License: MIT and MPLv2.0 @@ -32,15 +32,11 @@ 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 # Create the gem as gem install only works on a gem file -gem build %{gem_name}.gemspec +gem build ../%{gem_name}-%{version}.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 @@ -66,6 +62,8 @@ popd %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.txt +# This is usefull just for development. +%exclude %{gem_instdir}/bin %{gem_instdir}/data %{gem_libdir} %exclude %{gem_instdir}/public_suffix.gemspec @@ -80,8 +78,12 @@ popd %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/test +%exclude %{gem_instdir}/test/.empty %changelog +* Wed Dec 13 2017 Vít Ondruch - 3.0.1-1 +- Update to PublicSuffix 3.0.1. + * Thu Jul 27 2017 Fedora Release Engineering - 2.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index e376327..563cf7f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (public_suffix-2.0.5.gem) = d261dec44c11803631e267f36d82a59278d90dceb2811233ca511e895c5f1a58005b6afea980bd1bbd78bbfc7a3a4e02f9f1fbe351fded38be340ecc235da383 +SHA512 (public_suffix-3.0.1.gem) = 6eac89d22cc766a12032f4abd2fb8b707e4a7c82bf35d9deed45fe11ed3932fb3c2339da7fab775c10603d9e39a484fa5a54d33758d2f5fc9a0c558a1d4b2e0e