diff --git a/.gitignore b/.gitignore index fa56a24..2c7df60 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ nokogiri-1.4.3.1.gem /nokogiri-1.5.0.gem /nokogiri-1.5.2.gem /nokogiri-1.5.5.gem +/nokogiri-1.5.6.gem diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec index 54185f5..4cad570 100644 --- a/rubygem-nokogiri.spec +++ b/rubygem-nokogiri.spec @@ -4,10 +4,10 @@ %global rubyabi 1.8 %endif -%global mainver 1.5.5 +%global mainver 1.5.6 #%%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) @@ -99,18 +99,35 @@ This package provides non-Gem support for %{gemname}. %prep %setup -q -T -c +# Gem repack +TOPDIR=$(pwd) +mkdir tmpunpackdir +pushd tmpunpackdir + +gem unpack %{SOURCE0} +cd %{gem_name}-%{version} + +# patches +#%%patch0 -p1 + +gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec + +# Ummm... +env LANG=ja_JP.UTF-8 gem build %{gem_name}.gemspec +mv %{gem_name}-%{version}.gem $TOPDIR + +popd +rm -rf tmpunpackdir + +%build mkdir -p ./%{gemdir} export CONFIGURE_ARGS="--with-cflags='%{optflags}'" gem install \ --local \ --install-dir ./%{gemdir} \ -V --force \ - %{SOURCE0} + %{gem_name}-%{version}.gem -# patches -pushd .%{geminstdir} -#%%patch0 -p1 -popd # Permission chmod 0644 .%{gemdir}/cache/%{gemname}-%{mainver}%{?prever}.gem @@ -120,7 +137,6 @@ rm -f .%{geminstdir}/lib/*.jar # For now remove JRuby support rm -rf .%{geminstdir}/ext/java -%build %install mkdir -p %{buildroot}%{gemdir} @@ -291,6 +307,10 @@ popd %endif %changelog +* Tue Jan 1 2013 Mamoru TASAKA - 1.5.6-1 +- A Happy New Year +- 1.5.6 + * Fri Aug 17 2012 Vít Ondruch - 1.5.5-2 - Rebuilt againts libxml2 2.9. diff --git a/sources b/sources index 54ecb7f..5bc2e8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b65b2607bf1b3e6cdb0491faab816e68 nokogiri-1.5.5.gem +5ccf492f60fd9edc4f86aef3bb97145c nokogiri-1.5.6.gem