From cb7602eafa49ec901f2d7da3a899de5bdd2e4c63 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Fri, 26 Apr 2024 11:41:15 -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: 49952 Change-Id: I1bed2fde10326ecb75b45376efea8480e0f23675 Signed-off-by: Scott Little --- centos_build_layer.cfg | 1 - centos_dev_wheels.inc | 1 - centos_iso_image.inc | 26 ---- centos_pkg_dirs | 7 - centos_stable_wheels.inc | 1 - service-mgmt-api/centos/build_srpm.data | 4 - service-mgmt-api/centos/sm-api.spec | 97 ------------ service-mgmt-api/opensuse/sm-api.changes | 19 --- service-mgmt-api/opensuse/sm-api.rpmlintrc | 1 - service-mgmt-api/opensuse/sm-api.spec | 75 ---------- service-mgmt-client/centos/build_srpm.data | 4 - service-mgmt-client/centos/sm-client.spec | 71 --------- .../opensuse/sm-client.changes | 14 -- .../opensuse/sm-client.rpmlintrc | 1 - service-mgmt-client/opensuse/sm-client.spec | 47 ------ service-mgmt-tools/centos/build_srpm.data | 4 - service-mgmt-tools/centos/sm-tools.spec | 69 --------- service-mgmt-tools/opensuse/sm-tools.changes | 9 -- .../opensuse/sm-tools.rpmlintrc | 1 - service-mgmt-tools/opensuse/sm-tools.spec | 37 ----- service-mgmt/sm-common/centos/build_srpm.data | 2 - service-mgmt/sm-common/centos/sm-common.spec | 140 ------------------ .../sm-common/opensuse/sm-common.changes | 9 -- .../sm-common/opensuse/sm-common.rpmlintrc | 1 - .../sm-common/opensuse/sm-common.spec | 118 --------------- service-mgmt/sm-db/centos/build_srpm.data | 5 - service-mgmt/sm-db/centos/sm-db.spec | 60 -------- service-mgmt/sm-db/opensuse/libsm_db1.changes | 9 -- .../sm-db/opensuse/libsm_db1.rpmlintrc | 1 - service-mgmt/sm-db/opensuse/libsm_db1.spec | 70 --------- service-mgmt/sm/centos/build_srpm.data | 5 - service-mgmt/sm/centos/sm.spec | 85 ----------- service-mgmt/sm/opensuse/sm.changes | 19 --- service-mgmt/sm/opensuse/sm.rpmlintrc | 1 - service-mgmt/sm/opensuse/sm.spec | 92 ------------ stx-ocf-scripts/centos/build_srpm.data | 2 - stx-ocf-scripts/centos/stx-ocf-scripts.spec | 30 ---- 37 files changed, 1138 deletions(-) delete mode 100644 centos_build_layer.cfg delete mode 100644 centos_dev_wheels.inc delete mode 100644 centos_iso_image.inc delete mode 100644 centos_pkg_dirs delete mode 100644 centos_stable_wheels.inc delete mode 100644 service-mgmt-api/centos/build_srpm.data delete mode 100644 service-mgmt-api/centos/sm-api.spec delete mode 100644 service-mgmt-api/opensuse/sm-api.changes delete mode 100644 service-mgmt-api/opensuse/sm-api.rpmlintrc delete mode 100644 service-mgmt-api/opensuse/sm-api.spec delete mode 100644 service-mgmt-client/centos/build_srpm.data delete mode 100644 service-mgmt-client/centos/sm-client.spec delete mode 100644 service-mgmt-client/opensuse/sm-client.changes delete mode 100644 service-mgmt-client/opensuse/sm-client.rpmlintrc delete mode 100644 service-mgmt-client/opensuse/sm-client.spec delete mode 100644 service-mgmt-tools/centos/build_srpm.data delete mode 100644 service-mgmt-tools/centos/sm-tools.spec delete mode 100644 service-mgmt-tools/opensuse/sm-tools.changes delete mode 100644 service-mgmt-tools/opensuse/sm-tools.rpmlintrc delete mode 100644 service-mgmt-tools/opensuse/sm-tools.spec delete mode 100644 service-mgmt/sm-common/centos/build_srpm.data delete mode 100644 service-mgmt/sm-common/centos/sm-common.spec delete mode 100644 service-mgmt/sm-common/opensuse/sm-common.changes delete mode 100644 service-mgmt/sm-common/opensuse/sm-common.rpmlintrc delete mode 100644 service-mgmt/sm-common/opensuse/sm-common.spec delete mode 100644 service-mgmt/sm-db/centos/build_srpm.data delete mode 100644 service-mgmt/sm-db/centos/sm-db.spec delete mode 100644 service-mgmt/sm-db/opensuse/libsm_db1.changes delete mode 100644 service-mgmt/sm-db/opensuse/libsm_db1.rpmlintrc delete mode 100644 service-mgmt/sm-db/opensuse/libsm_db1.spec delete mode 100644 service-mgmt/sm/centos/build_srpm.data delete mode 100644 service-mgmt/sm/centos/sm.spec delete mode 100644 service-mgmt/sm/opensuse/sm.changes delete mode 100644 service-mgmt/sm/opensuse/sm.rpmlintrc delete mode 100644 service-mgmt/sm/opensuse/sm.spec delete mode 100644 stx-ocf-scripts/centos/build_srpm.data delete mode 100644 stx-ocf-scripts/centos/stx-ocf-scripts.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 f9fdda9f..00000000 --- a/centos_dev_wheels.inc +++ /dev/null @@ -1 +0,0 @@ -sm-client-wheels diff --git a/centos_iso_image.inc b/centos_iso_image.inc deleted file mode 100644 index 3b3ffa9a..00000000 --- a/centos_iso_image.inc +++ /dev/null @@ -1,26 +0,0 @@ -# List of packages to be included/installed in ISO -# If these have dependencies, they will be pulled in automatically -# - -# sm-common -sm-common -sm-common-libs -sm-eru - -# sm-db -sm-db - -# sm -sm - -# sm-api -sm-api - -# sm-client -sm-client - -# sm-tools -sm-tools - -# stx-ocf-scripts -stx-ocf-scripts diff --git a/centos_pkg_dirs b/centos_pkg_dirs deleted file mode 100644 index 7c39ef93..00000000 --- a/centos_pkg_dirs +++ /dev/null @@ -1,7 +0,0 @@ -service-mgmt/sm-common -service-mgmt/sm-db -service-mgmt/sm -service-mgmt-api -service-mgmt-client -service-mgmt-tools -stx-ocf-scripts diff --git a/centos_stable_wheels.inc b/centos_stable_wheels.inc deleted file mode 100644 index f9fdda9f..00000000 --- a/centos_stable_wheels.inc +++ /dev/null @@ -1 +0,0 @@ -sm-client-wheels diff --git a/service-mgmt-api/centos/build_srpm.data b/service-mgmt-api/centos/build_srpm.data deleted file mode 100644 index f0cbfb5e..00000000 --- a/service-mgmt-api/centos/build_srpm.data +++ /dev/null @@ -1,4 +0,0 @@ -SRC_DIR=sm-api -TAR_NAME=sm-api -VERSION=1.0 -TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/service-mgmt-api/centos/sm-api.spec b/service-mgmt-api/centos/sm-api.spec deleted file mode 100644 index ebab3bb4..00000000 --- a/service-mgmt-api/centos/sm-api.spec +++ /dev/null @@ -1,97 +0,0 @@ -Summary: Service Management API -Name: sm-api -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 - -%define debug_package %{nil} - -BuildRequires: python -BuildRequires: python-setuptools -BuildRequires: python2-pip -BuildRequires: python2-wheel -BuildRequires: util-linux -# BuildRequires systemd is to get %_unitdir I think -BuildRequires: systemd -BuildRequires: systemd-devel -Requires: python-libs -Requires: python-six -# Needed for /etc/init.d, can be removed when we go fully systemd -Requires: chkconfig -# Needed for /etc/pmon.d -Requires: mtce-pmon - - -%prep -%setup -q - -%build -%{__python2} setup.py build -%py2_build_wheel - -%install -%global _buildsubdir %{_builddir}/%{name}-%{version} -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} -mkdir -p $RPM_BUILD_ROOT/wheels -install -m 644 dist/*.whl $RPM_BUILD_ROOT/wheels/ -install -d %{buildroot}/etc/sm -install -d %{buildroot}/etc/init.d -install -d %{buildroot}/etc/pmon.d -install -d %{buildroot}/etc/sm-api -install -d %{buildroot}%{_unitdir} -install -m 644 %{_buildsubdir}/scripts/sm_api.ini %{buildroot}/etc/sm -install -m 755 %{_buildsubdir}/scripts/sm-api %{buildroot}/etc/init.d -install -m 644 %{_buildsubdir}/scripts/sm-api.service %{buildroot}%{_unitdir} -install -m 644 %{_buildsubdir}/scripts/sm-api.conf %{buildroot}/etc/pmon.d -install -m 644 %{_buildsubdir}/etc/sm-api/policy.json %{buildroot}/etc/sm-api - -%description -Service Management API - -#%package -n sm-api-py-src-tar -#Summary: Service Management API -#Group: base - -#%description -n sm-api-py-src-tar -#Service Management API - - -#%post -n sm-api-py-src-tar -## sm-api-py-src-tar - postinst -# if [ -f $D/usr/src/sm-api-1.0.tar.bz2 ] ; then -# ( cd $D/ && tar -xf $D/usr/src/sm-api-1.0.tar.bz2 ) -# fi - -%post -/usr/bin/systemctl enable sm-api.service >/dev/null 2>&1 - -%files -%defattr(-,root,root,-) -%dir "/usr/lib/python2.7/site-packages/sm_api" -/usr/lib/python2.7/site-packages/sm_api/* -%dir "/usr/lib/python2.7/site-packages/sm_api-1.0.0-py2.7.egg-info" -/usr/lib/python2.7/site-packages/sm_api-1.0.0-py2.7.egg-info/* -"/usr/bin/sm-api" -%dir "/etc/sm" -"/etc/init.d/sm-api" -"/etc/pmon.d/sm-api.conf" -"/etc/sm-api/policy.json" -"/etc/sm/sm_api.ini" -%{_unitdir}/* - -#%files -n sm-api-py-src-tar -#%defattr(-,-,-,-) -#"/usr/src/sm-api-1.0.tar.bz2" - -%package wheels -Summary: %{name} wheels - -%description wheels -Contains python wheels for %{name} - -%files wheels -/wheels/* diff --git a/service-mgmt-api/opensuse/sm-api.changes b/service-mgmt-api/opensuse/sm-api.changes deleted file mode 100644 index 2ad44d96..00000000 --- a/service-mgmt-api/opensuse/sm-api.changes +++ /dev/null @@ -1,19 +0,0 @@ -------------------------------------------------------------------- -Tue Oct 4 22:52:52 UTC 2019 - Abraham Arce - 4 - -- Runtime dependencies. - -------------------------------------------------------------------- -Tue Sep 24 05:22:50 UTC 2019 - Abraham Arce - 3 - -- Move to _service to get source from git repo - -------------------------------------------------------------------- -Thu Jun 20 17:00:16 UTC 2019 - Marcela Rosales - 2 - -- Modify Requires: chkconfig is in aaa_base openSUSE package. - -------------------------------------------------------------------- -Wed Jun 5 09:44:11 UTC 2019 - Marcela Rosales - 1 - -- Initial Commit. diff --git a/service-mgmt-api/opensuse/sm-api.rpmlintrc b/service-mgmt-api/opensuse/sm-api.rpmlintrc deleted file mode 100644 index adc59bf3..00000000 --- a/service-mgmt-api/opensuse/sm-api.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('script-without-shebang', 2) diff --git a/service-mgmt-api/opensuse/sm-api.spec b/service-mgmt-api/opensuse/sm-api.spec deleted file mode 100644 index f2eb94e5..00000000 --- a/service-mgmt-api/opensuse/sm-api.spec +++ /dev/null @@ -1,75 +0,0 @@ -Summary: Service Management API -Name: sm-api -Version: 1.0.0 -Release: %{tis_patch_ver}%{?_tis_dist} -License: Apache-2.0 -Group: System/Packages -URL: https://opendev.org/starlingx/ha/ -Source0: %{name}-%{version}.tar.gz - -%define debug_package %{nil} - -BuildRequires: python -BuildRequires: python-setuptools -BuildRequires: python2-pip -BuildRequires: util-linux -# BuildRequires systemd is to get %%_unitdir I think -BuildRequires: systemd -BuildRequires: systemd-devel -%if 0%{?suse_version} -BuildRequires: gcc-c++ -BuildRequires: systemd-sysvinit -BuildRequires: insserv-compat -%endif -Requires: python2-six -Requires: python-eventlet -Requires: python-pecan -Requires: python-keystonemiddleware -# Needed for %%{_sysconfdir}/init.d, can be removed when we go fully systemd -Requires: aaa_base -# Needed for %%{_sysconfdir}/pmon.d -Requires: libamon1 - -%description -The Service Management API - -%prep -%setup -n %{name}-%{version}/%{name} - -%build -%{__python2} setup.py build - -%install -%global _buildsubdir %{_builddir}/%{name}-%{version}/%{name} -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} -install -d %{buildroot}%{_sysconfdir}/sm -install -d %{buildroot}%{_sysconfdir}/init.d -install -d %{buildroot}%{_sysconfdir}/pmon.d -install -d %{buildroot}%{_sysconfdir}/sm-api -install -d %{buildroot}%{_unitdir} -install -m 644 %{_buildsubdir}/scripts/sm_api.ini %{buildroot}%{_sysconfdir}/sm -install -m 755 %{_buildsubdir}/scripts/sm-api %{buildroot}%{_sysconfdir}/init.d -install -m 644 %{_buildsubdir}/scripts/sm-api.service %{buildroot}%{_unitdir} -install -m 644 %{_buildsubdir}/scripts/sm-api.conf %{buildroot}%{_sysconfdir}/pmon.d -install -m 644 %{_buildsubdir}%{_sysconfdir}/sm-api/policy.json %{buildroot}%{_sysconfdir}/sm-api - -%post -%{_bindir}/systemctl enable sm-api.service >/dev/null 2>&1 - -%files -%dir %{_sysconfdir}/pmon.d -%dir %{_sysconfdir}/sm-api -%defattr(-,root,root,-) -%dir "%{_prefix}/lib/python2.7/site-packages/sm_api" -%{_prefix}/lib/python2.7/site-packages/sm_api/* -%dir "%{_prefix}/lib/python2.7/site-packages/sm_api-1.0.0-py2.7.egg-info" -%{_prefix}/lib/python2.7/site-packages/sm_api-1.0.0-py2.7.egg-info/* -"%{_bindir}/sm-api" -%dir "%{_sysconfdir}/sm" -"%{_sysconfdir}/init.d/sm-api" -"%{_sysconfdir}/pmon.d/sm-api.conf" -"%{_sysconfdir}/sm-api/policy.json" -"%{_sysconfdir}/sm/sm_api.ini" -%{_unitdir}/* - -%changelog diff --git a/service-mgmt-client/centos/build_srpm.data b/service-mgmt-client/centos/build_srpm.data deleted file mode 100644 index 9da8740b..00000000 --- a/service-mgmt-client/centos/build_srpm.data +++ /dev/null @@ -1,4 +0,0 @@ -SRC_DIR=sm-client -TAR_NAME=sm-client -VERSION=1.0 -TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/service-mgmt-client/centos/sm-client.spec b/service-mgmt-client/centos/sm-client.spec deleted file mode 100644 index f922d626..00000000 --- a/service-mgmt-client/centos/sm-client.spec +++ /dev/null @@ -1,71 +0,0 @@ -Summary: Service Management Client and CLI -Name: sm-client -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 - -%define debug_package %{nil} - -BuildRequires: python -BuildRequires: python-setuptools -BuildRequires: python2-pip -BuildRequires: python2-wheel -Requires: python-libs -Requires: python-six -%prep -%setup -q - -%build -%{__python2} setup.py build -%py2_build_wheel - -%install -%global _buildsubdir %{_builddir}/%{name}-%{version} -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} -mkdir -p $RPM_BUILD_ROOT/wheels -install -m 644 dist/*.whl $RPM_BUILD_ROOT/wheels/ -install -d %{buildroot}/usr/bin -install -m 755 %{_buildsubdir}/usr/bin/smc %{buildroot}/usr/bin - -%description -Service Management Client and CLI - -#%package -n sm-client-py-src-tar -#Summary: Service Management Client and CLI source tarball -#Group: base - -#%description -n sm-client-py-src-tar -#Service Management API - - -#%post -n sm-client-py-src-tar -## sm-client-py-src-tar - postinst -# if [ -f $D/usr/src/sm-client-1.0.tar.bz2 ] ; then -# ( cd $D/ && tar -xf $D/usr/src/sm-client-1.0.tar.bz2 ) -# fi - - -%files -%defattr(-,root,root,-) -%dir "/usr/lib/python2.7/site-packages/sm_client" -/usr/lib/python2.7/site-packages/sm_client/* -"/usr/bin/smc" -%dir "/usr/lib/python2.7/site-packages/sm_client-1.0.0-py2.7.egg-info" -/usr/lib/python2.7/site-packages/sm_client-1.0.0-py2.7.egg-info/* - -#%files -n sm-client-py-src-tar -#%defattr(-,-,-,-) -#"/usr/src/sm-client-1.0.tar.bz2" - -%package wheels -Summary: %{name} wheels - -%description wheels -Contains python wheels for %{name} - -%files wheels -/wheels/* diff --git a/service-mgmt-client/opensuse/sm-client.changes b/service-mgmt-client/opensuse/sm-client.changes deleted file mode 100644 index 4707ff3a..00000000 --- a/service-mgmt-client/opensuse/sm-client.changes +++ /dev/null @@ -1,14 +0,0 @@ -------------------------------------------------------------------- -Tue Oct 4 23:02:03 UTC 2019 - Abraham Arce - 3 - -- Runtime dependencies. - -------------------------------------------------------------------- -Tue Sep 24 05:22:50 UTC 2019 - Abraham Arce - 2 - -- Move to _service to get source from git repo - -------------------------------------------------------------------- -Tue May 21 21:29:56 UTC 2019 - Erich Cordoba - 1 - -- First version of sm-client diff --git a/service-mgmt-client/opensuse/sm-client.rpmlintrc b/service-mgmt-client/opensuse/sm-client.rpmlintrc deleted file mode 100644 index adc59bf3..00000000 --- a/service-mgmt-client/opensuse/sm-client.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('script-without-shebang', 2) diff --git a/service-mgmt-client/opensuse/sm-client.spec b/service-mgmt-client/opensuse/sm-client.spec deleted file mode 100644 index 06d864a9..00000000 --- a/service-mgmt-client/opensuse/sm-client.spec +++ /dev/null @@ -1,47 +0,0 @@ -Summary: Service Management Client and CLI -Name: sm-client -Version: 1.0.0 -Release: 4 -BuildArch: noarch -License: Apache-2.0 -Group: System/Base -URL: https://www.starlingx.io -Source0: %{name}-%{version}.tar.gz - -%define debug_package %{nil} - -BuildRequires: python -BuildRequires: python-setuptools -BuildRequires: fdupes -Requires: python-six -Requires: python-pyparsing -Requires: python-httplib2 -Requires: python-PrettyTable -Requires: python-keystoneclient - -%description -Service Management Client and command line interface. - -%prep -%setup -n %{name}-%{version}/%{name} - -%build -%{__python2} setup.py build - -%install -%global _buildsubdir %{_builddir}/%{name}-%{version}/%{name} -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} -install -d %{buildroot}/usr/bin -ls %{_builddir}/ -install -m 755 %{_buildsubdir}/usr/bin/smc %{buildroot}/usr/bin -%fdupes %{buildroot}/usr/lib/python2.7/site-packages/sm_client/ - -%files -%defattr(-,root,root,-) -%dir /usr/lib/python2.7/site-packages/sm_client -/usr/lib/python2.7/site-packages/sm_client/* -/usr/bin/smc -%dir /usr/lib/python2.7/site-packages/sm_client-1.0.0-py2.7.egg-info -/usr/lib/python2.7/site-packages/sm_client-1.0.0-py2.7.egg-info/* - -%changelog diff --git a/service-mgmt-tools/centos/build_srpm.data b/service-mgmt-tools/centos/build_srpm.data deleted file mode 100644 index dbc7cc1c..00000000 --- a/service-mgmt-tools/centos/build_srpm.data +++ /dev/null @@ -1,4 +0,0 @@ -SRC_DIR=sm-tools -TAR_NAME=sm-tools -VERSION=1.0 -TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/service-mgmt-tools/centos/sm-tools.spec b/service-mgmt-tools/centos/sm-tools.spec deleted file mode 100644 index 26cc7d8d..00000000 --- a/service-mgmt-tools/centos/sm-tools.spec +++ /dev/null @@ -1,69 +0,0 @@ -Summary: Service Management Tools -Name: sm-tools -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 - -%define debug_package %{nil} - -BuildRequires: python -BuildRequires: python-setuptools -BuildRequires: python2-pip -BuildRequires: python2-wheel -Requires: python-libs - -%prep -%setup -q - -%build -%{__python2} setup.py build -%py2_build_wheel - -%install -%global _buildsubdir %{_builddir}/%{name}-%{version} -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} -mkdir -p $RPM_BUILD_ROOT/wheels -install -m 644 dist/*.whl $RPM_BUILD_ROOT/wheels/ - -%description -Service Management Tools - -#%package -n sm-tools-py-src-tar -#Summary: Service Management Tools source tarball -#Group: base - -#%description -n sm-tools-py-src-tar -#Service Management Tools source tarball - - -#%post -n sm-tools-py-src-tar -## sm-tools-py-src-tar - postinst -# if [ -f $D/usr/src/sm-tools-1.0.tar.bz2 ] ; then -# ( cd $D/ && tar -xf $D/usr/src/sm-tools-1.0.tar.bz2 ) -# fi - - -%files -%defattr(-,root,root,-) -%dir "/usr/lib/python2.7/site-packages/sm_tools" -/usr/lib/python2.7/site-packages/sm_tools/* -%dir "/usr/lib/python2.7/site-packages/sm_tools-1.0.0-py2.7.egg-info" -/usr/lib/python2.7/site-packages/sm_tools-1.0.0-py2.7.egg-info/* -/usr/bin/* - -#%files -n sm-tools-py-src-tar -#%defattr(-,-,-,-) -#"/usr/src/sm-tools-1.0.tar.bz2" - -%package wheels -Summary: %{name} wheels - -%description wheels -Contains python wheels for %{name} - -%files wheels -/wheels/* diff --git a/service-mgmt-tools/opensuse/sm-tools.changes b/service-mgmt-tools/opensuse/sm-tools.changes deleted file mode 100644 index a803838b..00000000 --- a/service-mgmt-tools/opensuse/sm-tools.changes +++ /dev/null @@ -1,9 +0,0 @@ -------------------------------------------------------------------- -Tue Oct 4 22:52:52 UTC 2019 - Abraham Arce - 2 - -- Runtime dependencies. - -------------------------------------------------------------------- -Tue Jun 11 13:00:38 UTC 2019 - Abraham Arce - 1 - -- Initial commit diff --git a/service-mgmt-tools/opensuse/sm-tools.rpmlintrc b/service-mgmt-tools/opensuse/sm-tools.rpmlintrc deleted file mode 100644 index adc59bf3..00000000 --- a/service-mgmt-tools/opensuse/sm-tools.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('script-without-shebang', 2) diff --git a/service-mgmt-tools/opensuse/sm-tools.spec b/service-mgmt-tools/opensuse/sm-tools.spec deleted file mode 100644 index 8ad1e7db..00000000 --- a/service-mgmt-tools/opensuse/sm-tools.spec +++ /dev/null @@ -1,37 +0,0 @@ -Summary: Service Management Tools -Name: sm-tools -Version: 1.0.0 -Release: 0 -License: Apache-2.0 -Group: Development/Tools/Other -URL: https://opendev.org/starlingx/metal -Source0: %{name}-%{version}.tar.gz - -BuildRequires: python -BuildRequires: python2-pip -BuildRequires: python-setuptools -Requires: python-psutil - -BuildArch: noarch - -%description -StarlingX Service Management Tools - -%prep -%setup -n %{name}-%{version}/%{name} - -%build -python2 setup.py build - -%install -python2 setup.py install -O1 --skip-build --root %{buildroot} - -%files -%defattr(-,root,root,-) -%dir "%{_prefix}/lib/python2.7/site-packages/sm_tools" -%{_prefix}/lib/python2.7/site-packages/sm_tools/* -%dir "%{_prefix}/lib/python2.7/site-packages/sm_tools-1.0.0-py2.7.egg-info" -%{_prefix}/lib/python2.7/site-packages/sm_tools-1.0.0-py2.7.egg-info/* -%{_bindir}/* - -%changelog diff --git a/service-mgmt/sm-common/centos/build_srpm.data b/service-mgmt/sm-common/centos/build_srpm.data deleted file mode 100644 index 9697510f..00000000 --- a/service-mgmt/sm-common/centos/build_srpm.data +++ /dev/null @@ -1,2 +0,0 @@ -SRC_DIR=$PKG_BASE -TIS_PATCH_VER=PKG_GITREVCOUNT+15 diff --git a/service-mgmt/sm-common/centos/sm-common.spec b/service-mgmt/sm-common/centos/sm-common.spec deleted file mode 100644 index d41cad6a..00000000 --- a/service-mgmt/sm-common/centos/sm-common.spec +++ /dev/null @@ -1,140 +0,0 @@ -Summary: Service Management Common -Name: sm-common -Version: 1.0.0 -Release: %{tis_patch_ver}%{?_tis_dist} -License: Apache-2.0 -Group: base -Packager: Wind River -URL: unknown -Source0: %{name}-%{version}.tar.gz - - -BuildRequires: build-info-dev -BuildRequires: glib2-devel -BuildRequires: sqlite-devel -BuildRequires: gcc -BuildRequires: util-linux -BuildRequires: libuuid-devel - -Requires: mtce-pmon -Requires: /bin/sh -Requires: sqlite -Requires: util-linux -Requires: systemd -# BuildRequires is to get %_unitdir I think -BuildRequires: systemd -BuildRequires: systemd-devel -Requires(post): systemd -Requires: %{name}-libs = %{version}-%{release} - -%description -Service Managment Common - -#%package -n sm-common-dbg -#Summary: Service Management Common - Debugging files -#Group: devel -##Suggests: libsqlite3-dbg -##Suggests: libgcc-s-dbg(x86_64) -##Suggests: libglib-2.0-dbg(x86_64) -##Suggests: lmapi-dbg -##Suggests: libstdc++-dbg(x86_64) -##Suggests: libc6-dbg(x86_64) -##Suggests: util-linux-libuuid-dbg -##Recommends: sm-common = 1.0.0-r7.0 -#Provides: sm-common-dbg(x86_64) = 1.0.0-r7.0 - -#%description -n sm-common-dbg -#Service Managment Common This package contains ELF symbols and related -#sources for debugging purposes. - -%package libs -Summary: Service Management Common - shared library fles -Group: base -#Provides: sm-common-libs(x86_64) = 1.0.0-r7.0 - -%description libs -Service Managment Common This package contains shared libraries. - -%package dev -Summary: Service Management Common - Development files -Group: devel -Requires: %{name}-libs = %{version}-%{release} - -%description dev -Service Managment Common This package contains symbolic links, header -files, and related items necessary for software development. - -%package -n sm-eru -Summary: Service Management ERU -Group: base -Requires: %{name}-libs = %{version}-%{release} - -%description -n sm-eru -Service Managment ERU. - -%prep -%autosetup - -%build -VER=%{version} - -MAJOR=`echo $VER | awk -F . '{print $1}'` -MINOR=`echo $VER | awk -F . '{print $2}'` -make VER=${VER} VER_MJR=$MAJOR %{?_smp_mflags} - -%global _buildsubdir %{_builddir}/%{name}-%{version} - -%define pmondir /etc/pmon.d - -%install -rm -rf %{buildroot} -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -MINOR=`echo $VER | awk -F . '{print $2}'` -make DEST_DIR=%{buildroot} BIN_DIR=%{_bindir} PMONDIR=%{pmondir} UNIT_DIR=%{_unitdir} LIB_DIR=%{_libdir} INC_DIR=%{_includedir} BUILDSUBDIR=%{_buildsubdir} VER=$VER VER_MJR=$MAJOR install - -%post -n sm-eru -/usr/bin/systemctl enable sm-eru.service >/dev/null 2>&1 - - -%files -%license LICENSE -%defattr(-,root,root,-) - -#%{_unitdir}/* -#%{_bindir}/* -#/etc/init.d/* -#/etc/pmon.d/* - -%files libs -%{_libdir}/*.so.* -%dir "/var/lib/sm" - -%files -n sm-eru -%defattr(-,root,root,-) -/etc/init.d/sm-eru -%{pmondir}/sm-eru.conf -/usr/bin/sm-eru -/usr/bin/sm-eru-dump -/usr/lib/systemd/system/sm-eru.service - - -# Commented out for now, but something seems to auto generate -# a sm-common-debuginfo RPM even without this. -#%files -n sm-common-dbg -#%defattr(-,-,-,-) -#%dir "/usr/lib64/.debug" -#"/usr/lib64/.debug/libsm_common.so.1.0.0" -#%dir "/usr/bin/.debug" -#"/usr/bin/.debug/sm-eru-dump" -#"/usr/bin/.debug/sm-eru" -#%dir "/usr/src/debug/sm-common" -#%dir "/usr/src/debug/sm-common/1.0.0-r7" -#%dir "/usr/src/debug/sm-common/1.0.0-r7/src" -#/usr/src/debug/sm-common/1.0.0-r7/src/*.h -#/usr/src/debug/sm-common/1.0.0-r7/src/*.c - -%files dev -%defattr(-,root,root,-) -%{_includedir}/* -%{_libdir}/*.so diff --git a/service-mgmt/sm-common/opensuse/sm-common.changes b/service-mgmt/sm-common/opensuse/sm-common.changes deleted file mode 100644 index c7772243..00000000 --- a/service-mgmt/sm-common/opensuse/sm-common.changes +++ /dev/null @@ -1,9 +0,0 @@ -------------------------------------------------------------------- -Mon Sep 23 22:03:54 UTC 2019 - Erich Cordoba - 2 - -- Adding _service and removing source code tarball. - -------------------------------------------------------------------- -Fri May 17 22:17:32 UTC 2019 - Erich Cordoba - 1 - -- Adding first version of sm-common. diff --git a/service-mgmt/sm-common/opensuse/sm-common.rpmlintrc b/service-mgmt/sm-common/opensuse/sm-common.rpmlintrc deleted file mode 100644 index adc59bf3..00000000 --- a/service-mgmt/sm-common/opensuse/sm-common.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('script-without-shebang', 2) diff --git a/service-mgmt/sm-common/opensuse/sm-common.spec b/service-mgmt/sm-common/opensuse/sm-common.spec deleted file mode 100644 index dad7dd84..00000000 --- a/service-mgmt/sm-common/opensuse/sm-common.spec +++ /dev/null @@ -1,118 +0,0 @@ -Summary: Service Management Common -Name: sm-common -Version: 1.0.0 -Release: 1 -License: Apache-2.0 -Group: System/Base -URL: https://www.starlingx.io -Source0: %{name}-%{version}.tar.gz - -BuildRequires: glib2-devel -BuildRequires: sqlite-devel -BuildRequires: gcc -BuildRequires: util-linux -BuildRequires: libuuid-devel -BuildRequires: gcc-c++ -BuildRequires: systemd-sysvinit -BuildRequires: insserv-compat - -Requires: libamon1 -Requires: /bin/sh -Requires: sqlite -Requires: util-linux -Requires: systemd -BuildRequires: systemd -BuildRequires: systemd-devel -Requires(post): systemd -Requires: %{name}-libs = %{version}-%{release} - -%description -Service Managment Common - -%package libs -Summary: Service Management Common - shared library fles -Group: System/Base - -%description libs -Service Managment Common This package contains shared libraries. - -%package devel -Summary: Service Management Common - Development files -Group: Development/Libraries/Other -Requires: %{name}-libs = %{version}-%{release} - -%description devel -Service Managment Common This package contains symbolic links, header -files, and related items necessary for software development. - -%package -n sm-eru -Summary: Service Management ERU -Group: System/Base -Requires: %{name}-libs = %{version}-%{release} - -%description -n sm-eru -Service Managment ERU. - -%prep -%setup -n %{name}-%{version} - -%build -VER=%{version} - -MAJOR=`echo $VER | awk -F . '{print $1}'` -MINOR=`echo $VER | awk -F . '{print $2}'` -make VER=${VER} VER_MJR=$MAJOR %{?_smp_mflags} - -%global _buildsubdir %{_builddir}/%{name}-%{version} - -%install -rm -rf %{buildroot} -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -MINOR=`echo $VER | awk -F . '{print $2}'` -make DEST_DIR=%{buildroot} BIN_DIR=%{_bindir} UNIT_DIR=%{_unitdir} LIB_DIR=%{_libdir} INC_DIR=%{_includedir} BUILDSUBDIR=%{_buildsubdir} VER=$VER VER_MJR=$MAJOR install - -%pre -n sm-eru -%service_add_pre sm-eru.service sm-eru.target - -%preun -n sm-eru -%service_del_preun sm-eru.service sm-eru.target - -%post -n sm-eru -%service_add_post sm-eru.service sm-eru.target -/usr/bin/systemctl enable sm-eru.service - -%postun -n sm-eru -%service_del_postun sm-eru.service sm-eru.target -/usr/bin/systemctl disable sm-eru.service - -%post -n sm-common-libs -/sbin/ldconfig - -%postun -n sm-common-libs -/sbin/ldconfig - -%files -%license LICENSE -%defattr(-,root,root,-) - -%files libs -%{_libdir}/*.so.* -%dir %{_sharedstatedir}/sm - -%files -n sm-eru -%defattr(-,root,root,-) -%dir %{_sysconfdir}/init.d -%dir %{_sysconfdir}/pmon.d -%{_sysconfdir}/init.d/sm-eru -%config %{_sysconfdir}/pmon.d/sm-eru.conf -%{_bindir}/sm-eru -%{_bindir}/sm-eru-dump -%{_unitdir}/sm-eru.service - -%files devel -%defattr(-,root,root,-) -%{_includedir}/* -%{_libdir}/*.so - -%changelog diff --git a/service-mgmt/sm-db/centos/build_srpm.data b/service-mgmt/sm-db/centos/build_srpm.data deleted file mode 100644 index a7b54497..00000000 --- a/service-mgmt/sm-db/centos/build_srpm.data +++ /dev/null @@ -1,5 +0,0 @@ -SRC_DIR=`pwd` -COPY_LIST="$PKG_BASE/LICENSE" -TAR_NAME=sm-db -VERSION=1.0.0 -TIS_PATCH_VER=PKG_GITREVCOUNT+19 diff --git a/service-mgmt/sm-db/centos/sm-db.spec b/service-mgmt/sm-db/centos/sm-db.spec deleted file mode 100644 index aa102a8f..00000000 --- a/service-mgmt/sm-db/centos/sm-db.spec +++ /dev/null @@ -1,60 +0,0 @@ -Summary: Service Management Databases -Name: sm-db -Version: 1.0.0 -Release: %{tis_patch_ver}%{?_tis_dist} -License: Apache-2.0 -Group: base -Packager: Wind River -URL: unknown -Source0: %{name}-%{version}.tar.gz -Source1: LICENSE - -BuildRequires: gcc -BuildRequires: sm-common-dev -BuildRequires: glib2-devel -BuildRequires: glibc -BuildRequires: sqlite-devel -BuildRequires: libuuid-devel - -%description -Service Managment Databases - -%package dev -Summary: Service Management Databases - Development files -Group: devel -Requires: %{name} = %{version}-%{release} - -%description dev -Service Managment Databases This package contains symbolic links, header -files, and related items necessary for software development. - -%prep - -%autosetup - -%build -sqlite3 database/sm.db < database/create_sm_db.sql -sqlite3 database/sm.hb.db < database/create_sm_hb_db.sql -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -make VER=${VER} VER_MJR=$MAJOR - -%install -rm -rf $RPM_BUILD_ROOT -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -make DEST_DIR=$RPM_BUILD_ROOT VER=$VER VER_MJR=$MAJOR install - -%files -%license LICENSE -%defattr(-,root,root,-) -"/usr/lib64/libsm_db.so.1" -"/usr/lib64/libsm_db.so.1.0.0" -%config(noreplace)"/var/lib/sm/sm.hb.db" -%config(noreplace)"/var/lib/sm/sm.db" -"/var/lib/sm/patches/sm-patch.sql" - -%files dev -%defattr(-,root,root,-) -/usr/lib64/libsm_db.so -/usr/include/*.h diff --git a/service-mgmt/sm-db/opensuse/libsm_db1.changes b/service-mgmt/sm-db/opensuse/libsm_db1.changes deleted file mode 100644 index 25b77489..00000000 --- a/service-mgmt/sm-db/opensuse/libsm_db1.changes +++ /dev/null @@ -1,9 +0,0 @@ -------------------------------------------------------------------- -Wed Jun 26 17:33:07 UTC 2019 - Erich Cordoba - 2 - -- Update tarball to match other ha/sm projects. - -------------------------------------------------------------------- -Tue May 21 20:02:52 UTC 2019 - Erich Cordoba - 1 - -- Adding first version for sm-db. diff --git a/service-mgmt/sm-db/opensuse/libsm_db1.rpmlintrc b/service-mgmt/sm-db/opensuse/libsm_db1.rpmlintrc deleted file mode 100644 index adc59bf3..00000000 --- a/service-mgmt/sm-db/opensuse/libsm_db1.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('script-without-shebang', 2) diff --git a/service-mgmt/sm-db/opensuse/libsm_db1.spec b/service-mgmt/sm-db/opensuse/libsm_db1.spec deleted file mode 100644 index 9026868b..00000000 --- a/service-mgmt/sm-db/opensuse/libsm_db1.spec +++ /dev/null @@ -1,70 +0,0 @@ -Summary: Service Management Databases -Name: libsm_db1 -Version: 1.0.0 -Release: 5 -License: Apache-2.0 -Group: System/Base -URL: https://www.starlingx.io -Source0: %{name}-%{version}.tar.gz - -BuildRequires: gcc-c++ -BuildRequires: sm-common-devel -BuildRequires: glib2-devel -BuildRequires: glibc -BuildRequires: sqlite3-devel -BuildRequires: libuuid-devel -BuildRequires: libsqlite3-0 -BuildRequires: sqlite3 - -Requires: sqlite3 - -%description -The StarlingX Service Managment Databases - -%package devel -Summary: Service Management Databases - Development files -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} - -%description devel -Service Managment Databases This package contains symbolic links, header -files, and related items necessary for software development. - -%prep -%setup -n %{name}-%{version} - -%build -sqlite3 database/sm.db < database/create_sm_db.sql -sqlite3 database/sm.hb.db < database/create_sm_hb_db.sql -VER=%{version} -export SUSE_ASNEEDED=0 -MAJOR=`echo $VER | awk -F . '{print $1}'` -make VER=${VER} VER_MJR=$MAJOR - -%install -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -make DEST_DIR=$RPM_BUILD_ROOT VER=$VER VER_MJR=$MAJOR install - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%license LICENSE -%defattr(-,root,root,-) -%dir %{_sharedstatedir}/sm/patches -%{_libdir}/libsm_db.so.1 -%{_libdir}/libsm_db.so.1.0.0 -%config(noreplace) %{_sharedstatedir}/sm/sm.hb.db -%config(noreplace) %{_sharedstatedir}/sm/sm.db -%{_sharedstatedir}/sm/patches/sm-patch.sql - -%files devel -%defattr(-,root,root,-) -%{_libdir}/libsm_db.so -%{_includedir}/*.h - -%changelog diff --git a/service-mgmt/sm/centos/build_srpm.data b/service-mgmt/sm/centos/build_srpm.data deleted file mode 100644 index 4798ac52..00000000 --- a/service-mgmt/sm/centos/build_srpm.data +++ /dev/null @@ -1,5 +0,0 @@ -SRC_DIR=$PKG_BASE -COPY_LIST="$PKG_BASE/LICENSE" -TAR_NAME=sm -VERSION=1.0.0 -TIS_PATCH_VER=PKG_GITREVCOUNT+24 diff --git a/service-mgmt/sm/centos/sm.spec b/service-mgmt/sm/centos/sm.spec deleted file mode 100644 index fee04e67..00000000 --- a/service-mgmt/sm/centos/sm.spec +++ /dev/null @@ -1,85 +0,0 @@ -Summary: Service Management -Name: sm -Version: 1.0.0 -Release: %{tis_patch_ver}%{?_tis_dist} -License: Apache-2.0 -Group: base -Packager: Wind River -URL: unknown -Source0: %{name}-%{version}.tar.gz -Source1: LICENSE - -BuildRequires: fm-common-dev -BuildRequires: sm-db-dev -BuildRequires: sm-common-dev -BuildRequires: mtce-dev -BuildRequires: glib2-devel -BuildRequires: glibc -BuildRequires: sqlite-devel -BuildRequires: gcc -BuildRequires: libuuid-devel -BuildRequires: json-c -BuildRequires: json-c-devel -BuildRequires: openssl-devel - - -# BuildRequires is to get %_unitdir I think -BuildRequires: systemd -BuildRequires: systemd-devel -Requires(post): systemd -Requires(preun): systemd - -# Needed for /etc/init.d, can be removed when we go fully systemd -Requires: chkconfig -# Needed for /etc/pmon.d -Requires: mtce-pmon -# Needed for /etc/logrotate.d -Requires: logrotate -# for collect stuff -Requires: time - -%description -Service Managment - -#%package -n sm-dbg -#Summary: Service Management - Debugging files -#Group: devel -#Recommends: sm = 1.0.0-r10.0 - -#%description -n sm-dbg -#Service Managment This package contains ELF symbols and related sources -#for debugging purposes. - -%define pmondir /etc/pmon.d - -%prep -%autosetup - -%build -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -make -j"%(nproc)" - -%install -rm -rf %{buildroot} -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -make DEST_DIR=%{buildroot} PMONDIR=%{pmondir} UNIT_DIR=%{_unitdir} install - -%post -/usr/bin/systemctl enable sm.service >/dev/null 2>&1 -/usr/bin/systemctl enable sm-shutdown.service >/dev/null 2>&1 - - -%files -%license LICENSE -%defattr(-,root,root,-) -%{_unitdir}/* -"/usr/bin/sm" -"/usr/local/sbin/sm-notify" -"/usr/local/sbin/sm-troubleshoot" -"/usr/local/sbin/sm-notification" -"/etc/init.d/sm" -"/etc/init.d/sm-shutdown" -"%{pmondir}/sm.conf" -"/etc/logrotate.d/sm.logrotate" diff --git a/service-mgmt/sm/opensuse/sm.changes b/service-mgmt/sm/opensuse/sm.changes deleted file mode 100644 index 7ce7103d..00000000 --- a/service-mgmt/sm/opensuse/sm.changes +++ /dev/null @@ -1,19 +0,0 @@ -------------------------------------------------------------------- -Mon Sep 23 22:17:37 UTC 2019 - Erich Cordoba - 4 - -- Removing patches that were merged in source code. - -------------------------------------------------------------------- -Mon Sep 16 15:45:00 UTC 2019 - Dominig ar Foll Intel Open Source - 3 - -- move to _service to get source from git repo. - -------------------------------------------------------------------- -Wed Jun 26 03:23:14 UTC 2019 - Erich Cordoba - 2 - -- Add unmodified tarball and upstream packages. - -------------------------------------------------------------------- -Mon Jun 17 17:35:48 UTC 2019 - Erich Cordoba - 1 - -- Initial commit for building sm in openSUSE. diff --git a/service-mgmt/sm/opensuse/sm.rpmlintrc b/service-mgmt/sm/opensuse/sm.rpmlintrc deleted file mode 100644 index adc59bf3..00000000 --- a/service-mgmt/sm/opensuse/sm.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('script-without-shebang', 2) diff --git a/service-mgmt/sm/opensuse/sm.spec b/service-mgmt/sm/opensuse/sm.spec deleted file mode 100644 index c5bc52cb..00000000 --- a/service-mgmt/sm/opensuse/sm.spec +++ /dev/null @@ -1,92 +0,0 @@ -Summary: Service Management -Name: sm -Version: 1.0.0 -Release: 2 -License: Apache-2.0 -Group: System/Base -URL: https://www.starlingx.io -Source0: %{name}-%{version}.tar.gz - -# Patches no applied to upstream yet. -Patch0: 0001-Change-shebang-to-help-rpm-runtime-dependency-detect.patch - -BuildRequires: gcc-c++ -BuildRequires: fm-common-dev -BuildRequires: libsm_db1-devel -BuildRequires: sm-common-devel -BuildRequires: mtce-devel -BuildRequires: glib2-devel -BuildRequires: glibc -BuildRequires: sqlite3-devel -BuildRequires: gcc -BuildRequires: libuuid-devel -BuildRequires: libjson-c3 -BuildRequires: libjson-c-devel -BuildRequires: openssl-devel -BuildRequires: systemd-sysvinit -BuildRequires: insserv-compat - -BuildRequires: systemd -BuildRequires: systemd-devel -Requires(post): systemd -Requires(preun): systemd - -# Needed for /etc/init.d, can be removed when we go fully systemd -Requires: aaa_base -# Needed for /etc/logrotate.d -Requires: logrotate -# for collect stuff -Requires: time - - -%description -The StarlingX Service Managment system. - -%prep -%setup -n %{name}-%{version} -%patch0 -p3 - -%build -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -make -j"%(nproc)" - -%install -rm -rf %{buildroot} -VER=%{version} -MAJOR=`echo $VER | awk -F . '{print $1}'` -make DEST_DIR=%{buildroot} UNIT_DIR=%{_unitdir} install - -%pre -%service_add_pre sm.service -%service_add_pre sm-shutdown.service - -%preun -%service_del_preun sm.service -%service_del_preun sm-shutdown.service - -%post -%service_add_post sm.service -%service_add_post sm-shutdown.service -/usr/bin/systemctl enable sm.service >/dev/null 2>&1 -/usr/bin/systemctl enable sm-shutdown.service >/dev/null 2>&1 - -%postun -%service_del_postun sm.service -%service_del_postun sm-shutdown.service - -%files -%license LICENSE -%defattr(-,root,root,-) -%dir %{_sysconfdir}/pmon.d -%{_unitdir}/* -%{_bindir}/sm -/usr/local/sbin/sm-notify -/usr/local/sbin/sm-troubleshoot -/usr/local/sbin/sm-notification -%{_sysconfdir}/init.d/sm -%{_sysconfdir}/init.d/sm-shutdown -%config %{_sysconfdir}/pmon.d/sm.conf -%config %{_sysconfdir}/logrotate.d/sm.logrotate - -%changelog diff --git a/stx-ocf-scripts/centos/build_srpm.data b/stx-ocf-scripts/centos/build_srpm.data deleted file mode 100644 index 1c7dfe75..00000000 --- a/stx-ocf-scripts/centos/build_srpm.data +++ /dev/null @@ -1,2 +0,0 @@ -SRC_DIR="$PKG_BASE/src" -TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/stx-ocf-scripts/centos/stx-ocf-scripts.spec b/stx-ocf-scripts/centos/stx-ocf-scripts.spec deleted file mode 100644 index 76453f30..00000000 --- a/stx-ocf-scripts/centos/stx-ocf-scripts.spec +++ /dev/null @@ -1,30 +0,0 @@ -Summary: Miscellaneous OCF scripts added by StarlingX -Name: stx-ocf-scripts -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 - -BuildArch: noarch -Requires: openstack-ras - -%description -Miscellaneous OCF scripts added by StarlingX - -%prep -%setup -%build - -%install -install -d -m 755 ${RPM_BUILD_ROOT}/usr/lib/ocf/resource.d/openstack -install -p -D -m 755 ocf/* ${RPM_BUILD_ROOT}/usr/lib/ocf/resource.d/openstack/ - -%files -%dir %attr(0755,root,root) /usr/lib/ocf/resource.d/openstack -%defattr(-,root,root,-) -/usr/lib/ocf/resource.d/openstack/* -