Compare commits

..

12 Commits

Author SHA1 Message Date
openeuler-ci-bot
b4e9f11bad !18 [sync] PR-17: Init Train release
From: @openeuler-sync-bot
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
2021-11-23 12:10:41 +00:00
wangxiyuan
95172b1f1b Init Train release
(cherry picked from commit eeba0e019f27f04133c9da0062bc7bbde1e37e36)
2021-11-15 20:08:13 +08:00
openeuler-ci-bot
ca97c90efb !15 【轻量级 PR】:Adds python3-pbr/pip as BuildRequires to fix obs error
From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
2021-08-03 08:52:41 +00:00
huangtianhua
d46189e14b Adds python3-pbr/pip as BuildRequires to fix obs error 2021-08-03 08:19:14 +00:00
openeuler-ci-bot
da25a932d1 !6 spec和package重复,删掉一份老的
From: @zhaorenhai
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
2021-03-09 09:40:22 +08:00
zhaorenhai
77eb003f11 remove duplicated spec and package 2021-02-27 03:26:56 +00:00
openeuler-ci-bot
479e7f5af5 !3 Change spec: Add BuildRequires for python-oslo.versionedobjects
From: @zhangy1317
Reviewed-by: @joec88
Signed-off-by: @joec88
2021-01-22 17:06:33 +08:00
zhangy1317
10a875a7e2 add buildrequires 2021-01-22 16:44:42 +08:00
openeuler-ci-bot
f38ad8aa58 !2 Change spec and source package of python-oslo.versionedobjects
From: @zhangy1317
Reviewed-by: @joec88
Signed-off-by: @joec88
2021-01-12 17:48:11 +08:00
zhangy1317
c0bf440d2f add spec and tar file 2021-01-12 15:57:00 +08:00
openeuler-ci-bot
35ef1c47bd !1 python-oslo-versionedobjects:Add source packages and spec file
From: @zhangy1317
Reviewed-by: @joec88
Signed-off-by: @joec88
2021-01-08 18:32:07 +08:00
zhangy1317
234e82154e add spec and tar file 2021-01-08 17:04:59 +08:00
2 changed files with 101 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,101 @@
%global _empty_manifest_terminate_build 0
Name: python-oslo-versionedobjects
Version: 1.36.1
Release: 1
Summary: Oslo Versioned Objects library
License: Apache-2.0
URL: https://docs.openstack.org/oslo.versionedobjects/latest/
Source0: https://files.pythonhosted.org/packages/b7/ff/371d4440f1b77bbd9c4963eb7e03dd53f0c356c00e4f9f66524dfaed4ab7/oslo.versionedobjects-1.36.1.tar.gz
BuildArch: noarch
%description
OpenStack versioned objects library
%package -n python3-oslo-versionedobjects
Summary: Oslo Versioned Objects library
Provides: python-oslo-versionedobjects
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-six
BuildRequires: python3-oslo-concurrency
BuildRequires: python3-oslo-config
BuildRequires: python3-oslo-context
BuildRequires: python3-oslo-messaging
BuildRequires: python3-oslo-serialization
BuildRequires: python3-oslo-utils
BuildRequires: python3-iso8601
BuildRequires: python3-oslo-log
BuildRequires: python3-oslo-i18n
BuildRequires: python3-webob
BuildRequires: python3-netaddr
# General requires
Requires: python3-six
Requires: python3-oslo-concurrency
Requires: python3-oslo-config
Requires: python3-oslo-context
Requires: python3-oslo-messaging
Requires: python3-oslo-serialization
Requires: python3-oslo-utils
Requires: python3-iso8601
Requires: python3-oslo-log
Requires: python3-oslo-i18n
Requires: python3-webob
Requires: python3-netaddr
%description -n python3-oslo-versionedobjects
OpenStack versioned objects library
%package help
Summary: Oslo Versioned Objects library
Provides: python3-oslo-versionedobjects-doc
%description help
OpenStack versioned objects library
%prep
%autosetup -n oslo.versionedobjects-%{version}
%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
* Mon Nov 15 2021 OpenStack_SIG <openstack@openeuler.org> - 1.36.1-1
- Init package python3-oslo-versionedobjects of version 1.36.1