Skip to content

Commit dcceb6d

Browse files
committed
Fix RPM specification
Signed-off-by: Henry Cox <[email protected]>
1 parent 79e574b commit dcceb6d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rpm/lcov.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ Prefix: /etc
1515
# Force older/more compatible payload compression and digest versions
1616
%define _binary_filedigest 1
1717
%define _binary_payload w9.gzdio
18+
%global __python %{__python3}
1819

1920
# lcov Perl modules are not intended for use by other packages
20-
%define __requires_exclude ^perl\\(lcovutil\\)$
21+
%define __requires_exclude ^perl\\(lcovutil\\)$|^perl\\((criteria)\\)$|^perl\\((annotateutil)\\)$|^perl\\((gitblame)\\)$|^perl\\((gitversion)\\)$|^perl\\((p4annotate)\\)
2122
%define __provides_exclude ^perl.*$
2223

2324
%description
@@ -48,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
4849
/usr/bin/*
4950
/usr/lib/*
5051
/usr/share/man/man*/*
51-
/usr/share/lcov/support-scripts/*
52+
/usr/share/lcov/*
5253
%config /etc/*
5354

5455
%changelog

0 commit comments

Comments
 (0)