remove requirement for python-Imaging [release 0.16-4mamba;Sun Nov 29 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 11:05:50 +01:00
parent a29548642b
commit e7a4326a51

View File

@ -1,6 +1,6 @@
Name: python-docutils Name: python-docutils
Version: 0.16 Version: 0.16
Release: 2mamba Release: 4mamba
Summary: Python Documentation Utilities Summary: Python Documentation Utilities
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -14,7 +14,6 @@ BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-setuptools BuildRequires: python-setuptools
Requires: python >= %python_version Requires: python >= %python_version
Requires: python-Imaging
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch BuildArch: noarch
@ -22,8 +21,29 @@ BuildArch: noarch
Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX. Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX.
It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language. It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language.
%if 0%{?with_pyver} %if "%?with_pyver"
%pyver_package %define pyver %{with_pyver}
%define pyappend py%{with_pyver}
%define __python %(rpm --eval %{__python%{with_pyver}})
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
%define python_version %(rpm --eval %{python%{with_pyver}_version})
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
%package py%{pyver}
Group: System/Libraries/Python
Summary: %{summary}.
%if "%?with_pyver" == "3"
Provides: python-docutils
Obsoletes: python-docutils
%endif
%py_requires
%description py%{pyver}
%{summary}.
%endif %endif
%prep %prep
@ -65,6 +85,12 @@ rm -f licenses/docutils.conf
%doc *.txt licenses docs tools/editors %doc *.txt licenses docs tools/editors
%changelog %changelog
* Sun Nov 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-4mamba
- remove requirement for python-Imaging
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-3mamba
- python-docutils-py3: obsolete python-docutils
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-2mamba * Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-2mamba
- binaries default to py3 - binaries default to py3