RPM installs files in %{doc} not to /usr/share/doc/packages/%{name}, but to /usr/share/doc/packages/%{name}-%{version}. Fix the Makefile so documentation installs into the correct directory. --- tgt.spec | 1 - usr/Makefile | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/tgt.spec b/tgt.spec index 33bd581..087338a 100644 --- a/tgt.spec +++ b/tgt.spec @@ -75,7 +75,6 @@ fi %{_sbindir}/tgtimg %{_sbindir}/tgt-admin %{_sbindir}/tgt-setup-lun -%{_docdir}/%{name}/* %{_mandir}/man8/* %{_initrddir}/tgtd %attr(0600,root,root) %config(noreplace) /etc/sysconfig/tgtd diff --git a/usr/Makefile b/usr/Makefile index 05382da..8fe204f 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -2,7 +2,7 @@ VERSION = 0.9.8 EXTRAVERSION = $(if $(shell git-show-ref 2>/dev/null),-git-$(shell git-show-ref --head --abbrev|head -1|awk '{print $$1}')) mandir = /usr/share/man -docdir = /usr/share/doc/tgt +docdir = /usr/share/doc/tgt-$(VERSION) ifneq ($(IBMVIO),) CFLAGS += -DIBMVIO -DUSE_KERNEL -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html