remove python2-paste subpackage
This commit is contained in:
parent
85a6fe3248
commit
908d4ca6e5
@ -1,6 +1,6 @@
|
|||||||
Name: python-paste
|
Name: python-paste
|
||||||
Version: 2.0.3
|
Version: 2.0.3
|
||||||
Release: 11
|
Release: 12
|
||||||
Summary: Tools for using a Web Server Gateway Interface stack
|
Summary: Tools for using a Web Server Gateway Interface stack
|
||||||
|
|
||||||
License: MIT and ZPLv2.0 and Python and (AFL or MIT) and (MIT or ASL 2.0)
|
License: MIT and ZPLv2.0 and Python and (AFL or MIT) and (MIT or ASL 2.0)
|
||||||
@ -10,8 +10,7 @@ Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{v
|
|||||||
Patch0: python37.patch
|
Patch0: python37.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-pyOpenSSL python2-tempita python2-devel python2-setuptools
|
BuildRequires: python3-devel python3-nose
|
||||||
BuildRequires: python2-six python2-nose python3-devel python3-nose
|
|
||||||
BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita
|
BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -19,19 +18,6 @@ Paste provides several pieces of "middleware" (or filters) that can be nested
|
|||||||
to build web applications. Each piece of middleware uses the WSGI (PEP 333)
|
to build web applications. Each piece of middleware uses the WSGI (PEP 333)
|
||||||
interface, and should be compatible with other middleware based on those interfaces.
|
interface, and should be compatible with other middleware based on those interfaces.
|
||||||
|
|
||||||
%package -n python2-paste
|
|
||||||
Summary: Tools for using a Web Server Gateway Interface stack
|
|
||||||
|
|
||||||
%{?python_provide:%python_provide python2-paste}
|
|
||||||
|
|
||||||
Requires: python2-pyOpenSSL python2-tempita
|
|
||||||
Requires: python2-setuptools python2-six
|
|
||||||
|
|
||||||
%description -n python2-paste
|
|
||||||
Paste provides several pieces of "middleware" (or filters) that can be nested
|
|
||||||
to build web applications. Each piece of middleware uses the WSGI (PEP 333)
|
|
||||||
interface, and should be compatible with other middleware based on those interfaces.
|
|
||||||
|
|
||||||
%package -n python3-paste
|
%package -n python3-paste
|
||||||
Summary: Tools for using a Web Server Gateway Interface stack
|
Summary: Tools for using a Web Server Gateway Interface stack
|
||||||
|
|
||||||
@ -57,38 +43,15 @@ pushd docs
|
|||||||
rm StyleGuide.txt
|
rm StyleGuide.txt
|
||||||
popd
|
popd
|
||||||
|
|
||||||
rm -rf %{py3dir}
|
|
||||||
cp -a . %{py3dir}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python2} setup.py build
|
|
||||||
|
|
||||||
pushd %{py3dir}
|
|
||||||
%{__python3} setup.py build
|
%{__python3} setup.py build
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
||||||
|
|
||||||
pushd %{py3dir}
|
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||||
popd
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
#export PYTHONPATH=$(pwd)
|
#export PYTHONPATH=$(pwd)
|
||||||
#nosetests-%{python2_version} -e '.*test_paste_website'
|
|
||||||
|
|
||||||
#pushd %{py3dir}
|
|
||||||
#export PYTHONPATH=$(pwd)
|
|
||||||
#nosetests-%{python3_version} -e '.*test_paste_website'
|
#nosetests-%{python3_version} -e '.*test_paste_website'
|
||||||
#popd
|
|
||||||
|
|
||||||
%files -n python2-paste
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%license docs/license.txt
|
|
||||||
%{python2_sitelib}/paste
|
|
||||||
%{python2_sitelib}/Paste-%{version}-py%{python2_version}.egg-info
|
|
||||||
%{python2_sitelib}/Paste-%{version}-py%{python2_version}-nspkg.pth
|
|
||||||
|
|
||||||
%files -n python3-paste
|
%files -n python3-paste
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -102,6 +65,9 @@ popd
|
|||||||
%doc docs/*
|
%doc docs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 30 2020 jinzhimin <jinzhimin2@huawei.com> - 2.0.3-12
|
||||||
|
- remove python2-paste subpackage
|
||||||
|
|
||||||
* Wed Jun 24 2020 wangye <wangye70@huawei.com> - 2.0.3-11
|
* Wed Jun 24 2020 wangye <wangye70@huawei.com> - 2.0.3-11
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user