]> git.pld-linux.org Git - packages/python-zope.interface.git/blobdiff - Zope-Interface.spec
- release 2
[packages/python-zope.interface.git] / Zope-Interface.spec
index 0ba2d2585f8149cd69ece78604fb06d4aa4c5d94..cc9d00b706e6549bd7e58251054a112880a7fe76 100644 (file)
@@ -1,19 +1,22 @@
 Summary:       Python 'interface' concept implementation
 Summary(pl.UTF-8):     Implementacja interfejsów dla języka Python
 Name:          Zope-Interface
-Version:       3.4.0
-Release:       1
+Version:       3.5.3
+Release:       2
 License:       ZPL 2.1
 Group:         Libraries/Python
-Source0:       http://download.zope.org/distribution/zope.interface-%{version}.tar.gz
-# Source0-md5: 0be9fd80b7bb6bee520e56eba7d29c90
+Source0:       http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
+# Source0-md5: 1fdb9a77f92d3ada3e795a8c9b58d0c6
 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
 %pyrequires_eq python-modules
+# set this requirement explicitly, so people know where %py_sitedir/zope
+# can be found
+Requires:      Zope-dirs
 Provides:      ZopeInterface
 Obsoletes:     ZopeInterface
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,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
 
@@ -51,7 +54,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc CHANGES.txt src/zope/interface/{README,human}.txt
 %lang(ru) %doc src/zope/interface/{README,human}.ru.txt
 %dir %{py_sitedir}/zope/interface
-%{py_sitedir}/zope/interface/*.cfg
 %{py_sitedir}/zope/interface/*.py[co]
 %attr(755,root,root) %{py_sitedir}/zope/interface/_zope_interface_coptimizations.so
 %{py_sitedir}/zope/interface/common
This page took 0.07506 seconds and 4 git commands to generate.