|
|
|
@ -1,16 +1,17 @@
|
|
|
|
|
%global srcname pyparsing
|
|
|
|
|
%global _summary Python package with an object-oriented approach to text processing
|
|
|
|
|
|
|
|
|
|
%global build_wheel 0
|
|
|
|
|
%global build_wheel 1
|
|
|
|
|
|
|
|
|
|
%global python_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
|
|
|
|
|
|
|
|
|
|
# when bootstrapping Python 3, pyparsing needs to be rebuilt before sphinx
|
|
|
|
|
%bcond_with doc
|
|
|
|
|
|
|
|
|
|
Summary: Python package with an object-oriented approach to text processing
|
|
|
|
|
Summary: %{_summary}
|
|
|
|
|
Name: python3x-pyparsing
|
|
|
|
|
Version: 2.4.5
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 2.4.7
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/pyparsing/pyparsing
|
|
|
|
@ -21,13 +22,18 @@ BuildArch: noarch
|
|
|
|
|
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
|
|
|
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
|
|
|
ExcludeArch: i686
|
|
|
|
|
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
|
|
|
|
|
# python3 bootstrap: this is rebuilt before the final build of python3, which
|
|
|
|
|
# adds the dependency on python3-rpm-generators, so we require it manually
|
|
|
|
|
BuildRequires: python3-rpm-generators
|
|
|
|
|
|
|
|
|
|
%if %{with doc}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?build_wheel}
|
|
|
|
@ -50,7 +56,7 @@ The package contains documentation for pyparsing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-pyparsing
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
Summary: %{_summary}
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-pyparsing
|
|
|
|
@ -77,7 +83,7 @@ dos2unix -k CHANGES LICENSE
|
|
|
|
|
pushd docs
|
|
|
|
|
# Theme is not available
|
|
|
|
|
sed -i '/alabaster/d' conf.py
|
|
|
|
|
sphinx-build -b html . html
|
|
|
|
|
sphinx-build-3 -b html . html
|
|
|
|
|
popd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -109,11 +115,30 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 2.4.5-3
|
|
|
|
|
- Exclude unsupported i686 arch
|
|
|
|
|
* Tue Jan 12 2021 Tomas Orsava <torsava@redhat.com> - 2.4.7-5
|
|
|
|
|
- Convert from Fedora to the python39 module in RHEL8
|
|
|
|
|
- Resolves: rhbz#1877430
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 2.4.7-3
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Thu May 21 2020 Miro Hrončok <mhroncok@redhat.com> - 2.4.7-2
|
|
|
|
|
- Bootstrap for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Mon Apr 06 2020 Dan Horák <dan[at]danny.cz> - 2.4.7-1
|
|
|
|
|
- Update to 2.4.7 (#1821085)
|
|
|
|
|
|
|
|
|
|
* Mon Mar 30 2020 David King <amigadave@amigadave.com> - 2.4.6-3
|
|
|
|
|
- Fix the summary for the Python 3 subpackage
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 2.4.5-2
|
|
|
|
|
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
|
|
* Fri Jan 03 2020 Dan Horák <dan[at]danny.cz> - 2.4.6-1
|
|
|
|
|
- Update to 2.4.6 (#1786815)
|
|
|
|
|
|
|
|
|
|
* Fri Nov 15 2019 Dan Horák <dan[at]danny.cz> - 2.4.5-1
|
|
|
|
|
- Update to 2.4.5 (#1768725)
|
|
|
|
|