[PATCH 1/1] Make sure the doc dir is cleaned up on RPM uninstall

Elena Zannoni <[email protected]>
Newsgroups dev.linux.lists.dtrace
Message-ID <[email protected]>
 Add to the RPM file list the entire dtrace doc directory,
 not just its contents

Signed-off-by: Elena Zannoni <[email protected]>
---
 dtrace.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtrace.spec b/dtrace.spec
index 115cea60..a325993a 100644
--- a/dtrace.spec
+++ b/dtrace.spec
@@ -211,7 +211,7 @@ systemctl start dtprobed || :
 %{_datadir}/pkgconfig/dtrace_sdt.pc
 %{_mandir}/man8/dtrace.8.gz
 %{_mandir}/man8/dtprobed.8.gz
-%doc %{_docdir}/dtrace-%{version}/*
+%doc %{_docdir}/dtrace-%{version}
 %{_unitdir}/dtprobed.service
 %{_unitdir}/dtrace-usdt.target
 %{_presetdir}/50-dtprobed.preset
-- 
2.49.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.