Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
b3c23500f0
commit
ca96cca023
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-mako
|
Name: python-mako
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# Mostly MIT, but _ast_util.py is Python licensed.
|
# Mostly MIT, but _ast_util.py is Python licensed.
|
||||||
@ -19,11 +19,11 @@ Source0: https://bitbucket.org/zzzeek/mako/get/rel_%(echo %{version} | sed "s/\.
|
|||||||
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-pytest
|
BuildRequires: python2-pytest
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python2-setuptools
|
||||||
BuildRequires: python-markupsafe
|
BuildRequires: python2-markupsafe
|
||||||
BuildRequires: python-beaker
|
BuildRequires: python2-beaker
|
||||||
BuildRequires: python-nose
|
BuildRequires: python2-nose
|
||||||
BuildRequires: python-mock
|
BuildRequires: python2-mock
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -49,8 +49,8 @@ calling and scoping semantics.
|
|||||||
|
|
||||||
%package -n python2-mako
|
%package -n python2-mako
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
Requires: python-markupsafe
|
Requires: python2-markupsafe
|
||||||
Requires: python-beaker
|
Requires: python2-beaker
|
||||||
%{?python_provide:%python_provide python2-mako}
|
%{?python_provide:%python_provide python2-mako}
|
||||||
|
|
||||||
%description -n python2-mako %_description
|
%description -n python2-mako %_description
|
||||||
@ -59,7 +59,7 @@ Requires: python-beaker
|
|||||||
Summary: Documentation for the Mako template library for Python
|
Summary: Documentation for the Mako template library for Python
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
License: (MIT and Python) and (BSD or GPLv2)
|
License: (MIT and Python) and (BSD or GPLv2)
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: python2-mako = %{version}-%{release}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Mako is a template library written in Python. It provides a familiar, non-XML
|
Mako is a template library written in Python. It provides a familiar, non-XML
|
||||||
@ -161,6 +161,10 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.6-8
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-7
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user