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
%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 \