[packages/python-TwistedConch] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:13:06 CET 2015
commit 15f76af87df9a11ea9076d3710e004b45a55a597
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-TwistedConch.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-TwistedConch.spec b/python-TwistedConch.spec
index f29d66d..5d2235c 100644
--- a/python-TwistedConch.spec
+++ b/python-TwistedConch.spec
@@ -57,13 +57,13 @@ Ten pakiet zawiera przykładowe programy dla TwistedConch.
%setup -q -n %{module}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{py_sitedir}/twisted,%{py_sitescriptdir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
-python setup.py install \
+%py_install \
--install-purelib=%{py_sitedir} \
--root=$RPM_BUILD_ROOT \
--optimize=2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-TwistedConch.git/commitdiff/15f76af87df9a11ea9076d3710e004b45a55a597
More information about the pld-cvs-commit
mailing list