From ccb42149e975bd8186deed52baa2fd087fce73d4 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Fri, 26 Apr 2024 11:41:14 -0400 Subject: [PATCH] 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: 49951 Change-Id: Ia6aba2bfd2ae340bd53de6619e56cbf58c312ac8 Signed-off-by: Scott Little --- centos_build_layer.cfg | 1 - centos_dev_wheels.inc | 1 - centos_pkg_dirs | 1 - centos_stable_wheels.inc | 1 - starlingx-dashboard/centos/build_srpm.data | 3 - .../centos/starlingx-dashboard.spec | 84 ------------------- 6 files changed, 91 deletions(-) delete mode 100644 centos_build_layer.cfg delete mode 100644 centos_dev_wheels.inc delete mode 100644 centos_pkg_dirs delete mode 100644 centos_stable_wheels.inc delete mode 100644 starlingx-dashboard/centos/build_srpm.data delete mode 100644 starlingx-dashboard/centos/starlingx-dashboard.spec diff --git a/centos_build_layer.cfg b/centos_build_layer.cfg deleted file mode 100644 index c581999f..00000000 --- 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 a81753f7..00000000 --- a/centos_dev_wheels.inc +++ /dev/null @@ -1 +0,0 @@ -starlingx-dashboard-wheels diff --git a/centos_pkg_dirs b/centos_pkg_dirs deleted file mode 100644 index 5c07dea3..00000000 --- a/centos_pkg_dirs +++ /dev/null @@ -1 +0,0 @@ -starlingx-dashboard diff --git a/centos_stable_wheels.inc b/centos_stable_wheels.inc deleted file mode 100644 index a81753f7..00000000 --- a/centos_stable_wheels.inc +++ /dev/null @@ -1 +0,0 @@ -starlingx-dashboard-wheels diff --git a/starlingx-dashboard/centos/build_srpm.data b/starlingx-dashboard/centos/build_srpm.data deleted file mode 100644 index b217d695..00000000 --- a/starlingx-dashboard/centos/build_srpm.data +++ /dev/null @@ -1,3 +0,0 @@ -SRC_DIR="starlingx-dashboard" -TIS_BASE_SRCREV=8b0101c5ed2a5dc5f58d99f1dcde15c50bf2c199 -TIS_PATCH_VER=GITREVCOUNT diff --git a/starlingx-dashboard/centos/starlingx-dashboard.spec b/starlingx-dashboard/centos/starlingx-dashboard.spec deleted file mode 100644 index 004fe9e2..00000000 --- a/starlingx-dashboard/centos/starlingx-dashboard.spec +++ /dev/null @@ -1,84 +0,0 @@ -## -Summary: stx horizon plugins -Name: starlingx-dashboard -Version: 1.0 -Release: %{tis_patch_ver}%{?_tis_dist} -License: Apache-2.0 -Group: base -Packager: Wind River -URL: unknown -Source0: %{name}-%{version}.tar.gz - -BuildRequires: python-setuptools -BuildRequires: python-pbr -BuildRequires: python2-pip -BuildRequires: python2-wheel -Requires: openstack-dashboard - -BuildArch: noarch - -%description -starlingx specific horizon plugins - -%define py_pkg_name starlingx_dashboard -%define enabled_dir %{_datadir}/openstack-dashboard/openstack_dashboard/enabled/ -%define stx_themes_dir %{_datadir}/openstack-dashboard/openstack_dashboard/themes/starlingx/ -%define local_settings_dir %{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d -%define stx_templates_dir %{_datadir}/openstack-dashboard/openstack_dashboard/starlingx_templates/ -%define overrides_dir %{_datadir}/openstack-dashboard/openstack_dashboard/overrides/ - -%define debug_package %{nil} - -%prep -%setup - -%build -export PBR_VERSION=%{version} -%py2_build -%py2_build_wheel - -%install -export PBR_VERSION=%{version} -%py2_install -mkdir -p $RPM_BUILD_ROOT/wheels -install -m 644 dist/*.whl $RPM_BUILD_ROOT/wheels/ - -install -d -m 755 %{buildroot}%{enabled_dir} -install -p -D -m 755 %{py_pkg_name}/enabled/* %{buildroot}%{enabled_dir} - -install -d -m 755 %{buildroot}%{stx_themes_dir} -cp -R %{py_pkg_name}/themes/starlingx/* %{buildroot}%{stx_themes_dir} -chmod -R 755 %{buildroot}%{stx_themes_dir}/* - -install -d -m 755 %{buildroot}%{local_settings_dir} -install -p -D -m 755 %{py_pkg_name}/local/local_settings.d/* %{buildroot}%{local_settings_dir} - -install -d -m 755 %{buildroot}%{stx_templates_dir} -cp -R %{py_pkg_name}/starlingx_templates/* %{buildroot}%{stx_templates_dir} -chmod -R 755 %{buildroot}%{stx_templates_dir}/* - -install -d -m 755 %{buildroot}%{overrides_dir} -install -p -D -m 755 %{py_pkg_name}/overrides/* %{buildroot}%{overrides_dir} - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%{python2_sitelib}/%{py_pkg_name} - -%{python2_sitelib}/%{py_pkg_name}-%{version}*.egg-info - -%{enabled_dir} -%{stx_themes_dir} -%{local_settings_dir} -%{stx_templates_dir} -%{overrides_dir} - -%package wheels -Summary: %{name} wheels - -%description wheels -Contains python wheels for %{name} - -%files wheels -/wheels/*