summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110208/002495.html
blob: f3853ef84e0cbf798708893d14fd19a8fdad4957 (plain)
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
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] announcing magpie
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20announcing%20magpie&In-Reply-To=%3C20110208150510.GT6023%40mongueurs.net%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002494.html">
   <LINK REL="Next"  HREF="002496.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] announcing magpie</H1>
    <B>Jerome Quelin</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20announcing%20magpie&In-Reply-To=%3C20110208150510.GT6023%40mongueurs.net%3E"
       TITLE="[Mageia-dev] announcing magpie">jquelin at gmail.com
       </A><BR>
    <I>Tue Feb  8 16:05:10 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002494.html">[Mageia-dev] glib 1.2
</A></li>
        <LI>Next message: <A HREF="002496.html">[Mageia-dev] Php : which package provides 'xmlrpc.inc' ?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2495">[ date ]</a>
              <a href="thread.html#2495">[ thread ]</a>
              <a href="subject.html#2495">[ subject ]</a>
              <a href="author.html#2495">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>hi,

i'm happy to announce magpie 1.110390

On 11/01/24 16:42 +0100, Jerome Quelin wrote:
&gt;<i> in my mdv-&gt;mageia conversion, i promised to gather the various scripts
</I>&gt;<i> i'm using to maintain the bulk of perl packages and provide them for
</I>&gt;<i> everyone to use.
</I>&gt;<i> 
</I>&gt;<i> so i'm pleased to announce magpie: MAGeia Perl Integration Easy
</I>&gt;<i> 
</I>&gt;<i> it's available as a perl distribution on cpan (of course), and as a
</I>&gt;<i> package for mageia (i know, mirroring is not yet started).
</I>
this release brings a new subcommand: magpie fixspec

as you can guess, this command will try to sanitize a spec file a bit.
to use it, you must be in a package checkout, and run it without any
argument.

    $ eval $( magpie co perl-Foo-Bar )
    $ magpie fixspec -v

    # to see the list of options
    $ magpie help fix


among the things done:
- it updates %doc depending on the existing files, including meta files
- it splits multiple bundled build-/requires to have only one per line
- it lines up vertically the summary / etc
- it extracts perl buildrequires from meta.json/meta.yml if present
- it removes buildroot definition
- it removes mdv macros


note that the code is not really clean, it might gain from being in its
own module, with real rpm parsing instead of big regexes. also, it
assumes that we're cleaning a perl module spec file, so you're on your
own if you're using it on other spec file: it might remove the whole
svn, eat your babies, or even convert your rpm database to rpm5. you've
been warned. :-)


j&#233;r&#244;me 
-- 
<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jquelin at gmail.com</A>
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002494.html">[Mageia-dev] glib 1.2
</A></li>
	<LI>Next message: <A HREF="002496.html">[Mageia-dev] Php : which package provides 'xmlrpc.inc' ?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2495">[ date ]</a>
              <a href="thread.html#2495">[ thread ]</a>
              <a href="subject.html#2495">[ subject ]</a>
              <a href="author.html#2495">[ 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>