rebuilt with distdeps [release 3.5b0-2mamba;Sat Apr 03 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:37:10 +01:00
parent 6bed375bb9
commit 840e982a74

View File

@ -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 <stefano.cotta@openmamba.org>
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 <silvan.calarco@mambasoft.it> 3.5b0-2mamba
- rebuilt with distdeps
* Thu Sep 24 2020 Automatic Build System <autodist@mambasoft.it> 3.5b0-1mamba
- automatic update by autodist