[packages/python-gsmmodem-new] - make sure python3 scripts are always installed, rel 6
baggins
baggins at pld-linux.org
Sun Apr 10 17:24:16 CEST 2022
commit 59f527d3d559319fb9af9c11cb5d5d90824abeb9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Apr 10 17:23:42 2022 +0200
- make sure python3 scripts are always installed, rel 6
python-gsmmodem-new.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-gsmmodem-new.spec b/python-gsmmodem-new.spec
index 9d22da7..9af702b 100644
--- a/python-gsmmodem-new.spec
+++ b/python-gsmmodem-new.spec
@@ -10,7 +10,7 @@
Summary: GSM modem module for Python
Name: python-%{pypi_name}
Version: 0.12
-Release: 5
+Release: 6
License: LGPL v3+
Group: Libraries/Python
Source0: https://github.com/babca/python-gsmmodem/archive/%{version}.tar.gz
@@ -91,6 +91,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%if %{with python3}
+# Remove python2 artefacts
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/*
%py3_install
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-gsmmodem-new.git/commitdiff/59f527d3d559319fb9af9c11cb5d5d90824abeb9
More information about the pld-cvs-commit
mailing list