From 840e982a741e61306995b5b131a817f9fb25836e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:37:10 +0100 Subject: [PATCH] rebuilt with distdeps [release 3.5b0-2mamba;Sat Apr 03 2021] --- python-serial.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/python-serial.spec b/python-serial.spec index 59b3740..bad255b 100644 --- a/python-serial.spec +++ b/python-serial.spec @@ -1,19 +1,18 @@ Name: python-serial Version: 3.5b0 -Release: 1mamba +Release: 2mamba Summary: Python Serial Port Extension Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino -URL: http://pyserial.sourceforge.net/ +URL: https://pyserial.sourceforge.net/ Source: http://pypi.debian.net/pyserial/pyserial-%{version}.tar.gz License: Python -Requires: python >= %python_version ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python-setuptools-py3 ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %description @@ -21,6 +20,10 @@ PySerial encapsulates the access for the serial port. It provides backends for Python running on Windows, Linux, BSD (possibly any POSIX compliant system), Jython and IronPython (.NET and Mono). The module named “serial” automatically selects the appropriate backend. +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n pyserial-%{version} @@ -36,7 +39,7 @@ The module named “serial” automatically selects the appropriate backend. --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist # remove win32 examples #rm examples/{scanwin32.py,setup-miniterm-py2exe.py} @@ -44,11 +47,16 @@ The module named “serial” automatically selects the appropriate backend. %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/pyserial-%{version}-py*.egg-info +%{python_sitearch}/pyserial-%{version}-py*.egg-info/* %doc examples LICENSE.txt %changelog +* Sat Apr 03 2021 Silvan Calarco 3.5b0-2mamba +- rebuilt with distdeps + * Thu Sep 24 2020 Automatic Build System 3.5b0-1mamba - automatic update by autodist