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: Thu, 08 Jul 2010 10:14:32 +1000
In-reply-to: <1423544260.699871278531754320.JavaMail.root@xxxxxxxxxxxxxxxxxx>
References: <1423544260.699871278531754320.JavaMail.root@xxxxxxxxxxxxxxxxxx>
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 05:42 AM, nathans@xxxxxxxxxx wrote:
Transaction Check Error:
   file /usr/share/man/man3/PCP::PMDA.3pm.gz from install of
pcp-libs-devel-3.3.1-1.el5 conflicts with file from package
perl-PCP-PMDA-3.1.2-1

hurumpf. I saw that when I did the usual upgrade tests 3.x -> 3.3.1-1
on a RHEL5 VM, but it was known to be a dodgy starting point (dodgy
3.x install). So I removed it and installed fresh 3.2 and then did the
upgrade test again and saw no problems.

Is there a reason that moved?  Where is the spec file being used for
these builds, cos building from the PCP tree produces good rpms...

build/rpm/pcp_fedora.spec


5:33 nathans@furnace ~/git/pcp 18$ rpm -ql pcp-libs-devel | grep PCP::PMDA
5:33 nathans@furnace ~/git/pcp 19$ rpm -ql perl-PCP-PMDA | grep PCP::PMDA
/usr/share/man/man3/PCP::PMDA.3pm.gz
5:35 nathans@furnace ~/git/pcp 20$

Looks like the perl man pages have somehow ended up in pcp-libs-devel
and also in the perl-PCP-* packages :
#  pwd
/oss/ftp/projects/pcp/download/rpm/3.3.1-1/el5/x86_64

# rpm -qlp pcp-libs-devel-3.3.1-1.el5.x86_64.rpm | grep "PCP::"
/usr/share/man/man3/PCP::MMV.3pm.gz
/usr/share/man/man3/PCP::PMDA.3pm.gz

# rpm -qlp perl-PCP-PMDA-3.3.1-1.el5.x86_64.rpm | grep "PCP::"
/usr/share/man/man3/PCP::PMDA.3pm.gz

Not sure how that happened - there were no pcp_fedora.spec changes
that I know of that could have caused this, but it needs to be fixed.
I'll get to it later today and report back. When I "saw no problems",
as above, maybe I didn't instal pcp-libs-devel. sigh.

Cheers
-- Mark

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