diff --git a/deps-packaging/lcov/cfbuild-lcov.spec b/deps-packaging/lcov/cfbuild-lcov.spec index 98b5b10d1..356be953b 100644 --- a/deps-packaging/lcov/cfbuild-lcov.spec +++ b/deps-packaging/lcov/cfbuild-lcov.spec @@ -29,7 +29,12 @@ 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 /usr/lib/lcov/lcovutil.pm +rm -rf ${RPM_BUILD_ROOT}/usr/bin/perl2lcov +rm -rf ${RPM_BUILD_ROOT}/usr/bin/py2lcov +rm -rf ${RPM_BUILD_ROOT}/usr/bin/xml2lcov +rm -rf ${RPM_BUILD_ROOT}/usr/bin/xml2lcovutil.py +rm -rf ${RPM_BUILD_ROOT}/usr/lib/lcov/lcovutil.pm +rm -rf ${RPM_BUILD_ROOT}/usr/share/lcov %clean rm -rf $RPM_BUILD_ROOT @@ -42,12 +47,6 @@ rm -rf $RPM_BUILD_ROOT /usr/bin/geninfo /usr/bin/genpng /usr/bin/lcov -/usr/bin/perl2lcov -/usr/bin/py2lcov -/usr/bin/xml2lcov -/usr/bin/xml2lcovutil.py -/usr/lib/lcov/lcovutil.pm -/usr/share/lcov /usr/share/man/man1/gendesc.1.gz /usr/share/man/man1/genhtml.1.gz /usr/share/man/man1/geninfo.1.gz