rpmlib(ShortCircuited)

Jakub Bogusz qboosh at pld-linux.org
Tue Aug 24 18:01:26 CEST 2021


On Tue, Aug 24, 2021 at 03:12:32PM +0300, Elan Ruusamäe wrote:
> https://www.pld-linux.org/packages/rpm#spec_development
> 
>  *
>    rpm.org rpm generates|rpmlib(ShortCircuited)|dependencies when
>    package is build using|--short-circuit|option. To disable that
>    add|%disable_short_circuited_deps 1|to ~/.rpmmacros
> 
> 
> # rpm -Uhv 
> /home/users/glen/rpm/packages/RPMS/zabbix-common-5.4.3-0.1.x86_64.rpm
> error: Failed dependencies:
>         rpmlib(ShortCircuited) <= 4.9.0-1 is needed by 
> zabbix-common-5.4.3-0.1.x86_64
> 
> 
> this does not seem to work, can't even find matching such macro:
> 
> $ grep -r short_circuited_deps /usr/lib/rpm|wc -l
> 0

I suppose it needs to be set at the time of creating .rpm file, not
installing it.

Test exist in (patched) rpm code, not external macros:

rpm/shortcircuited-deps.patch:+     (rc = packageBinaries(spec, cookie, ((didBuild == 0) && !rpmExpandNumeric("%{?disable_short_circuited_deps}")))))


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list