remove requirement for python-Imaging [release 0.16-4mamba;Sun Nov 29 2020]
This commit is contained in:
parent
a29548642b
commit
e7a4326a51
@ -1,6 +1,6 @@
|
||||
Name: python-docutils
|
||||
Version: 0.16
|
||||
Release: 2mamba
|
||||
Release: 4mamba
|
||||
Summary: Python Documentation Utilities
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
@ -14,7 +14,6 @@ BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python >= %python_version
|
||||
Requires: python-Imaging
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
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.
|
||||
It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%if "%?with_pyver"
|
||||
%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
|
||||
|
||||
%prep
|
||||
@ -65,6 +85,12 @@ rm -f licenses/docutils.conf
|
||||
%doc *.txt licenses docs tools/editors
|
||||
|
||||
%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
|
||||
- binaries default to py3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user