]> git.pld-linux.org Git - packages/python-zope.interface.git/commitdiff
- CFLAGS, egg-info created on py2.4 too auto/th/Zope-Interface-3_5_0-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 14 Apr 2009 05:57:00 +0000 (05:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-Interface.spec -> 1.24

Zope-Interface.spec

index afaf6e9901e695dc332b5a3e010cb0097e465cfc..d1cb8a4905d58aecbcbc6684d0f814f7b908d194 100644 (file)
@@ -8,8 +8,8 @@ Group:          Libraries/Python
 Source0:       http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip
 # Source0-md5: 478d05add7cd7faf25a2fd880a739ddb
 URL:           http://www.zope.org/Products/ZopeInterface/
-BuildRequires: python >= 1:2.5
-BuildRequires: python-devel >= 1:2.5
+BuildRequires: python
+BuildRequires: python-devel
 BuildRequires: python-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
@@ -32,12 +32,12 @@ języka Python.
 %setup -q -n zope.interface-%{version}
 
 %build
-python ./setup.py build
+export CFLAGS="%{rpmcflags}"
+%{__python} ./setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-python ./setup.py install \
+%{__python} ./setup.py install \
        --optimize 2 \
        --root=$RPM_BUILD_ROOT
 
This page took 0.107327 seconds and 4 git commands to generate.