!9 update to version 3.0.1
From: @wang--ge Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
f7d4343dc2
Binary file not shown.
BIN
PasteDeploy-3.0.1.tar.gz
Normal file
BIN
PasteDeploy-3.0.1.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-PasteDeploy
|
Name: python-PasteDeploy
|
||||||
Version: 2.1.1
|
Version: 3.0.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Load, configure, and compose WSGI applications and servers
|
Summary: Load, configure, and compose WSGI applications and servers
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pylonsproject.org/
|
URL: https://pylonsproject.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/3f/98/179626030d6b3f04e4471aae01f1eae7539347fa7bb8f1228ea4ed600054/PasteDeploy-2.1.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/af/8f/1b09eac08a9a77706f30aa530ecf833bc1b3c05c4693eee9e37f91690614/PasteDeploy-3.0.1.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -21,6 +21,7 @@ BuildRequires: python3-pbr
|
|||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-pytest-cov
|
||||||
|
|
||||||
Requires: python3-paste
|
Requires: python3-paste
|
||||||
Requires: python3-sphinx
|
Requires: python3-sphinx
|
||||||
@ -39,9 +40,17 @@ This tool provides code to load WSGI applications and servers from URIs. These U
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n PasteDeploy-%{version}
|
%autosetup -n PasteDeploy-%{version}
|
||||||
|
pushd src
|
||||||
|
echo `pwd` > absolute_prefix.log
|
||||||
|
sed -i 's/\//\\\//g' absolute_prefix.log
|
||||||
|
absolute_prefix=`head -n 1 absolute_prefix.log`
|
||||||
|
popd
|
||||||
|
sed -i '/os.path.dirname(egg_info_dir)/a\sys.path.append('"\'$absolute_prefix\/\'"')' ./tests/__init__.py
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
#cp -r ./src/paste ./tests
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
@ -73,7 +82,7 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pytest
|
pytest .
|
||||||
|
|
||||||
%files -n python3-paste-deploy -f filelist.lst
|
%files -n python3-paste-deploy -f filelist.lst
|
||||||
|
|
||||||
@ -83,6 +92,9 @@ pytest
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 10 2023 Ge Wang <wang--ge@126.com> - 3.0.1-1
|
||||||
|
- update to version 3.0.1
|
||||||
|
|
||||||
* Tue Jul 27 2021 OpenStack_SIG <openstack@openeuler.org> - 2.1.1-1
|
* Tue Jul 27 2021 OpenStack_SIG <openstack@openeuler.org> - 2.1.1-1
|
||||||
- updata to 2.1.1
|
- updata to 2.1.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user