[akmods] Make sure help2man uses the binaries we just installed.

Richard Shaw hobbes1069 at rpmfusion.org
Tue Oct 18 20:53:27 CEST 2016


commit 3673a388f93d9ab2d7dab7e624a6ba4ef32142f4
Author: Richard Shaw <hobbes1069 at gmail.com>
Date:   Tue Oct 18 13:53:21 2016 -0500

    Make sure help2man uses the binaries we just installed.

 akmods.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/akmods.spec b/akmods.spec
index b4f2319..550a57a 100644
--- a/akmods.spec
+++ b/akmods.spec
@@ -83,9 +83,11 @@ install -pm 0644 %{SOURCE0} %{buildroot}%{_prefix}/lib/systemd/system-preset/
 # Generate and install man pages.
 mkdir -p %{buildroot}%{_mandir}/man1
 help2man -N -i %{SOURCE3} -s 1 \
-    -o %{buildroot}%{_mandir}/man1/akmods.1 akmods
+    -o %{buildroot}%{_mandir}/man1/akmods.1 \
+       %{buildroot}%{_sbindir}/akmods
 help2man -N -i %{SOURCE3} -s 1 \
-    -o %{buildroot}%{_mandir}/man1/akmodsbuild.1 akmodsbuild
+    -o %{buildroot}%{_mandir}/man1/akmodsbuild.1 \
+       %{buildroot}%{_sbindir}/akmodsbuild
 
 # Install README
 mkdir -p %{buildroot}%{_docdir}/%{name}


More information about the rpmfusion-commits mailing list