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.1.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']")
%endif
%global mainver 1.7.2
%global mainver 1.8.0
#%%global prever .rc3
%global mainrel 1
@ -200,6 +200,8 @@ rm -f %{buildroot}%{geminstdir}/{build_all,dependencies.yml,test_all}
rm -f %{buildroot}%{geminstdir}/.editorconfig
rm -rf %{buildroot}%{geminstdir}/suppressions/
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
ruby \
%if 0%{?fedora} >= 21
-I.:lib:test:ext \
%else
-I.:lib:test \
%endif
-e \
"require 'test/helper' ; Dir.glob('test/**/test_*.rb'){|f| require f}" || \
exit 1
@ -236,18 +234,13 @@ popd
%defattr(-,root, root,-)
%{_bindir}/%{gemname}
%{gem_extdir_mri}/
%dir %{geminstdir}/
%doc %{geminstdir}/[A-Z]*
#%%doc %{geminstdir}/nokogiri_help_responses.md
%exclude %{geminstdir}/Rakefile
%exclude %{geminstdir}/Gemfile
%{geminstdir}/bin/
%{geminstdir}/lib/
%if 0%{?fedora} >= 21
%exclude %{gemdir}/cache/%{gemname}-%{mainver}%{?prever}.gem
%else
%{gemdir}/cache/%{gemname}-%{mainver}%{?prever}.gem
%endif
%{gemdir}/specifications/%{gemname}-%{mainver}%{?prever}.gemspec
%if 0
@ -258,7 +251,6 @@ popd
%files doc
%defattr(-,root,root,-)
%{geminstdir}/Rakefile
#%%{geminstdir}/deps.rip
#%%{geminstdir}/spec/
%{geminstdir}/tasks/
@ -266,6 +258,9 @@ popd
%{gemdir}/doc/%{gemname}-%{mainver}%{?prever}/
%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
- 1.7.2

View File

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