diff --git a/domain_name-0.5.20190701.gem b/domain_name-0.5.20190701.gem deleted file mode 100644 index c1a2c32e9b659547b915554e197f90b7ebdddb39..0000000000000000000000000000000000000000 Binary files a/domain_name-0.5.20190701.gem and /dev/null differ diff --git a/domain_name-0.6.20240107.gem b/domain_name-0.6.20240107.gem new file mode 100644 index 0000000000000000000000000000000000000000..d25739bd41df6a9a478c40601e5fdb90ea9cc77e Binary files /dev/null and b/domain_name-0.6.20240107.gem differ diff --git a/rubygem-domain_name.spec b/rubygem-domain_name.spec index 7be347d1a483df16a3928dc0063cf8705491ea51..f04d759d2c5fc7ec4870432f80e9aaad30dc2a81 100644 --- a/rubygem-domain_name.spec +++ b/rubygem-domain_name.spec @@ -2,9 +2,9 @@ %global rubyabi 1.9.1 Summary: Domain Name manipulation library for Ruby Name: rubygem-%{gem_name} -Version: 0.5.20190701 +Version: 0.6.20240107 Release: 1 -License: BSD and (MPLv1.1 or GPLv2+ or LGPLv2+) +License: BSD-2-Clause AND BSD-3-Clause AND MPL-2.0 URL: https://github.com/knu/ruby-domain_name Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) @@ -26,26 +26,34 @@ BuildArch: noarch Documentation for %{name} %prep -%setup -q -c -T -TOPDIR=$(pwd) -mkdir tmpunpackdir -pushd tmpunpackdir -gem unpack %{SOURCE0} -cd %{gem_name}-%{version} -gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec -gem build %{gem_name}.gemspec -mv %{gem_name}-%{version}.gem $TOPDIR -popd -rm -rf tmpunpackdir +%autosetup -n %{gem_name}-%{version} +mv ../%{gem_name}-%{version}.gemspec . %build +gem build %{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ -rm -f %{buildroot}%{gem_instdir}/{.document,.gitignore} + +# Clean up +rm -f %{buildroot}%{gem_cache} +pushd %{buildroot}%{gem_instdir} +rm -rf \ + .document \ + .github/ \ + .gitignore \ + .travis.yml \ + Gemfile \ + Rakefile \ + %{gem_name}.gemspec \ + data/ \ + test/ \ + tool/ \ + %{nil} +popd %check pushd .%{gem_instdir} @@ -62,20 +70,18 @@ popd %files %dir %{gem_instdir} %doc %{gem_instdir}/[A-Z]* -%exclude %{gem_instdir}/Gemfile* -%exclude %{gem_instdir}/Rakefile -%exclude %{gem_instdir}/*.gemspec -%exclude %{gem_instdir}/.travis.yml %{gem_libdir} -%exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} -%exclude %{gem_instdir}/test/ -%exclude %{gem_instdir}/tool/ -%exclude %{gem_instdir}/data/ %changelog +* Tue Jun 11 2024 yaoxin - 0.6.20240107-1 +- Update to 0.6.20240107 + * Fix regression: Allow DomainName.normalize to accept ASCII-only, non-unicode encoded input + * Update the eTLD database to 2024-01-07 11:25:45 UTC + * Update license to BSD-2-Clause AND BSD-3-Clause AND MPL-2.0 + * Tue Aug 18 2020 wanglin - 0.5.20190701-1 - package init