import python-ply-3.11-10.module+el8.4.0+9579+e9717e18

This commit is contained in:
CentOS Sources 2021-03-30 15:51:14 -04:00 committed by Stepan Oksanichenko
parent 4dbcc194db
commit 3003e7cd47

View File

@ -5,7 +5,7 @@
Name: python-%{modname} Name: python-%{modname}
Summary: Python Lex-Yacc Summary: Python Lex-Yacc
Version: 3.11 Version: 3.11
Release: 8%{?dist} Release: 10%{?dist}
License: BSD License: BSD
URL: http://www.dabeaz.com/ply/ URL: http://www.dabeaz.com/ply/
Source0: http://www.dabeaz.com/ply/%{modname}-%{version}.tar.gz Source0: http://www.dabeaz.com/ply/%{modname}-%{version}.tar.gz
@ -59,6 +59,8 @@ find example/ -type f -name '*.py' -exec sed -i \
-e '1{\@^#!/usr/bin/env python@d}' -e '1{\@^#!/usr/local/bin/python@d}' \ -e '1{\@^#!/usr/bin/env python@d}' -e '1{\@^#!/usr/local/bin/python@d}' \
{} ';' {} ';'
rm -rf *.egg-info rm -rf *.egg-info
# extract license block from beginning of README.md
grep -B1000 "POSSIBILITY OF SUCH DAMAGE" README.md > LICENSE
%build %build
%py3_build %py3_build
@ -77,10 +79,15 @@ popd
%files -n python%{python3_pkgversion}-%{modname} %files -n python%{python3_pkgversion}-%{modname}
%doc CHANGES README.md %doc CHANGES README.md
%license LICENSE
%{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}-*.egg-info/ %{python3_sitelib}/%{modname}-%{version}-*.egg-info/
%changelog %changelog
* Tue Jan 5 15:25:57 CET 2021 Christian Heimes <cheimes@redhat.com> - 3.11-10
- Extract and ship license file (#1912893)
- Resolves: rhbz#1877430
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 3.11-8 * Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 3.11-8
- Exclude unsupported i686 arch - Exclude unsupported i686 arch