remove useless empty file

This commit is contained in:
sxt1001 2023-04-15 14:09:52 +08:00
parent 62992c4e3c
commit 88058c86da

View File

@ -1,6 +1,6 @@
Name: pyserial Name: pyserial
Version: 3.5 Version: 3.5
Release: 3 Release: 4
Summary: Python serial port access library. Summary: Python serial port access library.
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/pyserial/pyserial URL: https://github.com/pyserial/pyserial
@ -41,8 +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}
rm -rf %{buildroot}/%{_bindir}/miniterm.py
ln -sf %{_bindir}/miniterm-3.py %{buildroot}/%{_bindir}/miniterm-%{python3_version}.py
popd popd
%check %check
@ -59,11 +57,16 @@ 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-%{python3_version}.py
%{_bindir}/pyserial* %{_bindir}/pyserial*
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog
* Sat Apr 15 2023 shixuantong <shixuantong1@huawei.com> - 3.5-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:remove useless empty file
* Wed Dec 21 2022 zhuofeng <zhuofeng2@huawei.com> - 3.5-3 * Wed Dec 21 2022 zhuofeng <zhuofeng2@huawei.com> - 3.5-3
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA