update python-paste-deploy.spec.

This commit is contained in:
Markeryang 2020-08-24 15:19:09 +08:00 committed by Gitee
parent 6e0e3eb978
commit fea2545c16

View File

@ -7,7 +7,7 @@ URL: http://pythonpaste.org/deploy
Source0: http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz Source0: http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python2-devel > 2.4, python2-setuptools, python3-devel, python3-setuptools BuildRequires: python3-devel, python3-setuptools
%description %description
This tool provides code to load WSGI applications and servers This tool provides code to load WSGI applications and servers
@ -15,17 +15,6 @@ from URIs; these URIs can refer to Python Eggs for INI-style
configuration files. PasteScript provides commands to serve configuration files. PasteScript provides commands to serve
applications based on this configuration file. applications based on this configuration file.
%package -n python2-paste-deploy
%{?python_provide:%python_provide python2-paste-deploy}
Summary: Load, configure, and compose WSGI applications and servers
Requires: python2-paste, python2-setuptools
%description -n python2-paste-deploy
This tool provides code to load WSGI applications and servers
from URIs; these URIs can refer to Python Eggs for INI-style
configuration files. PasteScript provides commands to serve
applications based on this configuration file.
%package -n python3-paste-deploy %package -n python3-paste-deploy
%{?python_provide:%python_provide python3-paste-deploy} %{?python_provide:%python_provide python3-paste-deploy}
Summary: Load, configure, and compose WSGI applications and servers Summary: Load, configure, and compose WSGI applications and servers
@ -43,18 +32,11 @@ rm -rf *.egg-info
mv docs/license.txt license.txt mv docs/license.txt license.txt
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
%files -n python2-paste-deploy
%license license.txt
%doc docs/*
%{python2_sitelib}/*
%files -n python3-paste-deploy %files -n python3-paste-deploy
%license license.txt %license license.txt
%doc docs/* %doc docs/*