[Mageia-dev] Release blocker bugs

Thierry Vignaud thierry.vignaud at gmail.com
Thu Apr 26 13:56:50 CEST 2012


On 26 April 2012 13:29, Guillaume Rousse <guillomovitch at gmail.com> wrote:
>> I've never played with any spec-helper stuff so I'd rather not do this,
>> but if no-one else steps up, I might be able to look tonight.
>
> Actually, it's rather something for rpm-mageia-setup, which contains all
> other automatic dependencies handlers.
>
> Here is a quick prototype, built to be easily extendable in the future for
> similar cases.

Please quote only what's needed next time.

If find this slighty more readable:
    return if $file !~ m!/lib/systemd/system/\S+\.service$!;

Also you're explicitly ignoring files with spaces which is not illegal per se,
so this would be better:
    return if $file !~ m!/lib/systemd/system/.+\.service$!;


More information about the Mageia-dev mailing list