pcp
[Top] [All Lists]

Re: [pcp] Redhat spec file oddity?

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Redhat spec file oddity?
From: Mark Goodwin <goodwinos@xxxxxxxxx>
Date: Fri, 09 Jul 2010 07:29:58 +1000
In-reply-to: <4C351868.2070401@xxxxxxxxx>
References: <1423544260.699871278531754320.JavaMail.root@xxxxxxxxxxxxxxxxxx> <4C351868.2070401@xxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4
On 07/08/2010 10:14 AM, Mark Goodwin wrote:

Looks like the perl man pages have somehow ended up in pcp-libs-devel
and also in the perl-PCP-* packages :

This simple patch fixes it :

diff --git a/build/rpm/pcp_fedora.spec b/build/rpm/pcp_fedora.spec
index f3f43cd..f755751 100644
--- a/build/rpm/pcp_fedora.spec
+++ b/build/rpm/pcp_fedora.spec
@@ -207,7 +207,7 @@ fi
 %{_libdir}/libpcp_pmda.so.2
 %{_libdir}/libpcp_trace.so
 %{_includedir}/pcp/*.h
-%{_mandir}/man3/*
+%{_mandir}/man3/*.3.gz
 %{_datadir}/pcp/demos
 %{_datadir}/pcp/examples

However, that assumes the perl::PCP::* man pages should ship
with the perl packages rather than in pcp-libs-devel. Since
they get installed in man3, you could argue they belong in
the -devel package. Comments?

<Prev in Thread] Current Thread [Next in Thread>