From dfe45b6e1068265ba00f62585bd5e8b28ae2eb87 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: May 28 2019 10:24:07 +0000 Subject: python-os-win is not longer needed by any OpenStack client package in fedora --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index cc84768..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/os-win-1.4.1.tar.gz -/os-win-2.2.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..0466230 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +python-os-win is not longer needed by any OpenStack client package in fedora diff --git a/python-os-win.spec b/python-os-win.spec deleted file mode 100644 index 1582d1d..0000000 --- a/python-os-win.spec +++ /dev/null @@ -1,204 +0,0 @@ -%{!?upstream_version: %global upstream_version %{version}%{?milestone}} -%global pypi_name os-win -%global pyname os_win - -%if 0%{?fedora} || 0%{?rhel} > 7 -%bcond_with python2 -%bcond_without python3 -%else -%bcond_without python2 -%bcond_with python3 -%endif - -Name: python-%{pypi_name} -Version: 2.2.0 -Release: 9%{?dist} -Summary: Windows / Hyper-V library for OpenStack projects - -License: ASL 2.0 -URL: http://www.cloudbase.it/ -Source0: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{version}.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. - -%if %{with python2} -%package -n python2-%{pypi_name} -Summary: Windows / Hyper-V library for OpenStack projects -%{?python_provide:%python_provide python2-%{pypi_name}} -BuildRequires: python2-devel -BuildRequires: python2-pbr -BuildRequires: python2-sphinx -BuildRequires: python2-oslo-sphinx -# Required for tests -BuildRequires: python2-ddt -BuildRequires: python2-eventlet -BuildRequires: python2-oslo-concurrency -BuildRequires: python2-oslo-i18n -BuildRequires: python2-oslo-log -BuildRequires: python2-oslo-utils -BuildRequires: python2-oslotest -BuildRequires: python2-pep8 -BuildRequires: python2-testrepository -BuildRequires: python2-testscenarios -BuildRequires: python2-testtools -# eventlet should require python-dns, I think -BuildRequires: python2-dns - -Requires: python2-pbr >= 2.0.0 -Requires: python2-babel >= 2.3.4 -Requires: python2-eventlet >= 0.18.2 -Requires: python2-oslo-concurrency >= 3.8.0 -# FIXME(jpena): do not require a minimum version number, until these are available -#Requires: python2-oslo-config >= 2:4.0.0 -#Requires: python2-oslo-log >= 3.22.0 -Requires: python2-oslo-config -Requires: python2-oslo-log -Requires: python2-oslo-utils >= 3.20.0 -Requires: python2-oslo-i18n >= 2.1.0 - -%description -n python2-%{pypi_name} -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. -%endif - -%if %{with python3} -%package -n python3-%{pypi_name} -Summary: Windows / Hyper-V library for OpenStack projects -%{?python_provide:%python_provide python3-%{pypi_name}} -BuildRequires: python3-devel -BuildRequires: python3-pbr -BuildRequires: python3-sphinx -BuildRequires: python3-oslo-sphinx -# Required for tests -BuildRequires: python3-ddt -BuildRequires: python3-eventlet -BuildRequires: python3-oslo-concurrency -BuildRequires: python3-oslo-i18n -BuildRequires: python3-oslo-log -BuildRequires: python3-oslo-utils -BuildRequires: python3-oslotest -BuildRequires: python3-pep8 -BuildRequires: python3-testrepository -BuildRequires: python3-testscenarios -BuildRequires: python3-testtools -# eventlet should require python-dns, I think -BuildRequires: python3-dns - -Requires: python3-pbr >= 2.0.0 -Requires: python3-babel >= 2.3.4 -Requires: python3-eventlet >= 0.18.2 -Requires: python3-oslo-concurrency >= 3.8.0 -# FIXME(jpena): do not require a minimum version number, until these are available -#Requires: python3-oslo-config >= 2:4.0.0 -#Requires: python3-oslo-log >= 3.22.0 -Requires: python3-oslo-config -Requires: python3-oslo-log -Requires: python3-oslo-utils >= 3.20.0 -Requires: python3-oslo-i18n >= 2.1.0 - - - -%description -n python3-%{pypi_name} -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. -%endif - -%package -n python-%{pypi_name}-doc -Summary: Windows / Hyper-V library for OpenStack projects - documentation - -%description -n python-%{pypi_name}-doc -Documentation for the Windows / Hyper-V library for OpenStack projects - -%prep -%setup -q -n %{pypi_name}-%{upstream_version} -# We want to manage requirements ourselves -rm -rf *requirements.txt - -%build -%if %{with python2} -%py2_build -%endif -%if %{with python3} -%py3_build -%endif - -# generate html docs -sphinx-build doc/source html -# remove the sphinx-build leftovers -rm -rf html/.{doctrees,buildinfo} - -%install -%if %{with python2} -%py2_install -%endif -%if %{with python3} -%py3_install -%endif - -%check -%if %{with python3} -PYTHON=%{__python3} %{__python3} setup.py test -rm -rf .testrepository -%endif -%if %{with python2} -PYTHON=%{__python2} %{__python2} setup.py test -%endif - -%if %{with python2} -%files -n python2-%{pypi_name} -%doc doc/source/readme.rst README.rst -%license LICENSE -%{python2_sitelib}/%{pyname}* -%endif - -%if %{with python3} -%files -n python3-%{pypi_name} -%license LICENSE -%doc doc/source/readme.rst README.rst -%{python3_sitelib}/%{pyname}* -%endif - -%files -n python-%{pypi_name}-doc -%doc html -%license LICENSE - -%changelog -* Sat Feb 02 2019 Fedora Release Engineering - 2.2.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Oct 16 2018 Javier Peña - 2.2.0-8 -- Add python-dns as a build requirement, it look like eventlet needs it - -* Tue Oct 16 2018 Javier Peña - 2.2.0-7 -- Remove the python2 package for Fedora 30+ (bz#1636937) - -* Sat Jul 14 2018 Fedora Release Engineering - 2.2.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 2.2.0-5 -- Rebuilt for Python 3.7 - -* Tue Feb 27 2018 Iryna Shcherbina - 2.2.0-4 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 2.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Sep 20 2017 Javier Peña - 2.2.0-2 -- Temporarily remove version requirements for oslo-log and oslo-config - -* Tue Sep 12 2017 Javier Peña - 2.2.0-1 -- Updated to upstream version 2.2.0 - -* Thu Jul 27 2017 Fedora Release Engineering - 1.4.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Mar 17 2017 Javier Peña - 1.4.1-1 -- Initial version, based on the RDO spec diff --git a/sources b/sources deleted file mode 100644 index bf663bf..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (os-win-2.2.0.tar.gz) = 02bb9b7ddaa7b3807ce66ce32242fe9938f28bde6880cf9ed461072e764e41a34a1238ccdc8b67ebc95a07ac003bb0771b8943602582ede6c8a41440f865060b