[packages/python-mutagen] - ensure tools are python2 based by default, release 2

qboosh qboosh at pld-linux.org
Sun Feb 24 13:25:58 CET 2019


commit f7374ae048c03f9bdbbc4fda2711094b9118c20c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 24 13:31:32 2019 +0100

    - ensure tools are python2 based by default, release 2

 python-mutagen.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python-mutagen.spec b/python-mutagen.spec
index 4fec0ae..451006c 100644
--- a/python-mutagen.spec
+++ b/python-mutagen.spec
@@ -8,7 +8,7 @@ Summary:	Audio metadata reader/writer for Python 2
 Summary(pl.UTF-8):	Moduł Pythona 2 do odczytu i zapisu metadanych dźwiękowych
 Name:		python-%{module}
 Version:	1.42.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Development/Languages/Python
 #Source0Download: https://github.com/quodlibet/mutagen/releases
@@ -92,7 +92,11 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python2}
+%if %{with python3}
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/*
+%endif
 %py_install
+
 %py_postclean
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-mutagen.git/commitdiff/f7374ae048c03f9bdbbc4fda2711094b9118c20c



More information about the pld-cvs-commit mailing list