summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-September/007749.html
blob: 39106f9d891284ee8d0e315a21db45fd714df55e (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
105
106
107
108
109
110
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] perl-Sys-Mmap package review
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20perl-Sys-Mmap%20package%20review&In-Reply-To=%3C4E600703.9000001%40zen.co.uk%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="007719.html">
   <LINK REL="Next"  HREF="007750.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] perl-Sys-Mmap package review</H1>
    <B>Barry Jackson</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20perl-Sys-Mmap%20package%20review&In-Reply-To=%3C4E600703.9000001%40zen.co.uk%3E"
       TITLE="[Mageia-dev] perl-Sys-Mmap package review">zen25000 at zen.co.uk
       </A><BR>
    <I>Fri Sep  2 00:28:19 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="007719.html">[Mageia-dev] perl-Sys-Mmap package review
</A></li>
        <LI>Next message: <A HREF="007750.html">[Mageia-dev] perl-Sys-Mmap package review
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7749">[ date ]</a>
              <a href="thread.html#7749">[ thread ]</a>
              <a href="subject.html#7749">[ subject ]</a>
              <a href="author.html#7749">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 31/08/11 23:17, Guillaume Rousse wrote:
&gt;<i> Le 31/08/2011 15:20, Barry Jackson a &#233;crit :
</I>&gt;&gt;<i> Hello,
</I>&gt;&gt;<i> Would someone please review the attached src.rpm for the above, with a
</I>&gt;&gt;<i> view to committing it.
</I>&gt;<i> Here you have...
</I>&gt;<i>
</I>Many thanks Guillaume

&gt;<i> You'd better use an author-neutral URL for the sources, such as
</I>&gt;<i> <A HREF="http://www.cpan.org/modules/by-module/Sys/%{upstream_name">http://www.cpan.org/modules/by-module/Sys/%{upstream_name</A>}-%{upstream_version}.tar.gz
</I>&gt;<i>
</I>&gt;<i> This way, if another maintainer submit a new version, the URL will stay
</I>&gt;<i> valid (and automatic update tool will work).
</I>&gt;<i>
</I>Yes - I learned something
&gt;<i> The runtime depency on perl is useless: you can't install mageia without
</I>&gt;<i> perl anyway, and the minimal version isn't very helpful either.
</I>&gt;<i>
</I>Done
&gt;<i> But you do need a build dependency (buildrequires) on perl-devel, as it
</I>&gt;<i> is a native perl package, you won't be able to build without it.
</I>&gt;<i>
</I>Done
&gt;<i> you should not include the debug files (the .debug, and the source
</I>&gt;<i> files), they will be automatically included in the implicit
</I>&gt;<i> perl-Sys-Mmap-debug package. Especially as the path you're using here is
</I>&gt;<i> x86_64-specific :) So just forget them.
</I>&gt;<i>
</I>&gt;<i> You should not own the %{perl_vendorlib} directory (it belongs to perl
</I>&gt;<i> package), but just the subdirectory %{perl_vendorlib}/Sys, which is the
</I>&gt;<i> base directory for your package files.
</I>&gt;<i>
</I>Thanks - that explains the problem with the debug etc. as well - they 
were being listed as installed but not packaged hence my comment and 
their inclusion ;)
 &gt;
&gt;<i> The %clean section isn't needed anymore with rpm 4.8
</I>&gt;<i>
</I>OK sth else I learned.
&gt;<i> Usually, the document files (%doc macro) are listed first, but that's
</I>&gt;<i> purely cosmetic.
</I>Moved.

Some of your above comments would also apply to the current 
perl-Sys-Mknod.spec which I used as a template ;)

Updated version attached.

Barry.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: perl-Sys-Mmap.spec
URL: &lt;/pipermail/mageia-dev/attachments/20110901/68dfb8ac/attachment-0001.ksh&gt;
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="007719.html">[Mageia-dev] perl-Sys-Mmap package review
</A></li>
	<LI>Next message: <A HREF="007750.html">[Mageia-dev] perl-Sys-Mmap package review
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7749">[ date ]</a>
              <a href="thread.html#7749">[ thread ]</a>
              <a href="subject.html#7749">[ subject ]</a>
              <a href="author.html#7749">[ 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>