Compare commits
10 Commits
d1c534498d
...
f48a1372f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f48a1372f7 | ||
|
|
4cc4f9b5ed | ||
|
|
f6849483e5 | ||
|
|
82da7bf3a4 | ||
|
|
6a00907390 | ||
|
|
13ab08d245 | ||
|
|
0b5de6746d | ||
|
|
c1acab8ade | ||
|
|
fc3c27f78d | ||
|
|
e19e30b857 |
BIN
os-win-4.3.3.tar.gz
Normal file
BIN
os-win-4.3.3.tar.gz
Normal file
Binary file not shown.
105
python-os-win.spec
Normal file
105
python-os-win.spec
Normal file
@ -0,0 +1,105 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-os-win
|
||||
Version: 4.3.3
|
||||
Release: 1
|
||||
Summary: Windows / Hyper-V library for OpenStack projects.
|
||||
License: Apache-2.0
|
||||
URL: http://www.cloudbase.it/
|
||||
Source0: https://files.pythonhosted.org/packages/d6/04/1e0c49f24b6db06f0374873c21da17bcb26f8103bbe6cf7975f8e4d16c2c/os-win-4.3.3.tar.gz
|
||||
BuildArch: noarch
|
||||
%description
|
||||
This library contains Windows/Hyper-V code commonly used in the OpenStack
|
||||
projects: nova, cinder, networking-hyperv. The library can be used in any
|
||||
other OpenStack projects where it is needed.
|
||||
|
||||
%package -n python3-os-win
|
||||
Summary: Windows / Hyper-V library for OpenStack projects.
|
||||
Provides: python-os-win
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
# General requires
|
||||
BuildRequires: python3-babel
|
||||
BuildRequires: python3-eventlet
|
||||
BuildRequires: python3-oslo-concurrency
|
||||
BuildRequires: python3-oslo-config
|
||||
BuildRequires: python3-oslo-log
|
||||
BuildRequires: python3-oslo-utils
|
||||
BuildRequires: python3-oslo-i18n
|
||||
# General requires
|
||||
Requires: python3-pbr
|
||||
Requires: python3-babel
|
||||
Requires: python3-eventlet
|
||||
Requires: python3-oslo-concurrency
|
||||
Requires: python3-oslo-config
|
||||
Requires: python3-oslo-log
|
||||
Requires: python3-oslo-utils
|
||||
Requires: python3-oslo-i18n
|
||||
%description -n python3-os-win
|
||||
This library contains Windows/Hyper-V code commonly used in the OpenStack
|
||||
projects: nova, cinder, networking-hyperv. The library can be used in any
|
||||
other OpenStack projects where it is needed.
|
||||
|
||||
%package help
|
||||
Summary: Windows / Hyper-V library for OpenStack projects.
|
||||
Provides: python3-os-win-doc
|
||||
%description help
|
||||
This library contains Windows/Hyper-V code commonly used in the OpenStack
|
||||
projects: nova, cinder, networking-hyperv. The library can be used in any
|
||||
other OpenStack projects where it is needed.
|
||||
|
||||
%prep
|
||||
%autosetup -n os-win-%{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-win -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 10 2021 OpenStack_SIG <openstack@openeuler.org> - 4.3.3-1
|
||||
- Upgrade package python3-os-win to version 4.3.3
|
||||
|
||||
* Tue Aug 03 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 5.4.0-2
|
||||
- Drop wrong requires
|
||||
* Fri Jul 23 2021 OpenStack_SIG <openstack@openeuler.org> - 5.4.0-1
|
||||
- Update to 5.4.0
|
||||
* Wed Jan 20 2021 zhangy1317 <zhangy1317@foxmail.com> 2021.1.20
|
||||
- Update to 2021.1.20
|
||||
Loading…
x
Reference in New Issue
Block a user