diff --git a/.gitignore b/.gitignore index b3e778f..5e8f1f7 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,5 @@ nokogiri-1.4.3.1.gem /nokogiri-1.11.1.gem /nokogiri-1.11.2.gem /rubygem-nokogiri-1.11.2-full.tar.gz +/nokogiri-1.11.3.gem +/rubygem-nokogiri-1.11.3-full.tar.gz diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec index e74fda5..e56b8b3 100644 --- a/rubygem-nokogiri.spec +++ b/rubygem-nokogiri.spec @@ -1,4 +1,4 @@ -%global mainver 1.11.2 +%global mainver 1.11.3 #%%global prever .rc4 %global mainrel 1 @@ -78,44 +78,29 @@ This package provides non-Gem support for %{gem_name}. %global version %{mainver}%{?prever} %prep -%setup -q -T -c -a 1 - -# Gem repack -TOPDIR=$(pwd) -mkdir tmpunpackdir -pushd tmpunpackdir - -gem unpack %{SOURCE0} -cd %{gem_name}-%{version} +%setup -q -n %{gem_name}-%{version} -a 1 +mv ../%{gem_name}-%{version}.gemspec . # patches %patch0 -p1 -gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec - # remove bundled external libraries sed -i \ -e 's|, "ports/archives/[^"][^"]*"||g' \ -e 's|, "ports/patches/[^"][^"]*"||g' \ - %{gem_name}.gemspec + %{gem_name}-%{version}.gemspec # Actually not needed when using system libraries -sed -i -e '\@mini_portile@d' %{gem_name}.gemspec +sed -i -e '\@mini_portile@d' %{gem_name}-%{version}.gemspec # Ummm... -LANG=C.UTF-8 gem build %{gem_name}.gemspec -mv %{gem_name}-%{version}.gem $TOPDIR - -popd -rm -rf tmpunpackdir +LANG=C.UTF-8 gem build %{gem_name}-%{version}.gemspec %build -mkdir -p ./%{gem_dir} # 1.6.0 needs this export NOKOGIRI_USE_SYSTEM_LIBRARIES=yes %gem_install - # Permission chmod 0644 .%{gem_dir}/cache/%{gem_name}-%{mainver}%{?prever}.gem @@ -157,20 +142,17 @@ done cp -p %{gem_name}-%{version}/[A-Z]* %{buildroot}%{gem_instdir}/ # cleanups -rm -rf %{buildroot}%{gem_instdir}/ext/%{gem_name}/ -rm -rf %{buildroot}%{gem_instdir}/tmp/ -rm -f %{buildroot}%{gem_instdir}/{.autotest,.require_paths,.gemtest,.travis.yml} -rm -f %{buildroot}%{gem_instdir}/.vagant -rm -f %{buildroot}%{gem_instdir}/appveyor.yml -rm -f %{buildroot}%{gem_instdir}/.cross_rubies -rm -f %{buildroot}%{gem_instdir}/{build_all,dependencies.yml,test_all} -rm -f %{buildroot}%{gem_instdir}/.editorconfig -rm -rf %{buildroot}%{gem_instdir}/suppressions/ -rm -rf %{buildroot}%{gem_instdir}/patches/ -rm -f %{buildroot}%{gem_instdir}/{Rakefile,Gemfile*} -rm -f %{buildroot}%{gem_instdir}/Manifest.txt - - +pushd %{buildroot}%{gem_instdir} +rm -rf \ + Gemfile* \ + dependencies.yml \ + ext \ + *gemspec \ + patches \ + ports \ + %{nil} +popd +rm -f %{buildroot}%{gem_cache} %check # Ah.... @@ -214,24 +196,16 @@ popd %{gem_instdir}/bin/ %{gem_instdir}/lib/ -%exclude %{gem_dir}/cache/%{gem_name}-%{mainver}%{?prever}.gem %{gem_dir}/specifications/%{gem_name}-%{mainver}%{?prever}.gemspec -%if 0 -%files jruby -%defattr(-,root,root,-) -%{gem_instdir}/ext/java/ -%endif - %files doc %defattr(-,root,root,-) -#%%{gem_instdir}/deps.rip -#%%{gem_instdir}/spec/ -%exclude %{gem_instdir}/tasks/ -%exclude %{gem_instdir}/test/ %{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/ %changelog +* Thu Apr 8 2021 Mamoru TASAKA - 1.11.3-1 +- 1.11.3 + * Fri Mar 12 2021 Mamoru TASAKA - 1.11.2-1 - 1.11.2 diff --git a/sources b/sources index e57faca..8c5fcd3 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nokogiri-1.11.2.gem) = de2d461b6c6d852c1d414d97c579b33cecc1d79b8cf87652c1ac5a2fa8487c477f61b66e35fe6f99e0483bce7ebec5cab681191b320b057d4c09de3b226a2609 -SHA512 (rubygem-nokogiri-1.11.2-full.tar.gz) = fec12b59581d8f5f5e364ef72c958625aacee57f030b1ea9045341be14adeb78e5a6aecd5026a438a4bf0af61724eb49fdf0e39f22c0719bb50bb75540de5ef3 +SHA512 (nokogiri-1.11.3.gem) = e11789a27ecbba6bd49eaa9180eafa782d3de6453e993f86079e45e8c1cc8014d1ae6d47fb5237d619a5b84870b94ef383ef117c78fcc8035922534b53c92524 +SHA512 (rubygem-nokogiri-1.11.3-full.tar.gz) = 7fe528f65685c66058dbd3979bc1e33f08261c8ce9bad8ffee9f327161551769895bb65a23eb7d2ef467b80b5cda1453840c670b0a476294534daf37d5a46aa5