commit 68b7ad37fe6ca035689076c5139a1028306b87cd
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Sun Jun 30 10:28:28 2019 -0500
Drop wiiremote man page if support is disabled
kodi.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/kodi.spec b/kodi.spec
index 4583d3b..d306d10 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -427,6 +427,11 @@ ln -sf %{_fontbasedir}/dejavu/DejaVuSans-Bold.ttf
${RPM_BUILD_ROOT}%{_datadir}/k
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/
mv docs/manpages ${RPM_BUILD_ROOT}%{_mandir}/man1/
+# Remove wiiremote man page if support was disabled
+%if ! 0%{?_with_cwiid}
+rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/kodi-wiiremote.1.gz
+%endif
+
%post firewalld
%firewalld_reload
Show replies by date