Convert from Fedora for the Python 3.14 stack in RHEL
Fedora contributions by:
Gwyn Ciesla <limb@fedoraproject.org>
Jerry James <loganjerry@gmail.com>
Lumir Balhar <lbalhar@redhat.com>
Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
parent
0039a02701
commit
72a55955e7
33
changelog
33
changelog
@ -1,33 +0,0 @@
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 11 2023 Miro Hrončok <mhroncok@redhat.com> - 0.7.1-3
|
||||
- Drop an unused build requirement on pytest-cov
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.7.1-2
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Thu Feb 23 2023 Jerry James <loganjerry@gmail.com> - 0.7.1-1
|
||||
- Dynamically generate BuildRequires
|
||||
|
||||
* Mon Jan 30 2023 Jerry James <loganjerry@gmail.com> - 0.7.1-1
|
||||
- Version 0.7.1
|
||||
- Drop packaging workaround, resolved upstream
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jan 18 2023 Jerry James <loganjerry@gmail.com> - 0.7.0-2
|
||||
- Work around FTI due to version of packaging (rhbz#2161981)
|
||||
|
||||
* Tue Jan 17 2023 Jerry James <loganjerry@gmail.com> - 0.7.0-1
|
||||
- Version 0.7.0
|
||||
|
||||
* Tue Jul 26 2022 Jerry James <loganjerry@gmail.com> - 0.6.1-1
|
||||
- Initial RPM, obsoleting python-pep621
|
||||
@ -1,9 +1,11 @@
|
||||
%global python3_pkgversion 3.14
|
||||
|
||||
# Building the documentation requires the furo Sphinx theme. But building furo
|
||||
# requires sphinx_theme_builder, which requires this package. Avoid a
|
||||
# dependency loop with this conditional.
|
||||
%bcond doc 0
|
||||
|
||||
Name: python-pyproject-metadata
|
||||
Name: python%{python3_pkgversion}-pyproject-metadata
|
||||
Version: 0.9.1
|
||||
Release: %autorelease
|
||||
Summary: PEP 621 metadata parsing
|
||||
@ -15,8 +17,7 @@ Source: %{url}/archive/%{version}/pyproject-metadata-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: %{py3_dist sphinx}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
|
||||
%global _desc %{expand:
|
||||
Dataclass for PEP 621 metadata with support for core metadata generation.
|
||||
@ -28,23 +29,10 @@ generate a PEP 643-compliant metadata file (e.g. PKG-INFO).}
|
||||
|
||||
%description %_desc
|
||||
|
||||
%package -n python3-pyproject-metadata
|
||||
Summary: PEP 621 metadata parsing
|
||||
|
||||
# This can be removed when F40 reaches EOL
|
||||
Obsoletes: python3-pep621 < 0.5
|
||||
Provides: python3-pep621 = %{version}-%{release}
|
||||
|
||||
%description -n python3-pyproject-metadata %_desc
|
||||
|
||||
%if %{with doc}
|
||||
%package doc
|
||||
Summary: Documentation for python3-pyproject-metadata
|
||||
|
||||
# This can be removed when F40 reaches EOL
|
||||
Obsoletes: python3-pep621-doc < 0.5
|
||||
Provides: python3-pep621-doc = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Documentation for python3-pyproject-metadata.
|
||||
%endif
|
||||
@ -75,7 +63,7 @@ rm -rf html/{.buildinfo,.doctrees}
|
||||
%check
|
||||
%pytest -v
|
||||
|
||||
%files -n python3-pyproject-metadata -f %{pyproject_files}
|
||||
%files -n python%{python3_pkgversion}-pyproject-metadata -f %{pyproject_files}
|
||||
%doc docs/changelog.md README.md
|
||||
%license LICENSE
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user