]> git.pld-linux.org Git - packages/python-zope.interface.git/blobdiff - Zope-Interface.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-zope.interface.git] / Zope-Interface.spec
index 88e95ed2e370db66cc680a2864f67ad82e38bfe9..6662b5f5bf5e38e642ca615fefa4c19683a3440e 100644 (file)
@@ -12,7 +12,7 @@ BuildRequires:        python
 BuildRequires: python-devel
 BuildRequires: python-setuptools
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.710
 Requires:      python-modules
 # set this requirement explicitly, so people know where %py_sitedir/zope can be found
 Requires:      Zope-dirs
@@ -31,16 +31,11 @@ jÄ™zyka Python.
 %setup -q -n zope.interface-%{version}
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/*.c
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/common/tests
This page took 0.0527609999999999 seconds and 4 git commands to generate.