Remove CentOS/OpenSUSE build support
StarlingX stopped supporting CentOS builds in the after release 7.0. This update will strip CentOS from our code base. It will also remove references to the failed OpenSUSE feature as well. Story: 2011110 Task: 49948 Change-Id: Ib27a001b8ca05a8aef74c703ea9a79cfed92448d Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
parent
622b38f552
commit
9776c4d66c
|
@ -1 +0,0 @@
|
||||||
flock
|
|
|
@ -1 +0,0 @@
|
||||||
distributedcloud-client-wheels
|
|
|
@ -1,2 +0,0 @@
|
||||||
# distributedcloud-client
|
|
||||||
distributedcloud-client-dcmanagerclient
|
|
|
@ -1 +0,0 @@
|
||||||
distributedcloud-client
|
|
|
@ -1 +0,0 @@
|
||||||
distributedcloud-client-wheels
|
|
|
@ -1,3 +0,0 @@
|
||||||
SRC_DIR="."
|
|
||||||
|
|
||||||
TIS_PATCH_VER=PKG_GITREVCOUNT
|
|
|
@ -1,97 +0,0 @@
|
||||||
%global pypi_name distributedcloud-client
|
|
||||||
|
|
||||||
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
|
||||||
|
|
||||||
%if 0%{?fedora}
|
|
||||||
%global with_python3 1
|
|
||||||
%{!?python3_shortver: %global python3_shortver %(%{__python3} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: %{pypi_name}
|
|
||||||
Version: 1.0.0
|
|
||||||
Release: 1%{?_tis_dist}.%{tis_patch_ver}
|
|
||||||
Summary: Client Library for Distributed Cloud Services
|
|
||||||
|
|
||||||
License: ASL 2.0
|
|
||||||
URL: unknown
|
|
||||||
Source0: %{pypi_name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python-setuptools
|
|
||||||
BuildRequires: python2-pip
|
|
||||||
BuildRequires: python2-wheel
|
|
||||||
BuildRequires: python-jsonschema >= 2.0.0
|
|
||||||
BuildRequires: python-keystonemiddleware
|
|
||||||
BuildRequires: python-oslo-concurrency
|
|
||||||
BuildRequires: python-oslo-config
|
|
||||||
BuildRequires: python-oslo-context
|
|
||||||
BuildRequires: python-oslo-db
|
|
||||||
BuildRequires: python-oslo-i18n
|
|
||||||
BuildRequires: python-oslo-log
|
|
||||||
BuildRequires: python-oslo-messaging
|
|
||||||
BuildRequires: python-oslo-middleware
|
|
||||||
BuildRequires: python-oslo-policy
|
|
||||||
BuildRequires: python-oslo-rootwrap
|
|
||||||
BuildRequires: python-oslo-serialization
|
|
||||||
BuildRequires: python-oslo-service
|
|
||||||
BuildRequires: python-oslo-utils
|
|
||||||
BuildRequires: python-oslo-versionedobjects
|
|
||||||
BuildRequires: python-pbr >= 1.8
|
|
||||||
BuildRequires: python-routes >= 1.12.3
|
|
||||||
BuildRequires: python-sphinx
|
|
||||||
BuildRequires: python-sphinxcontrib-httpdomain
|
|
||||||
BuildRequires: pyOpenSSL
|
|
||||||
BuildRequires: systemd
|
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: requests-toolbelt
|
|
||||||
# Required to compile translation files
|
|
||||||
BuildRequires: python-babel
|
|
||||||
|
|
||||||
%description
|
|
||||||
Client library for Distributed Cloud built on the Distributed Cloud API. It
|
|
||||||
provides a command-line tool (dcmanager).
|
|
||||||
|
|
||||||
Distributed Cloud provides configuration and management of distributed clouds
|
|
||||||
|
|
||||||
# DC Manager
|
|
||||||
%package dcmanagerclient
|
|
||||||
Summary: DC Manager Client
|
|
||||||
|
|
||||||
%description dcmanagerclient
|
|
||||||
Distributed Cloud Manager Client
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{pypi_name}-%{version} -S git
|
|
||||||
|
|
||||||
# Remove the requirements file so that pbr hooks don't add it
|
|
||||||
# to distutils requires_dist config
|
|
||||||
rm -rf {test-,}requirements.txt tools/{pip,test}-requires
|
|
||||||
|
|
||||||
%build
|
|
||||||
export PBR_VERSION=%{version}
|
|
||||||
%{__python2} setup.py build
|
|
||||||
%py2_build_wheel
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PBR_VERSION=%{version}
|
|
||||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/wheels
|
|
||||||
install -m 644 dist/*.whl $RPM_BUILD_ROOT/wheels/
|
|
||||||
|
|
||||||
%files dcmanagerclient
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/dcmanagerclient*
|
|
||||||
%{python2_sitelib}/distributedcloud_client-*.egg-info
|
|
||||||
%exclude %{python2_sitelib}/dcmanagerclient/tests
|
|
||||||
%{_bindir}/dcmanager*
|
|
||||||
|
|
||||||
%package wheels
|
|
||||||
Summary: %{name} wheels
|
|
||||||
|
|
||||||
%description wheels
|
|
||||||
Contains python wheels for %{name}
|
|
||||||
|
|
||||||
%files wheels
|
|
||||||
/wheels/*
|
|
Loading…
Reference in New Issue