diff --git a/oslo.versionedobjects-1.33.3.tar.gz b/oslo.versionedobjects-1.33.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ee8032572d691569a5a1eac3731f43397e121406 Binary files /dev/null and b/oslo.versionedobjects-1.33.3.tar.gz differ diff --git a/oslo.versionedobjects-2.4.0.tar.gz b/oslo.versionedobjects-2.4.0.tar.gz deleted file mode 100644 index d79d5a9b8665097a4b3005be8455a9ef30d07f41..0000000000000000000000000000000000000000 Binary files a/oslo.versionedobjects-2.4.0.tar.gz and /dev/null differ diff --git a/python-oslo-versionedobjects.spec b/python-oslo-versionedobjects.spec new file mode 100644 index 0000000000000000000000000000000000000000..f5b9eb28ac024aba4107302f83a1e6146e5b0efb --- /dev/null +++ b/python-oslo-versionedobjects.spec @@ -0,0 +1,188 @@ +%global _empty_manifest_terminate_build 0 +Name: python-oslo-versionedobjects +Version: 1.33.3 +Release: 3 +Summary: Oslo Versioned Objects library +License: Apache-2.0 +URL: https://docs.openstack.org/oslo.versionedobjects/latest/ +Source0: https://files.pythonhosted.org/packages/d2/53/f5a42c375cc1f08ac01b5b3d10205f981799dcf8deb965175acab576f0f3/oslo.versionedobjects-1.33.3.tar.gz +BuildArch: noarch +%description +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/oslo.versionedobjects.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +=================================== +oslo.versionedobjects +=================================== + +.. image:: https://img.shields.io/pypi/v/oslo.versionedobjects.svg + :target: https://pypi.org/project/oslo.versionedobjects/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/oslo.versionedobjects.svg + :target: https://pypi.org/project/oslo.versionedobjects/ + :alt: Downloads + +The oslo.versionedobjects library provides a generic versioned object model +that is RPC-friendly, with inbuilt serialization, field typing, and remotable +method calls. It can be used to define a data model within a project +independent of external APIs or database schema for the purposes of providing +upgrade compatibility across distributed services. + +* Free software: Apache license +* Documentation: https://docs.openstack.org/oslo.versionedobjects/latest +* Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects +* Bugs: http://bugs.launchpad.net/oslo.versionedobjects +* Release notes: https://docs.openstack.org/releasenotes/oslo.versionedobjects/ + + + + +%package -n python2-oslo-versionedobjects +Summary: Oslo Versioned Objects library +Provides: python2-oslo-versionedobjects +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-six +Requires: python2-oslo-concurrency +Requires: python2-oslo-config +Requires: python2-oslo-context +Requires: python2-oslo-messaging +Requires: python2-oslo-serialization +Requires: python2-oslo-utils +Requires: python2-iso8601 +Requires: python2-oslo-log +Requires: python2-oslo-i18n +Requires: python2-webob +Requires: python2-netaddr +%description -n python2-oslo-versionedobjects +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/oslo.versionedobjects.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +=================================== +oslo.versionedobjects +=================================== + +.. image:: https://img.shields.io/pypi/v/oslo.versionedobjects.svg + :target: https://pypi.org/project/oslo.versionedobjects/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/oslo.versionedobjects.svg + :target: https://pypi.org/project/oslo.versionedobjects/ + :alt: Downloads + +The oslo.versionedobjects library provides a generic versioned object model +that is RPC-friendly, with inbuilt serialization, field typing, and remotable +method calls. It can be used to define a data model within a project +independent of external APIs or database schema for the purposes of providing +upgrade compatibility across distributed services. + +* Free software: Apache license +* Documentation: https://docs.openstack.org/oslo.versionedobjects/latest +* Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects +* Bugs: http://bugs.launchpad.net/oslo.versionedobjects +* Release notes: https://docs.openstack.org/releasenotes/oslo.versionedobjects/ + + + + +%package help +Summary: Development documents and examples for oslo.versionedobjects +Provides: python2-oslo-versionedobjects-doc +%description help +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/oslo.versionedobjects.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +=================================== +oslo.versionedobjects +=================================== + +.. image:: https://img.shields.io/pypi/v/oslo.versionedobjects.svg + :target: https://pypi.org/project/oslo.versionedobjects/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/oslo.versionedobjects.svg + :target: https://pypi.org/project/oslo.versionedobjects/ + :alt: Downloads + +The oslo.versionedobjects library provides a generic versioned object model +that is RPC-friendly, with inbuilt serialization, field typing, and remotable +method calls. It can be used to define a data model within a project +independent of external APIs or database schema for the purposes of providing +upgrade compatibility across distributed services. + +* Free software: Apache license +* Documentation: https://docs.openstack.org/oslo.versionedobjects/latest +* Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects +* Bugs: http://bugs.launchpad.net/oslo.versionedobjects +* Release notes: https://docs.openstack.org/releasenotes/oslo.versionedobjects/ + + + + +%prep +%autosetup -n oslo.versionedobjects-1.33.3 + +%build +%py2_build + +%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 +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python2-oslo-versionedobjects -f filelist.lst +%dir %{python2_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Sat May 29 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Fri May 21 2021 wangxiyuan +- Fix require issue +* Fri May 07 2021 OpenStack_SIG +- Package Spec generated diff --git a/python-oslo.versionedobjects.spec b/python-oslo.versionedobjects.spec deleted file mode 100644 index 0c5a6d8fe593dfd40ffca489c0858c5c2f4a0ee6..0000000000000000000000000000000000000000 --- a/python-oslo.versionedobjects.spec +++ /dev/null @@ -1,77 +0,0 @@ -%global _empty_manifest_terminate_build 0 -Name: python-oslo-versionedobjects -Version: 2.4.0 -Release: 1 -Summary: Oslo Versioned Objects library -License: Apache-2.0 -URL: https://opendev.org/openstack/oslo.versionedobjects -Source0: https://files.pythonhosted.org/packages/e4/47/f1c490bd81204ec501f7e6ad960f3182cc18c90a30d2d2dbe0803d40edd5/oslo.versionedobjects-2.4.0.tar.gz -BuildArch: noarch - -Requires: python3-webob -Requires: python3-iso8601 -Requires: python3-netaddr - -%description -OpenStack versioned objects library - - -%package -n python3-oslo-versionedobjects -Summary: Oslo Versioned Objects library -Provides: python-oslo-versionedobjects -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-oslo-versionedobjects -OpenStack versioned objects library - - -%package help -Summary: Development documents and examples for oslo.versionedobjects -Provides: python3-oslo-versionedobjects-doc -%description help -OpenStack versioned objects library - - -%prep -%autosetup -n oslo.versionedobjects-2.4.0 - -%build -%py3_build - -%install -%py3_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 -if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi -if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi -pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - -%files -n python3-oslo-versionedobjects -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst -%{_docdir}/* - -%changelog -* Fri Jan 08 2021 Python_Bot -- Package Spec generated