|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Summary: Python serial port access library
|
|
|
|
|
Name: pyserial
|
|
|
|
|
Version: 3.5
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Source0: %pypi_source
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: http://pypi.python.org/pypi/pyserial
|
|
|
|
@ -36,6 +36,9 @@ export UNZIP="-aa"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
ln -sf pyserial-miniterm %{buildroot}%{_bindir}/miniterm.py
|
|
|
|
|
ln -sf pyserial-miniterm %{buildroot}%{_bindir}/miniterm-3.py
|
|
|
|
|
ln -sf pyserial-miniterm %{buildroot}%{_bindir}/miniterm-%{python3_version}.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -48,8 +51,15 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} %{python3} test/run_all_tests.py
|
|
|
|
|
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
%{_bindir}/pyserial-miniterm
|
|
|
|
|
%{_bindir}/pyserial-ports
|
|
|
|
|
%{_bindir}/miniterm.py
|
|
|
|
|
%{_bindir}/miniterm-3.py
|
|
|
|
|
%{_bindir}/miniterm-%{python3_version}.py
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 05 2024 Miroslav Rezanina <mrezanin@redha.com> - 3.5-11
|
|
|
|
|
- Symlink miniterm.py for backward compatibility
|
|
|
|
|
- Resolves: RHEL-68967
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.5-10
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|