diff --git a/cursive-0.2.1.tar.gz b/cursive-0.2.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..97bebdbc071b3deae6052d0d13e3f142177f69a7 Binary files /dev/null and b/cursive-0.2.1.tar.gz differ diff --git a/cursive-0.2.2.tar.gz b/cursive-0.2.2.tar.gz deleted file mode 100644 index 8c3260b3945f18323faf3751f68b6c42032a785f..0000000000000000000000000000000000000000 Binary files a/cursive-0.2.2.tar.gz and /dev/null differ diff --git a/python-cursive.spec b/python-cursive.spec index 5350776a0ccfd11cd9b08cc7756795135601376d..e72b1944c84f2dfea7f1fc68ab0fa4ff194a0851 100644 --- a/python-cursive.spec +++ b/python-cursive.spec @@ -1,44 +1,51 @@ %global _empty_manifest_terminate_build 0 Name: python-cursive -Version: 0.2.2 -Release: 2 +Version: 0.2.1 +Release: 3 Summary: Cursive implements OpenStack-specific validation of digital signatures. -License: Apache Software License +License: Apache-2.0 URL: http://www.openstack.org/ -Source0: https://files.pythonhosted.org/packages/aa/ec/d0e802482530a0b664c910c845cada1e490bc2af568acc0c1ed55c000502/cursive-0.2.2.tar.gz +Source0: https://files.pythonhosted.org/packages/58/03/4852478e9333777b02be2486ae6dbe9dc5e6cb7fa5ede9bb4fe054e0a619/cursive-0.2.1.tar.gz BuildArch: noarch - -Requires: python3-pbr -Requires: python3-cryptography -Requires: python3-castellan - %description +Cursive implements OpenStack-specific validation of digital signatures. -%package -n python3-cursive +%package -n python2-cursive Summary: Cursive implements OpenStack-specific validation of digital signatures. -Provides: python-cursive -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -%description -n python3-cursive +Provides: python2-cursive +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-pbr +Requires: python2-lxml +Requires: python2-cryptography +Requires: python2-netifaces +Requires: python2-six +Requires: python2-oslo-serialization +Requires: python2-oslo-utils +Requires: python2-oslo-i18n +Requires: python2-oslo-log +Requires: python2-castellan +%description -n python2-cursive +Cursive implements OpenStack-specific validation of digital signatures. %package help Summary: Development documents and examples for cursive -Provides: python3-cursive-doc +Provides: python2-cursive-doc %description help +Cursive implements OpenStack-specific validation of digital signatures. %prep -%autosetup -n cursive-0.2.2 +%autosetup -n cursive-0.2.1 %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 @@ -65,14 +72,16 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-cursive -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-cursive -f filelist.lst +%{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Mon Jan 25 2021 zhangy1317 -- Add BuildRequires python3-pip and python3-pbr -* Mon Nov 23 2020 Python_Bot +* Tue Jun 1 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Wed May 19 2021 wangxiyuan +- Fix provide issue +* Mon May 10 2021 openstack-sig - Package Spec generated