diff --git a/oslo.privsep-1.29.2.tar.gz b/oslo.privsep-1.29.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..92e8b7496fde659d6a3472f10bfbfaf29b7dafa3 Binary files /dev/null and b/oslo.privsep-1.29.2.tar.gz differ diff --git a/oslo.privsep-2.4.0.tar.gz b/oslo.privsep-2.4.0.tar.gz deleted file mode 100644 index 3e090bb8f15b1e81875a5f38535c52e48fd888d0..0000000000000000000000000000000000000000 Binary files a/oslo.privsep-2.4.0.tar.gz and /dev/null differ diff --git a/python-oslo.privsep.spec b/python-oslo-privsep.spec similarity index 39% rename from python-oslo.privsep.spec rename to python-oslo-privsep.spec index 4aa12742d692ab53db36717d5d4e68bce246cd79..473ef72b1f19758d2062bbd536f09af7ec7ccc33 100644 --- a/python-oslo.privsep.spec +++ b/python-oslo-privsep.spec @@ -1,48 +1,75 @@ %global _empty_manifest_terminate_build 0 +%global __requires_exclude .*eventlet.* Name: python-oslo-privsep -Version: 2.4.0 -Release: 2 +Version: 1.29.2 +Release: 3 Summary: OpenStack library for privilege separation License: Apache-2.0 -URL: https://opendev.org/openstack/oslo.privsep -Source0: https://files.pythonhosted.org/packages/97/c5/491c2701dc693dd6b6f2f9c319f5ddb3f52d37a0af9e11f598bfb1e643aa/oslo.privsep-2.4.0.tar.gz +URL: https://docs.openstack.org/oslo.privsep/latest/ +Source0: https://files.pythonhosted.org/packages/64/2d/f31a1340cc68d79ec95dbbe892f88f1932455a8bd98ac39556cb5f280d27/oslo.privsep-1.29.2.tar.gz BuildArch: noarch - -Requires: python3-cffi -Requires: python3-eventlet -Requires: python3-greenlet -Requires: python3-msgpack - %description +============ +oslo.privsep +============ OpenStack library for privilege separation +This library helps applications perform actions which require more or +less privileges than they were started with in a safe, easy to code +and easy to use manner. For more information on why this is generally +a good idea please read over the `principle of least privilege`_ and +the `specification`_ which created this library. -%package -n python3-oslo-privsep +%package -n python2-oslo-privsep Summary: OpenStack library for privilege separation -Provides: python-oslo-privsep -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-oslo-privsep +Provides: python2-oslo-privsep +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pbr +Requires: python2-oslo-log +Requires: python2-oslo-i18n +Requires: python2-oslo-config +Requires: python2-oslo-utils +Requires: python2-cffi +Requires: python2-eventlet +Requires: python2-greenlet +Requires: python2-msgpack +Requires: python2-enum34 +%description -n python2-oslo-privsep +============ +oslo.privsep +============ OpenStack library for privilege separation +This library helps applications perform actions which require more or +less privileges than they were started with in a safe, easy to code +and easy to use manner. For more information on why this is generally +a good idea please read over the `principle of least privilege`_ and +the `specification`_ which created this library. %package help Summary: Development documents and examples for oslo.privsep -Provides: python3-oslo-privsep-doc +Provides: python2-oslo-privsep-doc %description help +============ +oslo.privsep +============ OpenStack library for privilege separation +This library helps applications perform actions which require more or +less privileges than they were started with in a safe, easy to code +and easy to use manner. For more information on why this is generally +a good idea please read over the `principle of least privilege`_ and +the `specification`_ which created this library. %prep -%autosetup -n oslo.privsep-2.4.0 +%autosetup -n oslo.privsep-1.29.2 %build -%py3_build +%py2_build %install -%py3_install +%py2_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -69,14 +96,16 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-oslo-privsep -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-oslo-privsep -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Sat Jan 30 2021 zhangy -- Add buildrequires -* Fri Jan 08 2021 Python_Bot +* Mon May 31 2021 wangxiyuan +- Add pbr build require +* Mon May 31 2021 wangxiyuan +- Remove eventlet version limit +* Fri May 07 2021 OpenStack_SIG - Package Spec generated