Bug 9627 - Wrong location of man file
: Wrong location of man file
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/apcupsd)
: unstable
: all Linux
: P2 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2006-05-29 07:31 by
Modified: 2009-05-10 09:33 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-05-29 07:31:46
$ rpm -q apcupsd
apcupsd-3.12.2-alt1

$ rpm -ql apcupsd | grep man
/usr/share/man/man8/man8
/usr/share/man/man8/man8/apcupsd.8.bz2
                  ^^^^^^^

Проблема скорее всего в SPEC, 
$ diff -Naur apcupsd.spec.orig apcupsd.spec
--- apcupsd.spec.orig   2006-05-29 07:29:04 +0400
+++ apcupsd.spec        2006-05-29 07:29:13 +0400
@@ -99,7 +99,7 @@
 %makeinstall \
        sysconfdir=$RPM_BUILD_ROOT%_sysconfdir/%name \
        sbindir=$RPM_BUILD_ROOT/sbin \
-       mandir=$RPM_BUILD_ROOT%_man8dir \
+       mandir=$RPM_BUILD_ROOT%_mandir \
        cgibin=$RPM_BUILD_ROOT%_cgibin \
        CSS_DIR=$RPM_BUILD_ROOT%_cgibin \
        #
------- Comment #1 From 2006-05-29 10:03:36 -------
Исправлено в 3.12.3-alt1. 
------- Comment #2 From 2006-06-01 08:42:47 -------
Да, теперь на месте. Спасибо.