Update to PublicSuffix 3.0.1.

epel9
Vít Ondruch 7 years ago
parent 33ea70cc39
commit 1279015392

1
.gitignore vendored

@ -1 +1,2 @@
/public_suffix-2.0.5.gem /public_suffix-2.0.5.gem
/public_suffix-3.0.1.gem

@ -2,8 +2,8 @@
%global gem_name public_suffix %global gem_name public_suffix
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.0.5 Version: 3.0.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: Domain name parser based on the Public Suffix List Summary: Domain name parser based on the Public Suffix List
# MPLv2.0: %%{gem_instdir}/data/list.txt # MPLv2.0: %%{gem_instdir}/data/list.txt
License: MIT and MPLv2.0 License: MIT and MPLv2.0
@ -32,15 +32,11 @@ 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 # 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 # %%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 # by default, so that we can move it into the buildroot in %%install
@ -66,6 +62,8 @@ popd
%dir %{gem_instdir} %dir %{gem_instdir}
%exclude %{gem_instdir}/.* %exclude %{gem_instdir}/.*
%license %{gem_instdir}/LICENSE.txt %license %{gem_instdir}/LICENSE.txt
# This is usefull just for development.
%exclude %{gem_instdir}/bin
%{gem_instdir}/data %{gem_instdir}/data
%{gem_libdir} %{gem_libdir}
%exclude %{gem_instdir}/public_suffix.gemspec %exclude %{gem_instdir}/public_suffix.gemspec
@ -80,8 +78,12 @@ popd
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile %{gem_instdir}/Rakefile
%{gem_instdir}/test %{gem_instdir}/test
%exclude %{gem_instdir}/test/.empty
%changelog %changelog
* Wed Dec 13 2017 Vít Ondruch <vondruch@redhat.com> - 3.0.1-1
- Update to PublicSuffix 3.0.1.
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-3 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

@ -1 +1 @@
SHA512 (public_suffix-2.0.5.gem) = d261dec44c11803631e267f36d82a59278d90dceb2811233ca511e895c5f1a58005b6afea980bd1bbd78bbfc7a3a4e02f9f1fbe351fded38be340ecc235da383 SHA512 (public_suffix-3.0.1.gem) = 6eac89d22cc766a12032f4abd2fb8b707e4a7c82bf35d9deed45fe11ed3932fb3c2339da7fab775c10603d9e39a484fa5a54d33758d2f5fc9a0c558a1d4b2e0e

Loading…
Cancel
Save