[rubygem-rack-ssl] Fixed license. Simplified test suite execution.

Vít Ondruch vondruch at fedoraproject.org
Mon Oct 17 13:12:45 UTC 2011


commit 3916e1c9066ad43bf278a6b4247a0ffd8f34920c
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Oct 17 15:12:14 2011 +0200

    Fixed license.
    Simplified test suite execution.

 rubygem-rack-ssl.spec |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/rubygem-rack-ssl.spec b/rubygem-rack-ssl.spec
index d81643a..a75f2a7 100644
--- a/rubygem-rack-ssl.spec
+++ b/rubygem-rack-ssl.spec
@@ -5,14 +5,12 @@
 %global geminstdir %{gemdir}/gems/%{gemname}-%{version}
 %global rubyabi 1.8
 
-%global testdir %{_tmppath}/%{gemname}-%{version}
-
 Summary: Force SSL/TLS in your app
 Name: rubygem-%{gemname}
 Version: 1.3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
-License: GPLv2+ or Ruby
+License: MIT
 URL: https://github.com/josh/rack-ssl
 Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
 # git clone https://github.com/josh/rack-ssl.git && cd rack-ssl && git checkout v1.3.2
@@ -58,15 +56,12 @@ cp -a .%{gemdir}/* \
         %{buildroot}%{gemdir}/
 
 %check
-rm -rf %{testdir}
-mkdir %{testdir}
-tar xzvf %{SOURCE1} -C %{testdir}
-pushd %{testdir}
+pushd .%{geminstdir}
+tar xzvf %{SOURCE1}
 
-RUBYOPT=rubygems testrb -I%{buildroot}%{geminstdir}/lib test/
+RUBYOPT="-rubygems -Ilib" testrb test/
 
 popd
-rm -rf %{testdir}
 
 
 %files
@@ -82,5 +77,9 @@ rm -rf %{testdir}
 
 
 %changelog
+* Mon Oct 17 2011 Vít Ondruch <vondruch at redhat.com> - 1.3.2-2
+- Fixed license.
+- Simplified test suite execution.
+
 * Fri Jul 08 2011 Vít Ondruch <vondruch at redhat.com> - 1.3.2-1
 - Initial package


More information about the scm-commits mailing list