Rework packaging to make a python2 package and fix provides
This commit is contained in:
parent
0d75c739f8
commit
909612be3e
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.13.1
|
Version: 0.13.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: System for processing plaintext documentation
|
Summary: System for processing plaintext documentation
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -36,11 +36,24 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python-tools
|
BuildRequires: python-tools
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Docutils project specifies a plaintext markup language, reStructuredText,
|
||||||
|
which is easy to read and quick to write. The project includes a python
|
||||||
|
library to parse rST files and transform them into other useful formats such
|
||||||
|
as HTML, XML, and TeX as well as commandline tools that give the enduser
|
||||||
|
access to this functionality.
|
||||||
|
|
||||||
|
Currently, the library supports parsing rST that is in standalone files and
|
||||||
|
PEPs (Python Enhancement Proposals). Work is underway to parse rST from
|
||||||
|
Python inline documentation modules and packages.
|
||||||
|
|
||||||
|
%package -n python2-%{srcname}
|
||||||
|
Summary: System for processing plaintext documentation for python2
|
||||||
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
Provides: docutils = %{version}-%{release}
|
Provides: docutils = %{version}-%{release}
|
||||||
Obsoletes: docutils < %{version}-%{release}
|
Obsoletes: docutils < %{version}-%{release}
|
||||||
%{?python_provide:%python_provide python2-docutils}
|
|
||||||
|
|
||||||
%description
|
%description -n python2-%{srcname}
|
||||||
The Docutils project specifies a plaintext markup language, reStructuredText,
|
The Docutils project specifies a plaintext markup language, reStructuredText,
|
||||||
which is easy to read and quick to write. The project includes a python
|
which is easy to read and quick to write. The project includes a python
|
||||||
library to parse rST files and transform them into other useful formats such
|
library to parse rST files and transform them into other useful formats such
|
||||||
@ -54,6 +67,7 @@ Python inline documentation modules and packages.
|
|||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
Summary: System for processing plaintext documentation for python3
|
Summary: System for processing plaintext documentation for python3
|
||||||
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
|
||||||
%description -n python3-%{srcname}
|
%description -n python3-%{srcname}
|
||||||
@ -145,7 +159,7 @@ popd
|
|||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files -n python2-%{srcname}
|
||||||
%doc BUGS.txt COPYING.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
%doc BUGS.txt COPYING.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
||||||
%doc THANKS.txt licenses docs tools/editors
|
%doc THANKS.txt licenses docs tools/editors
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -159,6 +173,9 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 29 2017 Kevin Fenzi <kevin@scrye.com> - 0.13.1-2
|
||||||
|
- Rework packaging to make a python2 package and fix provides
|
||||||
|
|
||||||
* Tue Dec 27 2016 Kevin Fenzi <kevin@scrye.com> - 0.13.1-1
|
* Tue Dec 27 2016 Kevin Fenzi <kevin@scrye.com> - 0.13.1-1
|
||||||
- Update to 0.13.1. Fixes bug #1403399
|
- Update to 0.13.1. Fixes bug #1403399
|
||||||
- Provide python2 version. Fixes bug #1399655
|
- Provide python2 version. Fixes bug #1399655
|
||||||
|
Loading…
Reference in New Issue
Block a user