Reorder %package stanzas so %_summary is not necessary
This commit is contained in:
parent
8a92544d1b
commit
59f4a818c2
@ -1,5 +1,4 @@
|
||||
%global srcname pyparsing
|
||||
%global _summary Python package with an object-oriented approach to text processing
|
||||
|
||||
# when bootstrapping Python 3, pyparsing needs to be rebuilt before depndency generator is available
|
||||
%bcond_with bootstrap
|
||||
@ -9,7 +8,7 @@
|
||||
%endif
|
||||
|
||||
|
||||
Summary: %{_summary}
|
||||
Summary: Python package with an object-oriented approach to text processing
|
||||
Name: pyparsing
|
||||
Version: 2.4.7
|
||||
Release: %autorelease
|
||||
@ -42,25 +41,8 @@ pyparsing is a module that can be used to easily and directly configure syntax
|
||||
definitions for any number of text parsing applications.
|
||||
|
||||
|
||||
%if %{without bootstrap}
|
||||
%package doc
|
||||
Summary: Documentation for pyparsing python package
|
||||
|
||||
# Most examples are under the project's license, MIT
|
||||
# pymicko.py is under GPLv3+
|
||||
# snmp_api.h is under CMU-UC (MIT)
|
||||
# sparser.py is under GPLv2+
|
||||
# searchparser.py is under BSD (3-clause, with advertising)
|
||||
# btpyparse.py is under "Simplified BSD license"
|
||||
License: MIT and GPLv2+ and GPLv3+ and BSD
|
||||
|
||||
%description doc
|
||||
The package contains documentation for pyparsing.
|
||||
%endif
|
||||
|
||||
|
||||
%package -n python%{python3_pkgversion}-pyparsing
|
||||
Summary: %{_summary}
|
||||
Summary: %{summary}
|
||||
%if %{with bootstrap}
|
||||
Provides: python%{python3_pkgversion}dist(pyparsing) = %{version}
|
||||
Provides: python%{python3_version}dist(pyparsing) = %{version}
|
||||
@ -73,7 +55,22 @@ Requires: python(abi) = %{python3_version}
|
||||
pyparsing is a module that can be used to easily and directly configure syntax
|
||||
definitions for any number of text parsing applications.
|
||||
|
||||
This is the Python 3 version.
|
||||
|
||||
%if %{without bootstrap}
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
|
||||
# Most examples are under the project's license, MIT
|
||||
# pymicko.py is under GPLv3+
|
||||
# snmp_api.h is under CMU-UC (MIT)
|
||||
# sparser.py is under GPLv2+
|
||||
# searchparser.py is under BSD (3-clause, with advertising)
|
||||
# btpyparse.py is under "Simplified BSD license"
|
||||
License: MIT and GPLv2+ and GPLv3+ and BSD
|
||||
|
||||
%description doc
|
||||
The package contains documentation for pyparsing.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
|
Loading…
Reference in New Issue
Block a user