Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
c0afb14c89 !25 [sync] PR-24: Init Train release
From: @openeuler-sync-bot
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
2021-11-16 00:35:59 +00:00
wangxiyuan
2c827d4279 Init Train release
(cherry picked from commit 92b102225cddd0a5daedf4c64a58f0b46b8495fe)
2021-11-15 20:07:35 +08:00
openeuler-ci-bot
47f2221bc0 !18 Replace python3-suds with python3-suds-jurko requires
From: @sean-lau
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
2021-08-17 08:32:07 +00:00
sean-lau
9a274b2425 Replace python3-suds with python3-suds-jurko requires
- oslo.wmware require suds-jurko than suds in its upstream[1]
- In spec file, even though python3-suds was added as requires,
  the suds-jurko will also been recorgnized as a requirement,
  and suds-jurko is conflict with suds[2]

[1] https://opendev.org/openstack/oslo.vmware/src/tag/3.8.0/requirements.txt
[2] https://gitee.com/src-openeuler/python-suds-jurko/pulls/4
2021-08-17 15:15:09 +08:00
openeuler-ci-bot
7714003b5b !17 Update to 3.8.0
From: @joec88
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
2021-08-16 10:28:22 +00:00
joec88
abb3ff330d Update to 3.8.0 2021-08-13 18:23:25 +08:00
openeuler-ci-bot
6b893d2f39 !4 change tar of python-oslo.vmware
From: @zhangy1317
Reviewed-by: 
Signed-off-by:
2021-02-09 09:49:20 +08:00
zhangy1317
7bed62a916 change tar 2021-02-07 18:41:26 +08:00
openeuler-ci-bot
4af4529f3e !3 Change spec for python-oslo.vmware
From: @zhangy1317
Reviewed-by: @joec88
Signed-off-by: @joec88
2021-01-26 10:34:53 +08:00
zhangy1317
8482ee0f02 change spec 2021-01-26 09:11:39 +08:00
4 changed files with 104 additions and 87 deletions

BIN
oslo.vmware-2.34.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

104
python-oslo-vmware.spec Normal file
View File

@ -0,0 +1,104 @@
%global _empty_manifest_terminate_build 0
Name: python-oslo-vmware
Version: 2.34.1
Release: 1
Summary: Oslo VMware library
License: Apache-2.0
URL: https://docs.openstack.org/oslo.vmware/latest/
Source0: https://files.pythonhosted.org/packages/b2/db/de7f26b6d466d3bec50a68e824e5d8f5fe1dafd3211aba2797ce3ead8521/oslo.vmware-2.34.1.tar.gz
BuildArch: noarch
%description
Oslo VMware library for OpenStack projects
%package -n python3-oslo-vmware
Summary: Oslo VMware library
Provides: python-oslo-vmware
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-stevedore
BuildRequires: python3-netaddr
BuildRequires: python3-six
BuildRequires: python3-oslo-i18n
BuildRequires: python3-oslo-utils
BuildRequires: python3-pyyaml
BuildRequires: python3-lxml
BuildRequires: python3-suds-jurko
BuildRequires: python3-eventlet
BuildRequires: python3-requests
BuildRequires: python3-urllib3
BuildRequires: python3-oslo-concurrency
BuildRequires: python3-oslo-context
# General requires
Requires: python3-pbr
Requires: python3-stevedore
Requires: python3-netaddr
Requires: python3-six
Requires: python3-oslo-i18n
Requires: python3-oslo-utils
Requires: python3-pyyaml
Requires: python3-lxml
Requires: python3-suds-jurko
Requires: python3-eventlet
Requires: python3-requests
Requires: python3-urllib3
Requires: python3-oslo-concurrency
Requires: python3-oslo-context
%description -n python3-oslo-vmware
Oslo VMware library for OpenStack projects
%package help
Summary: Oslo VMware library
Provides: python3-oslo-vmware-doc
%description help
Oslo VMware library for OpenStack projects
%prep
%autosetup -n oslo.vmware-%{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-vmware -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Mon Nov 15 2021 OpenStack_SIG <openstack@openeuler.org> - 2.34.1-1
- Init package python3-oslo-vmware of version 2.34.1

View File

@ -1,87 +0,0 @@
%global _empty_manifest_terminate_build 0
Name: python-oslo-vmware
Version: 3.7.0
Release: 2
Summary: Oslo VMware library
License: Apache-2.0
URL: https://opendev.org/openstack/oslo.vmware
Source0: https://files.pythonhosted.org/packages/3b/be/c0a53bf599b8dc5469d8dfac16a64d816e33918b97fb25e46e2d8a2fdfb2/oslo.vmware-3.7.0.tar.gz
BuildArch: noarch
Requires: python3-PyYAML
Requires: python3-eventlet
Requires: python3-lxml
Requires: python3-netaddr
Requires: python3-pbr
Requires: python3-requests
Requires: python3-stevedore
Requires: python3-suds-jurko
Requires: python3-urllib3
%description
Oslo VMware library for OpenStack projects
%package -n python3-oslo-vmware
Summary: Oslo VMware library
Provides: python-oslo-vmware
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pbr
%description -n python3-oslo-vmware
Oslo VMware library for OpenStack projects
%package help
Summary: Development documents and examples for oslo.vmware
Provides: python3-oslo-vmware-doc
%description help
Oslo VMware library for OpenStack projects
%prep
%autosetup -n oslo.vmware-3.7.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-vmware -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri Jan 22 2021 zhangy1317 <zhangy1317@foxmail.com>
- Add BuildRequires python3-pbr and python3-pbr
* Fri Jan 08 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated