[Mageia-dev] Release blocker bugs

Guillaume Rousse guillomovitch at gmail.com
Thu Apr 26 16:35:31 CEST 2012


Le 26/04/2012 13:56, Thierry Vignaud a écrit :
> 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.
I humbly apologize for pasting at least 5 perfectly useless lines. 
Ooooops, I did it again !


> 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$!;
As a filename, probably not. As a systemd service name, I have no clue. 
But yes, it's safer.

-- 
There's always room to merge behind a diesel bus
		-- Murphy's Driving Laws n°4


More information about the Mageia-dev mailing list