This commit is contained in:
Thomas Moschny 2017-08-30 19:33:51 +02:00
parent 714392a00d
commit 68e18cdb5a

View File

@ -7,7 +7,7 @@
Name: python-%{pkgname}
Version: 2.6.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Markdown implementation in Python
License: BSD
URL: https://pythonhosted.org/%{srcname}/
@ -25,7 +25,11 @@ there are a few known issues.
Summary: Markdown implementation in Python
BuildRequires: python2-devel
BuildRequires: python2-nose
%if ! 0%{?rhel}
BuildRequires: python2-yaml
%else
BuildRequires: python-yaml
%endif
%{?python_provide:%python_provide python2-%{pkgname}}
%description -n python2-%{pkgname}
@ -37,9 +41,9 @@ there are a few known issues.
%if 0%{?with_python3}
%package -n python%{python3_pkgversion}-%{pkgname}
Summary: Markdown implementation in Python
BuildRequires: python3-devel
BuildRequires: python3-nose
BuildRequires: python3-PyYAML
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-nose
BuildRequires: python%{python3_pkgversion}-PyYAML
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%description -n python%{python3_pkgversion}-%{pkgname}
@ -146,6 +150,9 @@ popd
%changelog
* Wed Aug 30 2017 Thomas Moschny <thomas.moschny@gmx.de> - 2.6.9-2
- Fix BRs.
* Wed Aug 30 2017 Thomas Moschny <thomas.moschny@gmx.de> - 2.6.9-1
- Update to 2.6.9.
- Allow building a python3 subpackage on EPEL7+.