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
|
||||
Version: 1.0.6
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
BuildArch: noarch
|
||||
|
||||
# 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-pytest
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-markupsafe
|
||||
BuildRequires: python-beaker
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-markupsafe
|
||||
BuildRequires: python2-beaker
|
||||
BuildRequires: python2-nose
|
||||
BuildRequires: python2-mock
|
||||
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
@ -49,8 +49,8 @@ calling and scoping semantics.
|
||||
|
||||
%package -n python2-mako
|
||||
Summary: %summary
|
||||
Requires: python-markupsafe
|
||||
Requires: python-beaker
|
||||
Requires: python2-markupsafe
|
||||
Requires: python2-beaker
|
||||
%{?python_provide:%python_provide python2-mako}
|
||||
|
||||
%description -n python2-mako %_description
|
||||
@ -59,7 +59,7 @@ Requires: python-beaker
|
||||
Summary: Documentation for the Mako template library for Python
|
||||
Group: Documentation
|
||||
License: (MIT and Python) and (BSD or GPLv2)
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: python2-mako = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Mako is a template library written in Python. It provides a familiar, non-XML
|
||||
@ -161,6 +161,10 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user