pcp
[Top] [All Lists]

Re: [pcp] rhel compat package disable

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] rhel compat package disable
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Mon, 14 Sep 2015 09:57:19 +0300
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <55F2F6D8.4000800@xxxxxxxxxxx>
Organization: Red Hat
References: <55F2F6D8.4000800@xxxxxxxxxxx>
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
Hi,

On 2015-09-11 18:44, Martins Innus wrote:
> Hi,
>     Any thoughts on providing something like this in the rpm build process:
> 
> -%global with_compat 1
> +%global with_compat 0%{!?_without_compat:1}
> 
> [vagrant@centos7 rpm]$ sudo rpm -ivh pcp-3.10.7-1.x86_64.rpm
> pcp-libs-devel-3.10.7-1.x86_64.rpm pcp-libs-3.10.7-1.x86_64.rpm
> pcp-conf-3.10.7-1.x86_64.rpm perl-PCP-* python-pcp-3.10.7-1.x86_64.rpm
> pcp-pmda-slurm-3.10.7-1.x86_64.rpm
> error: Failed dependencies:
>     pcp-compat is needed by pcp-3.10.7-1.x86_64
> 
> That is, I can't figure out a way to do a minimal install. With that
> patch, and the appropriate setting in the pmmacros file, all works well:
> 
> Is there a different way to do a minimal install?

how about building a zero payload pcp-compat-compat package locally
which Provides/Obsoletes pcp-compat?

Cheers,

-- 
Marko Myllynen

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