Blame SPECS/python-pkginfo.spec

36f308
%global pypi_name pkginfo
36f308
36f308
%global common_description %{expand:
36f308
This package provides an API for querying the distutils metadata written in the
36f308
PKG-INFO file inside a source distribution (an sdist) or a binary distribution
36f308
(e.g., created by running bdist_egg). It can also query the EGG-INFO directory
36f308
of an installed distribution, and the *.egg-info stored in a "development
36f308
checkout" (e.g, created by running setup.py develop).}
36f308
36f308
Name:           python-%{pypi_name}
36f308
Summary:        Query metadata from sdists / bdists / installed packages
36f308
Version:        1.12.0
36f308
Release:        2%{?dist}
36f308
License:        MIT
36f308
36f308
URL:            https://pypi.python.org/pypi/%{pypi_name}
36f308
Source0:        %{pypi_source}
36f308
BuildArch:      noarch
36f308
36f308
BuildRequires:  python3-devel
36f308
BuildRequires:  python3-setuptools
36f308
BuildRequires:  python3dist(pytest)
36f308
BuildRequires:  python3dist(sphinx)
36f308
BuildRequires:  python3dist(wheel)
36f308
36f308
%description %{common_description}
36f308
36f308
36f308
%package -n python3-%{pypi_name}
36f308
Summary:        Query metadata from sdists / bdists / installed packages
36f308
Requires:       python3-setuptools
36f308
%{?python_provide:%python_provide python3-%{pypi_name}}
36f308
36f308
%description -n python3-%{pypi_name} %{common_description}
36f308
36f308
36f308
%package        doc
36f308
Summary:        Documentation for python-%{pypi_name}
36f308
36f308
%description    doc %{common_description}
36f308
This package contains the documentation.
36f308
36f308
36f308
%prep
36f308
%autosetup -n %{pypi_name}-%{version} -p1
36f308
36f308
# don't ship internal test subpackage
36f308
sed -i "s/, 'pkginfo.tests'//g" setup.py
36f308
36f308
# Remove bundled egg-info
36f308
rm -rf %{pypi_name}.egg-info
36f308
36f308
36f308
%build
36f308
%py3_build
36f308
36f308
# generate html docs
36f308
PYTHONPATH=${PWD} sphinx-build-3 docs html
36f308
36f308
# remove the sphinx-build leftovers
36f308
rm -rf html/.{doctrees,buildinfo}
36f308
36f308
36f308
%install
36f308
%py3_install
36f308
36f308
36f308
%check
36f308
%pytest
36f308
36f308
36f308
%files -n python3-%{pypi_name}
36f308
%license LICENSE.txt
36f308
%doc README.txt CHANGES.txt
36f308
36f308
%{_bindir}/pkginfo
36f308
36f308
%{python3_sitelib}/%{pypi_name}/
36f308
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
36f308
36f308
%files -n python-%{pypi_name}-doc
36f308
%license LICENSE.txt
36f308
%doc html
36f308
36f308
36f308
%changelog
36f308
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
36f308
36f308
* Tue Dec 17 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.12.0-1
36f308
- Update to 1.12.0
36f308
36f308
* Fri Oct 11 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.11.2-1
36f308
- Update to 1.11.2
36f308
- Fixes: rhbz#2284155
36f308
- Fixes: rhbz#2317881
36f308
36f308
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
36f308
36f308
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.10.0-2
36f308
- Rebuilt for Python 3.13
36f308
36f308
* Tue Mar 12 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.10.0-1
36f308
- Update to 1.10.0
36f308
- Fixes: rhbz#2267537
36f308
36f308
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-5
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
36f308
36f308
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-4
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
36f308
36f308
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-3
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
36f308
36f308
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.9.6-2
36f308
- Rebuilt for Python 3.12
36f308
36f308
* Wed Jan 25 2023 Fabian Affolter <mail@fabian-affolter.ch> - 1.9.6-4
36f308
- Update to latest upstream release 1.9.6 (closes rhbz#2157943)
36f308
36f308
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-2
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
36f308
36f308
* Thu Dec 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.9.2-1
36f308
- Update to 1.9.2
36f308
- Fixes: rhbz#2149410
36f308
36f308
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-2
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
36f308
36f308
* Thu Jun 30 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.8.3-1
36f308
- Update to 1.8.3
36f308
- Fixes rhbz#2094970
36f308
36f308
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.8.2-4
36f308
- Rebuilt for Python 3.11
36f308
36f308
* Mon Apr 25 2022 Major Hayden <major@mhtx.net> - 1.8.2-3
36f308
- Replace nose with pytest for easier EPEL 9 backports.
36f308
36f308
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
36f308
36f308
* Tue Nov 30 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.8.2-1
36f308
- Update to 1.8.2
36f308
36f308
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
36f308
36f308
* Wed Jul 14 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.7.1-1
36f308
- Update to 1.7.1
36f308
- Fixes rhbz#1889797
36f308
36f308
* Wed Jun 23 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.7.0-1
36f308
- Update to 1.7.0
36f308
- patch to add compatibility with Sphinx 4
36f308
- Fixes rhbz#1977625
36f308
- Fixes rhbz#1889797
36f308
36f308
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5.0.1-8
36f308
- Rebuilt for Python 3.10
36f308
36f308
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.1-7
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
36f308
36f308
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.1-6
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
36f308
36f308
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.0.1-5
36f308
- Revert previous changes
36f308
36f308
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.0.1-4
36f308
- Add python3-setuptools as BR
36f308
36f308
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.0.1-3
36f308
- Rebuilt for Python 3.9
36f308
36f308
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.1-2
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
36f308
36f308
* Tue Sep 24 2019 Fabio Valentini <decathorpe@gmail.com> - 1.5.0.1-1
36f308
- Update to version 1.5.0.1.
36f308
36f308
* Mon Sep 23 2019 Fabio Valentini <decathorpe@gmail.com> - 1.4.2-7
36f308
- Drop python2-pkginfo and versioned symlinks for the binary.
36f308
36f308
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-6
36f308
- Rebuilt for Python 3.8
36f308
36f308
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
36f308
36f308
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
36f308
36f308
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
36f308
36f308
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-2
36f308
- Rebuilt for Python 3.7
36f308
36f308
* Sat Mar 24 2018 Jeremy Cline <jeremy@jcline.org> - 1.4.2-1
36f308
- Update to latest upstream
36f308
- License change to MIT
36f308
36f308
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-7
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
36f308
36f308
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-6
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
36f308
36f308
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-5
36f308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
36f308
36f308
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-4
36f308
- Rebuild for Python 3.6
36f308
36f308
* Wed Jul 20 2016 Jeremy Cline <jeremy@jcline.org> - 1.3.2-3
36f308
- Remove hard-coded Python y release versions in /usr/bin entries
36f308
36f308
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
36f308
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
36f308
36f308
* Thu Jun 09 2016 Jeremy Cline <jeremy@jcline.org> - 1.3.2-1
36f308
- Initial commit