rebuilt with py36 target [release 0.14-2mamba;Thu May 16 2019]
This commit is contained in:
parent
2fc3ec8594
commit
200cbbaa61
@ -1,19 +1,19 @@
|
|||||||
Name: python-docutils
|
Name: python-docutils
|
||||||
Version: 0.14
|
Version: 0.14
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Python Documentation Utilities
|
Summary: Python Documentation Utilities
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||||
URL: http://docutils.sourceforge.net/
|
URL: http://docutils.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz
|
Source: https://pypi.debian.net/docutils/docutils-%{version}.tar.gz
|
||||||
License: Python, BSD, GPL, public domain
|
License: Python, BSD, GPL, public domain
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython27-devel
|
BuildRequires: libpython27-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
Requires: python27 >= %python27_version
|
Requires: python >= %python_version
|
||||||
Requires: python-Imaging
|
Requires: python-Imaging
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -22,26 +22,30 @@ 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}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n docutils-%{version}
|
%setup -q -n docutils-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python27} setup.py build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python27} setup.py install \
|
%{__python} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python%{python27_version} \
|
--install-headers=%{_includedir}/python%{python_version} \
|
||||||
--install-lib=%{python27_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "\,^%{_bindir},d" %{name}.filelist
|
sed -i "\,^%{_bindir},d" %{name}.filelist
|
||||||
|
|
||||||
# remove .py extension for executable
|
# remove .py extension for executable
|
||||||
for file in %{buildroot}%{_bindir}/*.py; do
|
for file in %{buildroot}%{_bindir}/*.py; do
|
||||||
mv $file %{buildroot}%{_bindir}/$(basename $file .py)
|
mv $file %{buildroot}%{_bindir}/$(basename $file .py)%{?pyappend:-%pyappend}
|
||||||
done
|
done
|
||||||
|
|
||||||
# remove no license file
|
# remove no license file
|
||||||
@ -50,13 +54,16 @@ rm -f licenses/docutils.conf
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/rst*
|
%{_bindir}/rst*
|
||||||
%dir %{python27_sitearch}/docutils
|
%dir %{python_sitearch}/docutils
|
||||||
%doc *.txt licenses docs tools/editors
|
%doc *.txt licenses docs tools/editors
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14-2mamba
|
||||||
|
- rebuilt with py36 target
|
||||||
|
|
||||||
* Sun Aug 20 2017 Automatic Build System <autodist@mambasoft.it> 0.14-1mamba
|
* Sun Aug 20 2017 Automatic Build System <autodist@mambasoft.it> 0.14-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user