[packages/rss2email] - rel 3; fix build

arekm arekm at pld-linux.org
Fri Dec 30 18:20:13 CET 2016


commit 81ade99d147fee1d52ce01b3cd9c107f2cc90f8e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Dec 30 18:19:52 2016 +0100

    - rel 3; fix build

 rss2email.spec | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/rss2email.spec b/rss2email.spec
index eb62c21..87b2eef 100644
--- a/rss2email.spec
+++ b/rss2email.spec
@@ -1,7 +1,7 @@
 Summary:	A python script that converts RSS/Atom newsfeeds to email
 Name:		rss2email
 Version:	3.9
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Applications/Networking
 Source0:	https://pypi.python.org/packages/source/r/rss2email/%{name}-%{version}.tar.gz
@@ -28,14 +28,12 @@ A python script that converts RSS/Atom newsfeeds to email.
 %{__sed} -i -e '1s,^#!.*python,#!%{__python3},' r2e
 
 %build
-%{__python3} setup.py build
+%{py3_build}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python3} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT \
-	--skip-build
+
+%{py3_install}
 
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 cp -p r2e.1 $RPM_BUILD_ROOT%{_mandir}/man1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rss2email.git/commitdiff/81ade99d147fee1d52ce01b3cd9c107f2cc90f8e



More information about the pld-cvs-commit mailing list