Bug 9627 - Wrong location of man file
Summary: Wrong location of man file
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apcupsd (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Sergey Y. Afonin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 07:31 MSD by Nikolay A. Fetisov
Modified: 2009-05-10 09:33 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay A. Fetisov 2006-05-29 07:31:46 MSD
$ 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 Sergey Y. Afonin 2006-05-29 10:03:36 MSD
Исправлено в 3.12.3-alt1. 
Comment 2 Nikolay A. Fetisov 2006-06-01 08:42:47 MSD
Да, теперь на месте. Спасибо.