Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/python-ply.git#86e1f7de2617b24b80180bc0795e58ed39c3444f
This commit is contained in:
DistroBaker 2021-02-05 02:11:38 +01:00
parent 887a963260
commit 405e604ade

View File

@ -5,7 +5,7 @@
Name: python-%{modname}
Summary: Python Lex-Yacc
Version: 3.11
Release: 9%{?dist}
Release: 11%{?dist}
License: BSD
URL: http://www.dabeaz.com/ply/
Source0: http://www.dabeaz.com/ply/%{modname}-%{version}.tar.gz
@ -54,6 +54,8 @@ find example/ -type f -name '*.py' -exec sed -i \
-e '1{\@^#!/usr/bin/env python@d}' -e '1{\@^#!/usr/local/bin/python@d}' \
{} ';'
rm -rf *.egg-info
# extract license block from beginning of README.md
grep -B1000 "POSSIBILITY OF SUCH DAMAGE" README.md > LICENSE
%build
%py3_build
@ -72,10 +74,17 @@ popd
%files -n python3-%{modname}
%doc CHANGES README.md
%license LICENSE
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}-*.egg-info/
%changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jan 5 15:25:57 CET 2021 Christian Heimes <cheimes@redhat.com> - 3.11-10
- Extract and ship license file (#1912893)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild