summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMamoru Tasaka <tasaka1@localhost.localdomain>2013-01-01 00:22:36 +0900
committerMamoru Tasaka <tasaka1@localhost.localdomain>2013-01-01 00:22:36 +0900
commit0ad636e27f3c4791c91bf402aa6c1f60b9e417a5 (patch)
tree86ac75a25d2fe19fb2ea63cb73356f0c1b430b58
parentf7f82ee52f74e8fb1349550445501f29b829cebe (diff)
downloadrubygem-nokogiri-0ad636e27f3c4791c91bf402aa6c1f60b9e417a5.tar.gz
rubygem-nokogiri-0ad636e27f3c4791c91bf402aa6c1f60b9e417a5.tar.xz
rubygem-nokogiri-0ad636e27f3c4791c91bf402aa6c1f60b9e417a5.zip
A Happy New Year
- 1.5.6
-rw-r--r--.gitignore1
-rw-r--r--rubygem-nokogiri.spec36
-rw-r--r--sources2
3 files changed, 30 insertions, 9 deletions
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 <mtasaka@fedoraproject.org> - 1.5.6-1
+- A Happy New Year
+- 1.5.6
+
* Fri Aug 17 2012 Vít Ondruch <vondruch@redhat.com> - 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