[rubygem-xmlparser/f16] roll back to previous version (see #719854).

Ulrich Schwickerath schwicke at fedoraproject.org
Thu Mar 22 12:36:21 UTC 2012


commit 531e8884a894cf1c713f4a82741d1e077f99dbbd
Author: Ulrich Schwickerath <Ulrich.Schwickerath at cern.ch>
Date:   Thu Mar 22 13:36:07 2012 +0100

    roll back to previous version (see #719854).

 rubygem-xmlparser.spec |   22 +++++++++++-----------
 sources                |    2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/rubygem-xmlparser.spec b/rubygem-xmlparser.spec
index d0b6f79..bde35b7 100644
--- a/rubygem-xmlparser.spec
+++ b/rubygem-xmlparser.spec
@@ -11,17 +11,16 @@
 
 Summary: Ruby bindings to the Expat XML parsing library
 Name: rubygem-%{gemname}
-Version: 0.7.2
-Release: 1%{?dist}
+Version: 0.6.81
+Release: 10%{?dist}
 Group: Development/Languages
 # src/lib/xml/xpath.rb is GPLv2+
 # src/ext/encoding.h and the functions of encoding map are GPLv2+ or Artistic
 # All other files are Ruby or GPLv2+ or MIT
 # For a breakdown of the licensing, see also README
 License: GPLv2+ and ( Ruby or GPLv2+ or MIT ) and ( GPLv2+ or Artistic ) 
-URL: http://www.yoshidam.net/Ruby.html#xmlparser
-#Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
-Source0: https://uschwick.web.cern.ch/uschwick/software/%{gemname}-%{version}.gem
+URL: http://rubygems.org/gems/xmlparser
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: ruby
 Requires: ruby(rubygems)
@@ -38,6 +37,7 @@ Provides: rubygem(%{gemname}) = %{version}
 %description
 Ruby bindings to the Expat XML parsing library. 
 
+
 %prep
 %setup -q -c -T 
 cp %{SOURCE0} %{gemname}-%{version}.gem
@@ -52,13 +52,14 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}%{gemdir}
 cp -rp .%{gemdir}/* %{buildroot}%{gemdir}
 
+# only needed for building 
+rm -rf %{buildroot}%{gemdir}/gems/xmlparser-0.6.81/ext
+
 # Arch dependent files go here
 mkdir -p %{buildroot}%{ruby_sitearch}
 
 # for this package the .so file need to be in the ruby_sitearch directory (rather than %{ruby_sitearch}/lib) else the library is not found
-mv %{buildroot}%{geminstdir}/xmlparser.so %{buildroot}%{ruby_sitearch}
-
-rm -f %{buildroot}%{geminstdir}/mkmf.log
+mv %{buildroot}%{geminstdir}/lib/xmlparser.so %{buildroot}%{ruby_sitearch}
 
 %clean
 rm -rf %{buildroot}
@@ -69,14 +70,13 @@ rm -rf %{buildroot}
 %{ruby_sitearch}/xmlparser.so
 %dir %{gemdir}/gems/%{gemname}-%{version}/
 %doc %{gemdir}/gems/%{gemname}-%{version}/[A-Z]*
-%{gemdir}/gems/%{gemname}-%{version}/[a-z]*
+%{gemdir}/gems/%{gemname}-%{version}/lib
 %{gemdir}/cache/%{gemname}-%{version}.gem
 %{gemdir}/specifications/%{gemname}-%{version}.gemspec
 
 %changelog
-* Tue Mar 20 2012 Ulrich Schwickerath <ulrich.schwickerath at web.de> - 0.7.2-1
+* Tue Mar 20 2012 Ulrich Schwickerath <ulrich.schwickerath at web.de> - 0.6.81-10
 - spec file patch to support fedora 17+
-- update to 0.7.2 from Yoshidam
 
 * Tue Mar 06 2012 Ulrich Schwickerath <ulrich.schwickerath at web.de> - 0.6.81-9
 - replace build requirement for ruby-libs by ruby 
diff --git a/sources b/sources
index c34d1ab..15915d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-612952fa33d5670d7073807715b01610  xmlparser-0.7.2.gem
+dc494768a4ea0c7bedd3444a112ac3ae  xmlparser-0.6.81.gem


More information about the scm-commits mailing list