]> git.pld-linux.org Git - packages/python-egenix-mx-base.git/blobdiff - python-egenix-mx-base.spec
- release 5 (by relup.sh)
[packages/python-egenix-mx-base.git] / python-egenix-mx-base.spec
index 4d0cd4ffb68effed7ccb5ffa1be8b095a42ffe0e..e28132785a6e6c23aa0807321f8c4e6d5d421f7a 100644 (file)
@@ -7,13 +7,14 @@ Summary:      eGenix mx-Extensions for Python
 Summary(pl.UTF-8):     eGenix mx-Extensions dla języka Python
 Name:          python-%{module}
 Version:       3.1.1
-Release:       3
+Release:       5
 License:       distributable
 Group:         Libraries/Python
 #Source0Download: http://www.egenix.com/files/python/eGenix-mx-Extensions.html
 Source0:       http://www.egenix.com/files/python/%{module}-%{version}.tar.gz
 # Source0-md5: d0f3b1adca33a68867bf50f000060cd6
 URL:           http://www.egenix.com/files/python/eGenix-mx-Extensions.html
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: python-devel >= 1:2.5
 BuildRequires: rpm-pythonprov
 %pyrequires_eq python-libs
@@ -300,13 +301,12 @@ tworzenia, kodowania i dekodowania adresów URL.
 %setup -q -n %{module}-%{version}
 
 %build
-env CFLAGS="%{rpmcflags}" python setup.py build
+env CFLAGS="%{rpmcflags}" %py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_incdir}/mx
-python setup.py install \
-       --root=$RPM_BUILD_ROOT \
+%py_install \
        --install-purelib=%{py_sitedir}
 
 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.h \
This page took 0.081572 seconds and 4 git commands to generate.