From 76fb2be0342d5d8bc579c94bda8e7fc48d7b7013 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Fri, 23 Aug 2024 15:20:25 -0500 Subject: [PATCH] more cleaning, other spec files use define prefix %{buildprefix} but lets remove that complexity and enable more copy pasta, I need carbs! --- deps-packaging/lcov/cfbuild-lcov.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deps-packaging/lcov/cfbuild-lcov.spec b/deps-packaging/lcov/cfbuild-lcov.spec index d555063d2..04bcb278d 100644 --- a/deps-packaging/lcov/cfbuild-lcov.spec +++ b/deps-packaging/lcov/cfbuild-lcov.spec @@ -28,14 +28,14 @@ exit 0 rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr CFG_DIR=/etc # cleanup bits we don't need to package -rm -rf ${RPM_BUILD_ROOT}%{prefix}/usr/bin/perl2lcov -rm -rf ${RPM_BUILD_ROOT}%{prefix}/usr/bin/py2lcov -rm -rf ${RPM_BUILD_ROOT}%{prefix}/usr/bin/xml2lcov -rm -rf ${RPM_BUILD_ROOT}%{prefix}/usr/bin/xml2lcovutil.py -rm -rf ${RPM_BUILD_ROOT}%{prefix}/usr/lib/lcov/lcovutil.pm -rm -rf ${RPM_BUILD_ROOT}%{prefix}/usr/share/lcov/example/Makefile -rm -rf ${RPM_BUILD_ROOT}%{prefix}/support-scripts -rm -rf ${RPM_BUILD_ROOT}%{prefix}/tests +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/usr/bin/perl2lcov +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/usr/bin/py2lcov +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/usr/bin/xml2lcov +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/usr/bin/xml2lcovutil.py +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/usr/lib/lcov/lcovutil.pm +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/usr/share/lcov/example/Makefile +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/support-scripts +rm -rf ${RPM_BUILD_ROOT}%{buildprefix}/tests %clean rm -rf $RPM_BUILD_ROOT