Skip to content

Commit

Permalink
more cleaning, other spec files use define prefix %{buildprefix} but …
Browse files Browse the repository at this point in the history
…lets remove that complexity and enable more copy pasta, I need carbs!
  • Loading branch information
craigcomstock committed Aug 23, 2024
1 parent be6cc3a commit 76fb2be
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions deps-packaging/lcov/cfbuild-lcov.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76fb2be

Please sign in to comment.