Accepting request 1084490 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1084490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ply?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2023-05-05 13:56:45 +00:00 committed by Git OBS Bridge
commit 6c128c0d6b
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 23 23:14:24 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Move documentation into main package for SLE15
-------------------------------------------------------------------
Fri Apr 21 12:29:32 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-ply
Version: 3.11
@ -44,6 +43,7 @@ productions, precedence rules, error recovery, and support for ambiguous grammar
PLY provides extensive error checking.
It is compatible with both Python 2 and Python 3.
%if 0%{?suse_version} > 1500
%package -n %{name}-doc
Summary: Python Lex & Yacc
License: LGPL-2.1-or-later
@ -59,6 +59,7 @@ productions, precedence rules, error recovery, and support for ambiguous grammar
PLY provides extensive error checking.
It is compatible with both Python 2 and Python 3.
%endif
%prep
%setup -q -n ply-%{version}
@ -93,7 +94,9 @@ popd
%doc ANNOUNCE CHANGES README.md TODO
%{python_sitelib}/*
%if 0%{?suse_version} > 1500
%files -n %{name}-doc
%endif
%doc doc/
%doc example/