2021-07-20 10:48:30 +08:00
|
|
|
|
Name: python-sphobjinv
|
2022-12-07 11:24:58 +08:00
|
|
|
|
Version: 2.3.1
|
|
|
|
|
|
Release: 1
|
2021-07-20 10:48:30 +08:00
|
|
|
|
Summary: Sphinx objects.inv inspection/manipulation tool
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
|
URL: https://github.com/bskinn/sphobjinv
|
2022-12-07 11:24:58 +08:00
|
|
|
|
Source0: https://github.com/bskinn/sphobjinv/archive/refs/tags/v2.3.1.tar.gz
|
2021-07-20 10:48:30 +08:00
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
The syntax required for a functional Sphinx cross-reference is highly
|
|
|
|
|
|
non-obvious in many cases. Sometimes Sphinx can guess correctly what
|
|
|
|
|
|
you mean, but it’s pretty hit-or-miss. The best approach is to provide
|
|
|
|
|
|
Sphinx with a completely specified cross-reference, and that’s where
|
|
|
|
|
|
sphobjinv comes in.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-sphobjinv
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
BuildRequires: python3-setuptools
|
2022-12-07 11:24:58 +08:00
|
|
|
|
BuildRequires: python3-jsonschema
|
|
|
|
|
|
BuildRequires: python3-certifi
|
2021-07-20 10:48:30 +08:00
|
|
|
|
%{?python_provide:%python_provide python3-sphobjinv}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-sphobjinv
|
|
|
|
|
|
The syntax required for a functional Sphinx cross-reference is highly
|
|
|
|
|
|
non-obvious in many cases. Sometimes Sphinx can guess correctly what
|
|
|
|
|
|
you mean, but it’s pretty hit-or-miss. The best approach is to provide
|
|
|
|
|
|
Sphinx with a completely specified cross-reference, and that’s where
|
|
|
|
|
|
sphobjinv comes in.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-12-07 11:24:58 +08:00
|
|
|
|
%autosetup -n sphobjinv-2.3.1
|
2021-07-20 10:48:30 +08:00
|
|
|
|
rm -rf sphobjinv.egg-info
|
|
|
|
|
|
sed -i "s|\r||g" README.rst
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-sphobjinv
|
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
%doc README.rst
|
|
|
|
|
|
%{_bindir}/sphobjinv
|
|
|
|
|
|
%{python3_sitelib}/sphobjinv/
|
2022-12-07 11:24:58 +08:00
|
|
|
|
%{python3_sitelib}/sphobjinv-2.3.1-py*.egg-info/
|
2021-07-20 10:48:30 +08:00
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-12-07 11:24:58 +08:00
|
|
|
|
* Wed Dec 07 2022 chendexi <chendexi@kylinos.cn> - 2.3.1-1
|
|
|
|
|
|
- Upgrade package to version 2.3.1
|
|
|
|
|
|
|
2022-08-09 20:00:30 +08:00
|
|
|
|
* Tue Aug 9 2022 caodongxia <caodongxia@h-partners.com> - 2.1.0-2
|
|
|
|
|
|
- Fix build failure
|
|
|
|
|
|
|
2021-07-20 10:48:30 +08:00
|
|
|
|
* Thu Jul 08 2021 xuyonghui <xuyonghui@kylinos.cn> - 2.1.0-1
|
|
|
|
|
|
- Package init
|