|
|
|
@ -1,11 +1,12 @@
|
|
|
|
|
Summary: Python serial port access library
|
|
|
|
|
Name: pyserial
|
|
|
|
|
Version: 3.4
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Version: 3.5
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Source0: %pypi_source
|
|
|
|
|
License: Python
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: http://pypi.python.org/pypi/pyserial
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
@ -35,25 +36,74 @@ export UNZIP="-aa"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
mv %{buildroot}/%{_bindir}/miniterm.py %{buildroot}/%{_bindir}/miniterm-3.py
|
|
|
|
|
ln -sf %{_bindir}/miniterm-3.py %{buildroot}/%{_bindir}/miniterm-%{python3_version}.py
|
|
|
|
|
ln -sf %{_bindir}/miniterm-3.py %{buildroot}/%{_bindir}/miniterm.py
|
|
|
|
|
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
|
|
|
|
|
PYTHONPATH=%{buildroot}/%{python3_sitelib} %{python3} test/run_all_tests.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-pyserial
|
|
|
|
|
%doc LICENSE.txt CHANGES.rst README.rst examples
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
%{python3_sitelib}/serial
|
|
|
|
|
%{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
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.4-12
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.5-9
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.5-9
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.5-5
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.5-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Fri Apr 08 2022 Lumír Balhar <lbalhar@redhat.com> - 3.5-1
|
|
|
|
|
- Update to 3.5
|
|
|
|
|
- Fix license tag: Python -> BSD
|
|
|
|
|
Resolves: rhbz#1983151
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.4-11
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.4-11
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|