1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Release blocker bugs
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Release%20blocker%20bugs&In-Reply-To=%3C4F995D33.1060108%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="014878.html">
<LINK REL="Next" HREF="014893.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Release blocker bugs</H1>
<B>Guillaume Rousse</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Release%20blocker%20bugs&In-Reply-To=%3C4F995D33.1060108%40gmail.com%3E"
TITLE="[Mageia-dev] Release blocker bugs">guillomovitch at gmail.com
</A><BR>
<I>Thu Apr 26 16:35:31 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="014878.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI>Next message: <A HREF="014893.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14888">[ date ]</a>
<a href="thread.html#14888">[ thread ]</a>
<a href="subject.html#14888">[ subject ]</a>
<a href="author.html#14888">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le 26/04/2012 13:56, Thierry Vignaud a écrit :
><i> On 26 April 2012 13:29, Guillaume Rousse<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>> wrote:
</I>>>><i> I've never played with any spec-helper stuff so I'd rather not do this,
</I>>>><i> but if no-one else steps up, I might be able to look tonight.
</I>>><i>
</I>>><i> Actually, it's rather something for rpm-mageia-setup, which contains all
</I>>><i> other automatic dependencies handlers.
</I>>><i>
</I>>><i> Here is a quick prototype, built to be easily extendable in the future for
</I>>><i> similar cases.
</I>><i>
</I>><i> Please quote only what's needed next time.
</I>I humbly apologize for pasting at least 5 perfectly useless lines.
Ooooops, I did it again !
><i> If find this slighty more readable:
</I>><i> return if $file !~ m!/lib/systemd/system/\S+\.service$!;
</I>><i>
</I>><i> Also you're explicitly ignoring files with spaces which is not illegal per se,
</I>><i> so this would be better:
</I>><i> return if $file !~ m!/lib/systemd/system/.+\.service$!;
</I>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
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="014878.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI>Next message: <A HREF="014893.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14888">[ date ]</a>
<a href="thread.html#14888">[ thread ]</a>
<a href="subject.html#14888">[ subject ]</a>
<a href="author.html#14888">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|