From 07bbbd79b02084ed9336e9aab6cd8c5701cfa2c5 Mon Sep 17 00:00:00 2001 From: Don Penney Date: Wed, 6 Jan 2021 14:37:50 -0500 Subject: [PATCH] Remove empty package from python-k8sapp-snmp Packages defined in a spec with no files do not result in an RPM produced by the build. On a rebuild, the build tools scan the spec and sees the package defined but does not find a corresponding RPM, and so flags the package for a rebuild as a result. This commit removes the empty package definition from the spec. Partial-Bug: 1910439 Signed-off-by: Don Penney Change-Id: Ia12515d4faae679a30c34fa2d47d5fa2738900b3 --- python-k8sapp-snmp/centos/python-k8sapp-snmp.spec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/python-k8sapp-snmp/centos/python-k8sapp-snmp.spec b/python-k8sapp-snmp/centos/python-k8sapp-snmp.spec index 385ee9e..1c65733 100644 --- a/python-k8sapp-snmp/centos/python-k8sapp-snmp.spec +++ b/python-k8sapp-snmp/centos/python-k8sapp-snmp.spec @@ -20,15 +20,6 @@ BuildRequires: python2-wheel %description StarlingX sysinv extensions: SNMP K8S app -%package -n python2-%{pypi_name} -Summary: StarlingX sysinv extensions: SNMP K8S app - -Requires: python-pbr >= 2.0.0 -Requires: sysinv >= 1.0 - -%description -n python2-%{pypi_name} -StarlingX sysinv extensions: SNMP K8S app - %prep %setup # Remove bundled egg-info