[rubygem-gem2rpm/el6] Update to gem2rpm 0.9.2.
Vít Ondruch
vondruch at fedoraproject.org
Tue Apr 23 09:41:19 UTC 2013
commit eded76d9e8fd8f061fce309b98f22fbcf00f6874
Author: Vít Ondruch <vondruch at redhat.com>
Date: Tue Apr 23 10:03:02 2013 +0200
Update to gem2rpm 0.9.2.
.gitignore | 4 ++++
rubygem-gem2rpm.spec | 18 +++++++++++-------
sources | 4 ++--
3 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ea6d621..5dc510c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,7 @@ gem2rpm-0.6.0.gem
/gem2rpm-0.8.0-tests.tgz
/gem2rpm-0.8.1-tests.tgz
/gem2rpm-0.8.1.gem
+/gem2rpm-0.9.1-tests.tgz
+/gem2rpm-0.9.1.gem
+/gem2rpm-0.9.2-tests.tgz
+/gem2rpm-0.9.2.gem
diff --git a/rubygem-gem2rpm.spec b/rubygem-gem2rpm.spec
index 9945ed8..ca5dffd 100644
--- a/rubygem-gem2rpm.spec
+++ b/rubygem-gem2rpm.spec
@@ -8,17 +8,14 @@
Summary: Generate rpm specfiles from gems
Name: rubygem-%{gemname}
-Version: 0.8.1
+Version: 0.9.2
Release: 1%{?dist}
Group: Development/Languages
License: GPLv2+
-%if 0%{?rhel} <= 5
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%endif
URL: https://github.com/lutter/gem2rpm/
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
-# git clone https://github.com/lutter/gem2rpm.git && cd gem2rpm && git checkout v0.8.1
-# tar czvf gem2rpm-0.8.1-tests.tgz test/
+# git clone https://github.com/lutter/gem2rpm.git && cd gem2rpm && git checkout v0.9.2
+# tar czvf gem2rpm-0.9.2-tests.tgz test/
Source1: %{gemname}-%{version}-tests.tgz
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
@@ -68,8 +65,12 @@ cp -a .%{_bindir}/* \
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
%check
-tar xzvf %{SOURCE1} -C .%{geminstdir}
pushd .%{geminstdir}
+tar xzvf %{SOURCE1}
+
+# Disable this test, since it needs online access (see the comment on line 22).
+sed -i "23,25 d" test/test_gem2rpm.rb
+
testrb -Itest test/
popd
@@ -89,6 +90,9 @@ popd
%doc %{geminstdir}/AUTHORS
%changelog
+* Tue Apr 23 2013 Vít Ondruch <vondruch at redhat.com> - 0.9.2-1
+- Update to gem2rpm 0.9.2.
+
* Thu Feb 09 2012 Vít Ondruch <vondruch at redhat.com> - 0.8.1-1
- Fix template for F17 and above.
- Fix release enumeration logic.
diff --git a/sources b/sources
index 7eb510e..2059003 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-d7d8bc231dc405bbce00f570c89f530e gem2rpm-0.8.1-tests.tgz
-d3c9416f225ae944fd195e69e122d46e gem2rpm-0.8.1.gem
+e5a178f7cf4aff215cfe232d8808d2e4 gem2rpm-0.9.2-tests.tgz
+6988e28332369a79067d45b8c61f2851 gem2rpm-0.9.2.gem
More information about the scm-commits
mailing list