commit a9fb296726bcfba46c4631cf29aa61934d4a4de1
Author: Jan Rękorajski <[email protected]>
Date:   Sun Jan 1 10:30:36 2017 +0900

    - prefer python3 miniterm
    - rel 3

 python-serial.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-serial.spec b/python-serial.spec
index 325eba4..afdcd8a 100644
--- a/python-serial.spec
+++ b/python-serial.spec
@@ -8,7 +8,7 @@ Summary:        Serial port interface module
 Summary(pl.UTF-8):     Moduł interfejsu do portu szeregowego
 Name:          python-serial
 Version:       3.2.1
-Release:       2
+Release:       3
 License:       GPL
 Group:         Development/Languages/Python
 Source0:       https://github.com/pyserial/pyserial/archive/v%{version}.tar.gz
@@ -84,6 +84,9 @@ find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*serialwin*" 
-exec rm {} \;
 %endif
 
 %if %{with python3}
+# Always prefer python3 version
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/miniterm.py
+
 install -d $RPM_BUILD_ROOT%{_examplesdir}/python3-%{module}-%{version}
 %py3_install
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-serial.git/commitdiff/a9fb296726bcfba46c4631cf29aa61934d4a4de1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to