[packages/python-BeautifulSoup] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:07:43 CET 2015
commit 2008b43536a13651f260648b817d4eaee8745b0a
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:41 2015 +0100
automatic change: use py_build/py_install macros
python-BeautifulSoup.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-BeautifulSoup.spec b/python-BeautifulSoup.spec
index 4e3be9f..ae163e9 100644
--- a/python-BeautifulSoup.spec
+++ b/python-BeautifulSoup.spec
@@ -38,9 +38,7 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
install BeautifulSoupTests.py \
$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-BeautifulSoup.git/commitdiff/2008b43536a13651f260648b817d4eaee8745b0a
More information about the pld-cvs-commit
mailing list