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
|