pcp
[Top] [All Lists]

Re: [pcp] Redhat spec file oddity?

To: Mark Goodwin <goodwinos@xxxxxxxxx>
Subject: Re: [pcp] Redhat spec file oddity?
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 9 Jul 2010 09:26:51 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <4C364356.8070603@xxxxxxxxx>
----- "Mark Goodwin" <goodwinos@xxxxxxxxx> wrote:

> 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?

Leave 'em ship with the perl packages as always IMO.  Otherwise,
your patch is incomplete & you will need to enforce an incompat
rule or two between versions. :)

cheers.

-- 
Nathan

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