[python-storm] - remove el5 conditionals in latest spec; RHEL 5's python 2.4 no longer supported by recent Storm

Michel Alexandre Salim salimma at fedoraproject.org
Thu Oct 6 15:47:55 UTC 2011


commit 7ac5f12da147694fb3e523075fe61448b6a7e9a3
Author: Michel Alexandre Salim <michel.salim at cs.fau.de>
Date:   Thu Oct 6 17:47:12 2011 +0200

    - remove el5 conditionals in latest spec; RHEL 5's python 2.4 no longer
      supported by recent Storm releases
    - remove patch; integrated in 0.19

 python-storm.spec                |    9 ---------
 storm-fix-non-ordered-test.patch |   14 --------------
 2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/python-storm.spec b/python-storm.spec
index 337ba43..b14b028 100644
--- a/python-storm.spec
+++ b/python-storm.spec
@@ -11,12 +11,6 @@ URL:            https://storm.canonical.com/
 Source0:        https://launchpad.net/storm/trunk/%{version}/+download/storm-%{version}.tar.bz2
 Source1:        README-Django.Fedora
 
-%if 0%{?el5}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%endif
-
-# C extension now compiled by default
-#BuildArch:      noarch
 BuildRequires:  python2-devel python-setuptools
 
 Provides:       %{name}-sqlite = %{version}-%{release}
@@ -85,9 +79,6 @@ cp -p %{SOURCE1} .
 
 
 %install
-%if 0%{?el5}
-rm -rf $RPM_BUILD_ROOT
-%endif
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 %if 0%{?rhel}


More information about the scm-commits mailing list