Bug 9627

Summary: Wrong location of man file
Product: Sisyphus Reporter: Nikolay A. Fetisov <naf>
Component: apcupsdAssignee: Sergey Y. Afonin <asy>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P2 CC: asy
Version: unstable   
Hardware: all   
OS: Linux   

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
Да, теперь на месте. Спасибо.