upgrade 3.5
This commit is contained in:
parent
011f11fc76
commit
4bb732736f
@ -1,10 +1,10 @@
|
|||||||
Name: pyserial
|
Name: pyserial
|
||||||
Version: 3.4
|
Version: 3.5
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Python serial port access library.
|
Summary: Python serial port access library.
|
||||||
License: BSD license
|
License: BSD license
|
||||||
URL: https://github.com/pyserial/pyserial
|
URL: https://github.com/pyserial/pyserial
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/v3.4.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/v3.5.tar.gz
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
@ -41,7 +41,6 @@ popd
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||||
install -D -m 0755 %{buildroot}/%{_bindir}/miniterm.py %{buildroot}/%{_bindir}/miniterm-3.py
|
|
||||||
rm -rf %{buildroot}/%{_bindir}/miniterm.py
|
rm -rf %{buildroot}/%{_bindir}/miniterm.py
|
||||||
ln -sf %{_bindir}/miniterm-3.py %{buildroot}/%{_bindir}/miniterm-%{python3_version}.py
|
ln -sf %{_bindir}/miniterm-3.py %{buildroot}/%{_bindir}/miniterm-%{python3_version}.py
|
||||||
popd
|
popd
|
||||||
@ -59,11 +58,14 @@ popd
|
|||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%doc CHANGES.rst README.rst examples
|
%doc CHANGES.rst README.rst examples
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{_bindir}/miniterm-3.py
|
|
||||||
%{_bindir}/miniterm-%{python3_version}.py
|
%{_bindir}/miniterm-%{python3_version}.py
|
||||||
|
%{_bindir}/pyserial*
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 2 2021 wangjie<wangjie294@huawei.com> -3.5-1
|
||||||
|
- upgrade 3.5-1
|
||||||
|
|
||||||
* Fri Oct 30 2020 wangjie<wangjie294@huawei.com> -3.4-4
|
* Fri Oct 30 2020 wangjie<wangjie294@huawei.com> -3.4-4
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
BIN
v3.4.tar.gz
BIN
v3.4.tar.gz
Binary file not shown.
BIN
v3.5.tar.gz
Normal file
BIN
v3.5.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user