On Fri, 2003-01-17 at 10:40, Bret Hughes wrote:
> Brand new 7.3 install with all updates:
>
> I am building spamassassin from the src rpm and it fails 'cause the man
> pages are not in the right place.
>
> the build says
>
> RPM build errors:
> File not found by glob:
> /var/tmp/spamassassin-root/usr/share/man/man1/*
> File not found by glob:
> /var/tmp/spamassassin-root/usr/share/man/man3/*
>
> well sure enough the man pages are in
> /var/tmp/spamassassin-root/usr/man/man3/*
>
> not in share.
>
> I also built fprot and I noticed that the man pages were put int
> /usr/man instead of /usr/share/man
>
> so I wondered how does that happen? Digging around a bit in the spec
> file I noticed that _man is referenced and _man in /usr/lib/rpm/macros
> is defined as /usr/man.
>
> aha I says. I am going to change it to usr/share/man and I suspect that
> it will work but the question is why is this value set this way. Is it
> indeed an error or should it be set somewhere else?
>
> Of course the build should not check in a specific place since it can be
> overridden by RPM. I am guessing that it is in the Makefile somewhere
> but have not looked yet.
>
> Am I screwing up by changing the _man definition in /usr/lib/rpm/macros?
>
I guess not since it did not change the behavior.
>From /usr/lib/rpm/macros
%_infodir %{_prefix}/share/info
%_mandir %{_prefix}/share/man
files still get placed in /var/tmp/spamassassin-root/usr/man
Any tips?
Bret
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list