This commit is contained in:
Mamoru TASAKA 2014-05-14 17:36:18 +09:00
parent 81cacd0c16
commit fb15ebbe2a
3 changed files with 12 additions and 4 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ nokogiri-1.4.3.1.gem
/nokogiri-1.5.9.gem
/nokogiri-1.6.0.gem
/nokogiri-1.6.1.gem
/nokogiri-1.6.2.1.gem

View File

@ -3,10 +3,10 @@
%global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
%endif
%global mainver 1.6.1
%global mainver 1.6.2.1
#%%global prever .beta.4
%global mainrel 2
%global mainrel 1
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
@ -120,7 +120,9 @@ cd %{gem_name}-%{version}
gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec
# remove bundled external libraries
sed -i -e 's|, "ports/archives/[^"][^"]*"||g' \
sed -i \
-e 's|, "ports/archives/[^"][^"]*"||g' \
-e 's|, "ports/patches/[^"][^"]*"||g' \
%{gem_name}.gemspec
# Actually not needed when using system libraries
sed -i -e '\@mini_portile@d' %{gem_name}.gemspec
@ -188,6 +190,8 @@ rm -rf %{buildroot}%{geminstdir}/ext/%{gemname}/
rm -rf %{buildroot}%{geminstdir}/tmp/
rm -f %{buildroot}%{geminstdir}/{.autotest,.require_paths,.gemtest,.travis.yml}
rm -f %{buildroot}%{geminstdir}/{build_all,dependencies.yml,test_all}
rm -f %{buildroot}%{geminstdir}/.editorconfig
rm -rf %{buildroot}%{geminstdir}/suppressions/
%check
@ -252,6 +256,9 @@ popd
%{gemdir}/doc/%{gemname}-%{mainver}%{?prever}/
%changelog
* Wed May 14 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.6.2.1-1
- 1.6.2.1
* Thu Apr 17 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.6.1-2
- F-21: rebuild for ruby 2.1 / rubygems 2.2

View File

@ -1 +1 @@
ecab2ea5ec330c8bb25fe5f13dfd8ab4 nokogiri-1.6.1.gem
af93cafbddcbf6e47f32bcf4e7712582 nokogiri-1.6.2.1.gem