fix build error caused by python3.10 wildcard

Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
cherry530 2022-05-09 11:01:36 +08:00
parent 1098b660d6
commit a2d69a5149

View File

@ -1,6 +1,6 @@
Name: python-twisted Name: python-twisted
Version: 18.9.0 Version: 18.9.0
Release: 6 Release: 7
Summary: An event-driven networking engine written in Python Summary: An event-driven networking engine written in Python
License: MIT License: MIT
URL: http://twistedmatrix.com/ URL: http://twistedmatrix.com/
@ -108,13 +108,16 @@ PATH=%{buildroot}%{_bindir}:$PATH PYTHONPATH=%{buildroot}%{python3_sitearch} %{b
%doc CONTRIBUTING NEWS.rst README.rst html LICENSE %doc CONTRIBUTING NEWS.rst README.rst html LICENSE
%{_bindir}/{trial-3*,twistd-3*} %{_bindir}/{trial-3*,twistd-3*}
%{python3_sitearch}/twisted %{python3_sitearch}/twisted
%{python3_sitearch}/Twisted-%{version}-py?.?.egg-info %{python3_sitearch}/Twisted-%{version}-py%{python3_version}.egg-info
%{_bindir}/{cftp,ckeygen,conch,mailmail,pyhtmlizer,tkconch,trial,twist,twistd} %{_bindir}/{cftp,ckeygen,conch,mailmail,pyhtmlizer,tkconch,trial,twist,twistd}
%files help %files help
%{_mandir}/man1/{cftp.1*,ckeygen.1*,conch.1*,mailmail.1*,pyhtmlizer.1*,tkconch.1*,trial.1*,twistd.1*} %{_mandir}/man1/{cftp.1*,ckeygen.1*,conch.1*,mailmail.1*,pyhtmlizer.1*,tkconch.1*,trial.1*,twistd.1*}
%changelog %changelog
* Mon May 09 2022 xu_ping <xuping33@h-partners.com> - 18.9.0-7
- fix build error caused by python3.10 wildcard
* Tue Aug 17 2021 liwu <liwu13@huawei.com> - 18.9.0-6 * Tue Aug 17 2021 liwu <liwu13@huawei.com> - 18.9.0-6
- fix CVE-2019-12855 - fix CVE-2019-12855