package names in dependencies

Neal Gompa ngompa13 at gmail.com
Tue Mar 23 11:59:54 CET 2021


On Tue, Mar 23, 2021 at 5:04 AM Elan Ruusamäe <glen at pld-linux.org> wrote:
>
> i found some odd inconsistency:
>
>
> error: line 319: Illegal char ')' (0x29) in: Obsoletes: virtual(init-daemon)
> error: line 319: Only package names are allowed in Obsoletes:
> Obsoletes:        virtual(init-daemon)
>
>
> So: "Obsoletes: virtual(init-daemon)" is not okay, but it's fine on some
> other tags;
>
>
> Requires:   webserver(indexfile)
> Requires:   webserver(php) >= 4.2.0
> Suggests:   php(openssl)
> Suggests:   webserver(setenv)
> Provides:   group(eventum)
> Provides:   user(eventum)
>

Obsoletes has to be a real package name, but virtual names are allowed
for other tags.

This was always the case in RPM, but it started enforcing it in RPM 4.13.



-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the pld-devel-en mailing list