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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Looking for a mentor
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Looking%20for%20a%20mentor&In-Reply-To=%3C1307478086.27877.146.camel%40akroma.ephaone.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="005186.html">
<LINK REL="Next" HREF="005190.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Looking for a mentor</H1>
<B>Michael Scherer</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Looking%20for%20a%20mentor&In-Reply-To=%3C1307478086.27877.146.camel%40akroma.ephaone.org%3E"
TITLE="[Mageia-dev] Looking for a mentor">misc at zarb.org
</A><BR>
<I>Tue Jun 7 22:21:26 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="005186.html">[Mageia-dev] Looking for a mentor
</A></li>
<LI>Next message: <A HREF="005190.html">[Mageia-dev] Looking for a mentor
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5189">[ date ]</a>
<a href="thread.html#5189">[ thread ]</a>
<a href="subject.html#5189">[ subject ]</a>
<a href="author.html#5189">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le mardi 07 juin 2011 à 20:19 +0200, Matteo a écrit :
><i> On 07/06/2011 18:53, Michael Scherer wrote:
</I>><i> > Le mardi 07 juin 2011 à 18:35 +0200, Matteo a écrit :
</I>><i> >
</I>><i> >> thank you Nicolas,
</I>><i> >> you can find my small rpm at <A HREF="http://www.mageia.it/rpms">http://www.mageia.it/rpms</A>
</I>><i> >> At the moment axel-2.4-1.i586.rpm contains only the command line tool;
</I>><i> >> no kapt (the gui) into the package, I removed it from the upstream
</I>><i> >> tarball because I think it would be better to build a separate package
</I>><i> >> for that one, am I right?
</I>><i> >
</I>><i> > If it is in the tarball, what should be done is a subpackage rather than
</I>><i> > 2 srpms.
</I>><i> >
</I>><i> > Thi way, you can update both in one round.
</I>><i> Yes, this was my intention, because I've seen a similar solution for the
</I>><i> gambas2 package. Thank you, any suggestion is really welcome :-)
</I>
Ok so reading the spec :
- for versioning, you should use %mkrel
Release: %mkrel %{release}
so this way, the macro will add the proper version ( used for
backporting, etc )
- why such complex construct :
%setup -q -a 0 %{?source_folder:-n %{source_folder}}
should %setup be enough ?
I guess that's due to the repackaging ( that we should try to avoid, as
tarball verification is impossible, and as this is often something we
can overlook when updating the package ( especially with automated tool
like mdvsys ).
- you should use %configure here instead of ./configure :
./configure --etcdir=%{_sysconfdir} --bindir=%{_bindir} --mandir=
%{_mandir} --i18n=1
%configure will enforce some of our compilation flag.
- and %make :
make %{?_smp_mflags}
--
Michael Scherer
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="005186.html">[Mageia-dev] Looking for a mentor
</A></li>
<LI>Next message: <A HREF="005190.html">[Mageia-dev] Looking for a mentor
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5189">[ date ]</a>
<a href="thread.html#5189">[ thread ]</a>
<a href="subject.html#5189">[ subject ]</a>
<a href="author.html#5189">[ 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>
|