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
111
112
113
114
115
116
117
118
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Compatibility: %mdkversion macro?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Compatibility%3A%20%25mdkversion%20macro%3F&In-Reply-To=%3C4D398E01.10008%40iki.fi%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002290.html">
<LINK REL="Next" HREF="002292.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Compatibility: %mdkversion macro?</H1>
<B>Anssi Hannula</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Compatibility%3A%20%25mdkversion%20macro%3F&In-Reply-To=%3C4D398E01.10008%40iki.fi%3E"
TITLE="[Mageia-dev] Compatibility: %mdkversion macro?">anssi.hannula at iki.fi
</A><BR>
<I>Fri Jan 21 14:45:37 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="002290.html">[Mageia-dev] undefined reference to `pow' even with -lm
</A></li>
<LI>Next message: <A HREF="002292.html">[Mageia-dev] Character encoding issue in Mageia identity manager?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2288">[ date ]</a>
<a href="thread.html#2288">[ thread ]</a>
<a href="subject.html#2288">[ subject ]</a>
<a href="author.html#2288">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 17.01.2011 10:38, Michael scherer wrote:
><i> On Sun, Jan 16, 2011 at 01:19:29AM +0100, Samuel Verschelde wrote:
</I>>><i> Le dimanche 16 janvier 2011 00:07:56, Anssi Hannula a écrit :
</I>>>><i> Hi all!
</I>>>><i>
</I>>>><i> Should we have a %mdkversion (and %mdkver/%mdvver) that is hardcoded to
</I>>>><i> 201100 for the time being, or should we not have one at all?
</I>>>><i>
</I>>>><i> Not having it will cause any src.rpms that have any
</I>>>><i> "%if %mdkversion < x" to fail to build.
</I>>>><i>
</I>>>><i> I'm strongly in favor of having it for compatibility reasons, so that
</I>>>><i> most MDV src.rpms keep building on Mageia for the time being, including
</I>>>><i> those provided by any 3rd party packagers.
</I>>>><i>
</I>>>><i> Not having the macro will cause us to lose that compatibility for very
</I>>>><i> little benefit, IMO. It could maybe be removed after several releases,
</I>>>><i> but not before.
</I>>>><i>
</I>>>><i> However, it seems blino disagreed with this, and he thinks we should not
</I>>>><i> have these macros at all.
</I>>>><i>
</I>>>><i> What do other people think?
</I>>><i>
</I>>><i> If not having those macros means we can't compile mdv SRPMS on mageia, then
</I>>><i> I'd prefer we keep it.
</I>><i>
</I>><i> then keep them forever ?
</I>><i>
</I>><i> Because for one, mdkversion should have disappeared when the suffix was changed,
</I>><i> something like 5 years ago. And the fact we still rely on it is not a good sign.
</I>><i>
</I>><i> More ever, even on Mandriva, most of them do not make much sense. Most of the software
</I>><i> are not backported ( as the usage of the macros is mainly for stuff replaced
</I>><i> by filetrigger ), and they are never cleaned.
</I>><i>
</I>><i> On the file trigger side, we have most of the macros going back to 2009.0, where we
</I>><i> can't backport anything on the BS. And 2010.0 for the trigger for web application, and
</I>><i> I do not think we backport them usually ( as people barely see the value of packaging
</I>><i> them... ).
</I>><i>
</I>><i> So I think we will not have much problem, except this force us to do more cleaning.
</I>><i> Cleaning that obviously didn't happened before, as we are needing to do it now.
</I>><i>
</I>><i> So drop it, have more generic macros, and smarter policy.
</I>
The problem is not backports IMO, it is building 3rdparty src.rpm or old
src.rpm on Mageia (i.e. forward-porting), which won't work if we do not
have %mdkversion.
--
Anssi Hannula
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002290.html">[Mageia-dev] undefined reference to `pow' even with -lm
</A></li>
<LI>Next message: <A HREF="002292.html">[Mageia-dev] Character encoding issue in Mageia identity manager?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2288">[ date ]</a>
<a href="thread.html#2288">[ thread ]</a>
<a href="subject.html#2288">[ subject ]</a>
<a href="author.html#2288">[ 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>
|