This commit is contained in:
Mamoru TASAKA 2017-06-12 13:54:55 +09:00
parent 879a12e16a
commit 9a994e03de
3 changed files with 10 additions and 14 deletions

1
.gitignore vendored
View File

@ -24,3 +24,4 @@ nokogiri-1.4.3.1.gem
/nokogiri-1.7.0.1.gem /nokogiri-1.7.0.1.gem
/nokogiri-1.7.1.gem /nokogiri-1.7.1.gem
/nokogiri-1.7.2.gem /nokogiri-1.7.2.gem
/nokogiri-1.8.0.gem

View File

@ -3,7 +3,7 @@
%global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']") %global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
%endif %endif
%global mainver 1.7.2 %global mainver 1.8.0
#%%global prever .rc3 #%%global prever .rc3
%global mainrel 1 %global mainrel 1
@ -200,6 +200,8 @@ rm -f %{buildroot}%{geminstdir}/{build_all,dependencies.yml,test_all}
rm -f %{buildroot}%{geminstdir}/.editorconfig rm -f %{buildroot}%{geminstdir}/.editorconfig
rm -rf %{buildroot}%{geminstdir}/suppressions/ rm -rf %{buildroot}%{geminstdir}/suppressions/
rm -rf %{buildroot}%{geminstdir}/patches/ rm -rf %{buildroot}%{geminstdir}/patches/
rm -f %{buildroot}%{geminstdir}/{Rakefile,Gemfile*}
rm -f %{buildroot}%{geminstdir}/Manifest.txt
@ -215,11 +217,7 @@ pushd ./%{geminstdir}
# Need investigation. For now anyway build # Need investigation. For now anyway build
ruby \ ruby \
%if 0%{?fedora} >= 21
-I.:lib:test:ext \ -I.:lib:test:ext \
%else
-I.:lib:test \
%endif
-e \ -e \
"require 'test/helper' ; Dir.glob('test/**/test_*.rb'){|f| require f}" || \ "require 'test/helper' ; Dir.glob('test/**/test_*.rb'){|f| require f}" || \
exit 1 exit 1
@ -236,18 +234,13 @@ popd
%defattr(-,root, root,-) %defattr(-,root, root,-)
%{_bindir}/%{gemname} %{_bindir}/%{gemname}
%{gem_extdir_mri}/ %{gem_extdir_mri}/
%dir %{geminstdir}/ %dir %{geminstdir}/
%doc %{geminstdir}/[A-Z]* %doc %{geminstdir}/[A-Z]*
#%%doc %{geminstdir}/nokogiri_help_responses.md
%exclude %{geminstdir}/Rakefile
%exclude %{geminstdir}/Gemfile
%{geminstdir}/bin/ %{geminstdir}/bin/
%{geminstdir}/lib/ %{geminstdir}/lib/
%if 0%{?fedora} >= 21
%exclude %{gemdir}/cache/%{gemname}-%{mainver}%{?prever}.gem %exclude %{gemdir}/cache/%{gemname}-%{mainver}%{?prever}.gem
%else
%{gemdir}/cache/%{gemname}-%{mainver}%{?prever}.gem
%endif
%{gemdir}/specifications/%{gemname}-%{mainver}%{?prever}.gemspec %{gemdir}/specifications/%{gemname}-%{mainver}%{?prever}.gemspec
%if 0 %if 0
@ -258,7 +251,6 @@ popd
%files doc %files doc
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{geminstdir}/Rakefile
#%%{geminstdir}/deps.rip #%%{geminstdir}/deps.rip
#%%{geminstdir}/spec/ #%%{geminstdir}/spec/
%{geminstdir}/tasks/ %{geminstdir}/tasks/
@ -266,6 +258,9 @@ popd
%{gemdir}/doc/%{gemname}-%{mainver}%{?prever}/ %{gemdir}/doc/%{gemname}-%{mainver}%{?prever}/
%changelog %changelog
* Mon Jun 12 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.8.0-1
- 1.8.0
* Fri May 12 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.7.2-1 * Fri May 12 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.7.2-1
- 1.7.2 - 1.7.2

View File

@ -1 +1 @@
SHA512 (nokogiri-1.7.2.gem) = e688940340ff87001de79aecc2d971f0d23206f2eb05439eef3809ff6aec6c678c9b3eec28b1cdbe34e9e90bd9e19e9bee3f9c8afabb2c1d079d15b6fda74ddb SHA512 (nokogiri-1.8.0.gem) = 958b402325e8428d7a6299356dd31cfa191fd6e8ced78e4333395d6a18718c838b810c2dc9c0864553e5e247ed92d6629b985f4076241ad45affd04cae11a75f