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 <scott.little@windriver.com>
This commit is contained in:
Scott Little 2024-04-26 11:41:14 -04:00
parent f04638e8f8
commit ccb42149e9
6 changed files with 0 additions and 91 deletions

View File

@ -1 +0,0 @@
flock

View File

@ -1 +0,0 @@
starlingx-dashboard-wheels

View File

@ -1 +0,0 @@
starlingx-dashboard

View File

@ -1 +0,0 @@
starlingx-dashboard-wheels

View File

@ -1,3 +0,0 @@
SRC_DIR="starlingx-dashboard"
TIS_BASE_SRCREV=8b0101c5ed2a5dc5f58d99f1dcde15c50bf2c199
TIS_PATCH_VER=GITREVCOUNT

View File

@ -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 <info@windriver.com>
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/*