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
|
<!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=%3C1295737990.4234.8.camel%40akroma.ephaone.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Next" HREF="002314.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Compatibility: %mdkversion macro?</H1>
<B>Michael Scherer</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Compatibility%3A%20%25mdkversion%20macro%3F&In-Reply-To=%3C1295737990.4234.8.camel%40akroma.ephaone.org%3E"
TITLE="[Mageia-dev] Compatibility: %mdkversion macro?">misc at zarb.org
</A><BR>
<I>Sun Jan 23 00:13:10 CET 2011</I>
<P><UL>
<LI>Next message: <A HREF="002314.html">[Mageia-dev] [Announce] Rejection of submission with missing dependencies
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2313">[ date ]</a>
<a href="thread.html#2313">[ thread ]</a>
<a href="subject.html#2313">[ subject ]</a>
<a href="author.html#2313">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le vendredi 21 janvier 2011 à 15:45 +0200, Anssi Hannula a écrit :
><i> On 17.01.2011 10:38, Michael scherer wrote:
</I>><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>><i>
</I>><i> The problem is not backports IMO, it is building 3rdparty src.rpm or old
</I>><i> src.rpm on Mageia (i.e. forward-porting), which won't work if we do not
</I>><i> have %mdkversion.
</I>
We could have the macro in a specific rpm. This way, it would be easier
to find when we need them ( ie searching on BuildRequires ) so we can
expect what is needed, and we could more easily rebuild and update if we
need to change the macros ( like, if they change on mandriva level ).
--
Michael Scherer
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Next message: <A HREF="002314.html">[Mageia-dev] [Announce] Rejection of submission with missing dependencies
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2313">[ date ]</a>
<a href="thread.html#2313">[ thread ]</a>
<a href="subject.html#2313">[ subject ]</a>
<a href="author.html#2313">[ 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>
|