Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e841af8452 !13 [sync] PR-12: Init Train release
From: @openeuler-sync-bot
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
2021-11-17 01:01:27 +00:00
wangxiyuan
446f5387f4 Init Train release
(cherry picked from commit 356d2ee53fa5180c665247b77d1b058db6eedb80)
2021-11-17 09:00:02 +08:00
openeuler-ci-bot
08fa0939f4 !11 Remove requires oslo-versiondobject-tests
From: @joec88
Reviewed-by: @zh-f,@liksh
Signed-off-by: @liksh
2021-08-04 08:59:03 +00:00
joec88
b244812627 Remove requires oslo-versiondobject-tests 2021-08-04 10:19:54 +08:00
openeuler-ci-bot
875ec652c8 !10 Update to version 2.4.0
From: @joec88
Reviewed-by: 
Signed-off-by:
2021-08-02 07:44:58 +00:00
joec88
c6597b5a9a Update to version 2.4.0 2021-08-02 15:19:42 +08:00
openeuler-ci-bot
b4255f01a8 !3 Change spec: Add BuildRequires for python-os-vif
From: @zhangy1317
Reviewed-by: @joec88
Signed-off-by: @joec88
2021-01-22 14:26:08 +08:00
zhangy1317
48f3651e9b add buildrequires python3-pip 2021-01-21 15:55:22 +08:00
openeuler-ci-bot
7194ab8cc1 !1 python-os-vif:Add source packages and spec file
From: @zhangy1317
Reviewed-by: @joec88
Signed-off-by: @joec88
2021-01-11 10:58:07 +08:00
zhangy1317
49895de6e9 add spec and tar file 2021-01-06 10:03:15 +08:00
2 changed files with 102 additions and 0 deletions

BIN
os_vif-1.17.0.tar.gz Normal file

Binary file not shown.

102
python-os-vif.spec Normal file
View File

@ -0,0 +1,102 @@
%global _empty_manifest_terminate_build 0
Name: python-os-vif
Version: 1.17.0
Release: 1
Summary: A library for plugging and unplugging virtual interfaces in OpenStack.
License: Apache-2.0
URL: https://docs.openstack.org/os-vif/latest/
Source0: https://files.pythonhosted.org/packages/08/f0/05b4b39f6c091fc5a54b97ff6933c4305c44cf0f3b0774257d0b4414aece/os_vif-1.17.0.tar.gz
BuildArch: noarch
%description
A library for plugging and unplugging virtual interfaces in OpenStack.
%package -n python3-os-vif
Summary: A library for plugging and unplugging virtual interfaces in OpenStack.
Provides: python-os-vif
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-netaddr
BuildRequires: python3-oslo-concurrency
BuildRequires: python3-oslo-config
BuildRequires: python3-oslo-log
BuildRequires: python3-oslo-i18n
BuildRequires: python3-oslo-privsep
BuildRequires: python3-oslo-versionedobjects
BuildRequires: python3-ovsdbapp
BuildRequires: python3-six
BuildRequires: python3-stevedore
BuildRequires: python3-debtcollector
BuildRequires: python3-pyroute2
# General requires
Requires: python3-pbr
Requires: python3-netaddr
Requires: python3-oslo-concurrency
Requires: python3-oslo-config
Requires: python3-oslo-log
Requires: python3-oslo-i18n
Requires: python3-oslo-privsep
Requires: python3-oslo-versionedobjects
Requires: python3-ovsdbapp
Requires: python3-six
Requires: python3-stevedore
Requires: python3-debtcollector
Requires: python3-pyroute2
%description -n python3-os-vif
A library for plugging and unplugging virtual interfaces in OpenStack.
%package help
Summary: A library for plugging and unplugging virtual interfaces in OpenStack.
Provides: python3-os-vif-doc
%description help
A library for plugging and unplugging virtual interfaces in OpenStack.
%prep
%autosetup -n os_vif-%{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-os-vif -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Nov 16 2021 OpenStack_SIG <openstack@openeuler.org> - 1.17.0-1
- Init package python3-os-vif of version 1.17.0