[rubygem-xmlparser/f16] Update to 0.7.2 (see #719854).
Ulrich Schwickerath
schwicke at fedoraproject.org
Wed Mar 21 15:50:34 UTC 2012
commit e3814d77636b6fa3d5f84373a9d27a5a17f91525
Author: Ulrich Schwickerath <Ulrich.Schwickerath at cern.ch>
Date: Wed Mar 21 16:50:22 2012 +0100
Update to 0.7.2 (see #719854).
.gitignore | 1 +
rubygem-xmlparser.spec | 27 +++++++++++++++++----------
sources | 2 +-
3 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b9f2cfb..1e15306 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/xmlparser-0.6.81.gem
+/xmlparser-0.7.2.gem
diff --git a/rubygem-xmlparser.spec b/rubygem-xmlparser.spec
index 573a530..d0b6f79 100644
--- a/rubygem-xmlparser.spec
+++ b/rubygem-xmlparser.spec
@@ -3,20 +3,25 @@
%global gemname xmlparser
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%if 0%{?fedora} >= 17
+%global rubyabi 1.9.1
+%else
%global rubyabi 1.8
+%endif
Summary: Ruby bindings to the Expat XML parsing library
Name: rubygem-%{gemname}
-Version: 0.6.81
-Release: 9%{?dist}
+Version: 0.7.2
+Release: 1%{?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://rubygems.org/gems/xmlparser
-Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby
Requires: ruby(rubygems)
@@ -33,7 +38,6 @@ Provides: rubygem(%{gemname}) = %{version}
%description
Ruby bindings to the Expat XML parsing library.
-
%prep
%setup -q -c -T
cp %{SOURCE0} %{gemname}-%{version}.gem
@@ -48,14 +52,13 @@ 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}/lib/xmlparser.so %{buildroot}%{ruby_sitearch}
+mv %{buildroot}%{geminstdir}/xmlparser.so %{buildroot}%{ruby_sitearch}
+
+rm -f %{buildroot}%{geminstdir}/mkmf.log
%clean
rm -rf %{buildroot}
@@ -66,11 +69,15 @@ rm -rf %{buildroot}
%{ruby_sitearch}/xmlparser.so
%dir %{gemdir}/gems/%{gemname}-%{version}/
%doc %{gemdir}/gems/%{gemname}-%{version}/[A-Z]*
-%{gemdir}/gems/%{gemname}-%{version}/lib
+%{gemdir}/gems/%{gemname}-%{version}/[a-z]*
%{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
+- 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 15915d9..c34d1ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dc494768a4ea0c7bedd3444a112ac3ae xmlparser-0.6.81.gem
+612952fa33d5670d7073807715b01610 xmlparser-0.7.2.gem
More information about the scm-commits
mailing list