Compare commits
10 Commits
49fb06cf54
...
e841af8452
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e841af8452 | ||
|
|
446f5387f4 | ||
|
|
08fa0939f4 | ||
|
|
b244812627 | ||
|
|
875ec652c8 | ||
|
|
c6597b5a9a | ||
|
|
b4255f01a8 | ||
|
|
48f3651e9b | ||
|
|
7194ab8cc1 | ||
|
|
49895de6e9 |
BIN
os_vif-1.17.0.tar.gz
Normal file
BIN
os_vif-1.17.0.tar.gz
Normal file
Binary file not shown.
102
python-os-vif.spec
Normal file
102
python-os-vif.spec
Normal 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
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user