X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Zope-Interface.spec;h=83a1537aee5846376b19be19ffe142073a573a95;hb=946ded4f1071a0ce66bda3164850e6fdb551ce1b;hp=7ff14792d804291cd1ca7e9937c57873f73b960f;hpb=5b273a54e059c3c87e6922231184f099bc3becfe;p=packages%2FZope-Interface.git diff --git a/Zope-Interface.spec b/Zope-Interface.spec index 7ff1479..83a1537 100644 --- a/Zope-Interface.spec +++ b/Zope-Interface.spec @@ -1,15 +1,15 @@ Summary: Python 'interface' concept implementation Summary(pl.UTF-8): Implementacja interfejsów dla języka Python Name: Zope-Interface -Version: 3.5.0 +Version: 3.6.3 Release: 1 License: ZPL 2.1 Group: Libraries/Python -Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip -# Source0-md5: 478d05add7cd7faf25a2fd880a739ddb +Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz +# Source0-md5: 954a56113b491b5856b9e78424ba0922 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 @@ -54,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