Update to 3.5
This commit is contained in:
parent
519d13b171
commit
4892f90237
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ pyserial-2.4.tar.gz
|
||||
/pyserial-2.6.tar.gz
|
||||
/pyserial-2.7.tar.gz
|
||||
/pyserial-3.1.1.tar.gz
|
||||
/pyserial-3.5.tar.gz
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
Summary: Python serial port access library
|
||||
Name: pyserial
|
||||
Version: 3.4
|
||||
Release: 13%{?dist}
|
||||
Version: 3.5
|
||||
Release: 1%{?dist}
|
||||
Source0: %pypi_source
|
||||
License: Python
|
||||
License: BSD
|
||||
URL: http://pypi.python.org/pypi/pyserial
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
@ -36,19 +36,25 @@ 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
|
||||
|
||||
|
||||
%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}/*
|
||||
%{_bindir}/miniterm.py
|
||||
%{_bindir}/miniterm-3.py
|
||||
%{_bindir}/miniterm-%{python3_version}.py
|
||||
%{python3_sitelib}/serial
|
||||
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
|
||||
%{_bindir}/pyserial-miniterm
|
||||
%{_bindir}/pyserial-ports
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (pyserial-3.4.tar.gz) = d71dffc330704e41caac6054adf192bee2f1c119691faf2ea93fe22e8e3ba000dc4a1434293f6f80d05a5577d85b96791f656e28d5c63fb0ce6a6605467a117f
|
||||
SHA512 (pyserial-3.5.tar.gz) = c8df5e50d952d5a6dcf1d9253a6ba953e9763c545a867da66c22c90dfa015aba0194f2a8f29a229d0a5f4dc8bfeeaaab8bcfda4066ed78a18b151bc05e6ae327
|
||||
|
||||
Loading…
Reference in New Issue
Block a user