diff --git a/centos_build_layer.cfg b/centos_build_layer.cfg deleted file mode 100644 index c581999..0000000 --- a/centos_build_layer.cfg +++ /dev/null @@ -1 +0,0 @@ -flock diff --git a/centos_dev_wheels.inc b/centos_dev_wheels.inc deleted file mode 100644 index 9dd69e8..0000000 --- a/centos_dev_wheels.inc +++ /dev/null @@ -1 +0,0 @@ -distributedcloud-client-wheels diff --git a/centos_iso_image.inc b/centos_iso_image.inc deleted file mode 100644 index 59989bc..0000000 --- a/centos_iso_image.inc +++ /dev/null @@ -1,2 +0,0 @@ -# distributedcloud-client -distributedcloud-client-dcmanagerclient diff --git a/centos_pkg_dirs b/centos_pkg_dirs deleted file mode 100644 index b6de744..0000000 --- a/centos_pkg_dirs +++ /dev/null @@ -1 +0,0 @@ -distributedcloud-client diff --git a/centos_stable_wheels.inc b/centos_stable_wheels.inc deleted file mode 100644 index 9dd69e8..0000000 --- a/centos_stable_wheels.inc +++ /dev/null @@ -1 +0,0 @@ -distributedcloud-client-wheels diff --git a/distributedcloud-client/centos/build_srpm.data b/distributedcloud-client/centos/build_srpm.data deleted file mode 100644 index 40eb902..0000000 --- a/distributedcloud-client/centos/build_srpm.data +++ /dev/null @@ -1,3 +0,0 @@ -SRC_DIR="." - -TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/distributedcloud-client/centos/distributedcloud-client.spec b/distributedcloud-client/centos/distributedcloud-client.spec deleted file mode 100644 index 308cb4f..0000000 --- a/distributedcloud-client/centos/distributedcloud-client.spec +++ /dev/null @@ -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/*