python3: remove files provide by python3-rpm-generators
This reverts commit 840b26b514
.
python* files in /usr/lib/rpm/ are live in python3-rpm-generators
now, remove them to let python2 rpm-build be compatible with
python3-rpm-generators
refer to: https://git.centos.org/rpms/rpm/blob/c8/f/SPECS/rpm.spec
Story: 2007106
Task: 39147
Change-Id: I6b502887321db579992316224131f21980de56e9
Signed-off-by: SidneyAn <ran1.an@intel.com>
This commit is contained in:
parent
840b26b514
commit
243243af9b
|
@ -1,5 +1,5 @@
|
||||||
TAR_NAME=rpm
|
TAR_NAME=rpm
|
||||||
VERSION=4.14.0
|
VERSION=4.14.0
|
||||||
TIS_PATCH_VER=1
|
TIS_PATCH_VER=2
|
||||||
|
|
||||||
COPY_LIST="$CGCS_BASE/downloads/$TAR_NAME-$VERSION.tar.bz2 patches/*"
|
COPY_LIST="$CGCS_BASE/downloads/$TAR_NAME-$VERSION.tar.bz2 patches/*"
|
||||||
|
|
|
@ -311,6 +311,11 @@ done
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
|
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
|
||||||
|
|
||||||
|
# These live in python3-rpm-generators now
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{rpmhome}/pythond*
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/python*
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue