7f0a949
%global pypi_name sphobjinv
7f0a949
7f0a949
Name:           python-%{pypi_name}
7f0a949
Version:        2.0.1
baab9d5
Release:        14%{?dist}
7f0a949
Summary:        Sphinx objects.inv inspection/manipulation tool
7f0a949
7f0a949
License:        MIT
7f0a949
URL:            https://github.com/bskinn/sphobjinv
7f0a949
Source0:        %{pypi_source}
7f0a949
BuildArch:      noarch
7f0a949
7f0a949
%description
7f0a949
The syntax required for a functional Sphinx cross-reference is highly
7f0a949
non-obvious in many cases. Sometimes Sphinx can guess correctly what
7f0a949
you mean, but it’s pretty hit-or-miss. The best approach is to provide
7f0a949
Sphinx with a completely specified cross-reference, and that’s where
7f0a949
sphobjinv comes in.
7f0a949
7f0a949
%package -n     python3-%{pypi_name}
7f0a949
Summary:        %{summary}
7f0a949
7f0a949
BuildRequires:  python3-devel
7f0a949
BuildRequires:  python3-setuptools
7f0a949
%{?python_provide:%python_provide python3-%{pypi_name}}
7f0a949
7f0a949
%description -n python3-%{pypi_name}
7f0a949
The syntax required for a functional Sphinx cross-reference is highly
7f0a949
non-obvious in many cases. Sometimes Sphinx can guess correctly what
7f0a949
you mean, but it’s pretty hit-or-miss. The best approach is to provide
7f0a949
Sphinx with a completely specified cross-reference, and that’s where
7f0a949
sphobjinv comes in.
7f0a949
7f0a949
%prep
7f0a949
%autosetup -n %{pypi_name}-%{version}
7f0a949
rm -rf %{pypi_name}.egg-info
7f0a949
sed -i "s|\r||g" README.rst
7f0a949
7f0a949
7f0a949
%build
7f0a949
%py3_build
7f0a949
7f0a949
%install
7f0a949
%py3_install
7f0a949
7f0a949
%files -n python3-%{pypi_name}
7f0a949
%license LICENSE.txt
7f0a949
%doc README.rst
7f0a949
%{_bindir}/sphobjinv
7f0a949
%{python3_sitelib}/%{pypi_name}/
7f0a949
%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info/
7f0a949
7f0a949
%changelog
baab9d5
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-14
baab9d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
baab9d5
1879431
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-13
1879431
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1879431
2bca08b
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-12
2bca08b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2bca08b
d64d65f
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.1-11
d64d65f
- Rebuilt for Python 3.12
d64d65f
c338877
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-10
c338877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
c338877
16e35ac
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-9
16e35ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
16e35ac
4161ea5
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.1-8
4161ea5
- Rebuilt for Python 3.11
4161ea5
d237f5a
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-7
d237f5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
d237f5a
60568c3
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
60568c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
60568c3
6ff82dc
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.1-5
6ff82dc
- Rebuilt for Python 3.10
6ff82dc
86aa502
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
86aa502
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
86aa502
9c69ca6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
9c69ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9c69ca6
03cc6ec
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
03cc6ec
- Rebuilt for Python 3.9
03cc6ec
7f0a949
* Mon Mar 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.1-1
7f0a949
- Initial package for Fedora