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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Packages for review
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Packages%20for%20review&In-Reply-To=%3C50BBB1CA.5090504%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="020483.html">
<LINK REL="Next" HREF="020473.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Packages for review</H1>
<B>Barry Jackson</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Packages%20for%20review&In-Reply-To=%3C50BBB1CA.5090504%40zen.co.uk%3E"
TITLE="[Mageia-dev] Packages for review">zen25000 at zen.co.uk
</A><BR>
<I>Sun Dec 2 20:53:46 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="020483.html">[Mageia-dev] Packages for review
</A></li>
<LI>Next message: <A HREF="020473.html">[Mageia-dev] Asia-Pacific packager newbie needs mentor
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#20501">[ date ]</a>
<a href="thread.html#20501">[ thread ]</a>
<a href="subject.html#20501">[ subject ]</a>
<a href="author.html#20501">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 02/12/12 12:42, Barry Jackson wrote:
><i> On 02/12/12 09:37, Joseph Wang wrote:
</I>>><i> Can someone check the following package submissions
</I>>><i>
</I>>><i> quantlib
</I>>><i> python-pyp2rpm
</I>>><i> leocad
</I>>><i> leocad-data
</I>>><i>
</I>>><i> Also, does anyone object if I add the following to task-games?
</I>>><i>
</I>>><i> vassal
</I>>><i> simutrans
</I>>><i> leocad (once it gets run)
</I>>><i>
</I>><i> Joseph I notice that some e.g. quantlib (I didn't look at all) of your
</I>><i> specs are missing proper tabbed (or spaced) indentation.
</I>><i> example here <A HREF="http://paste.kde.org/618332/">http://paste.kde.org/618332/</A>
</I>><i>
</I>><i> quantlib:
</I>><i> There is a dot ending summary(s)
</I>><i>
</I>><i> svn should be part of release not version and I don't think the
</I>><i> %if...%endif is going to work as you expect.
</I>><i>
</I>><i>
</I>The %if is OK ignore my last comment ;)
Attached is a patch that shows a possible approach regarding the Release
tag.
-------------- next part --------------
Index: SPECS/quantlib.spec
===================================================================
--- SPECS/quantlib.spec (revision 325459)
+++ SPECS/quantlib.spec (working copy)
@@ -1,11 +1,11 @@
%define svn 0
-%define baseversion 1.2.1
+%define rel 1
%define major 0
%if %svn
-%define version %{baseversion}.svn%{svn}
+%define release %mkrel -c %{svn} %{rel}
%else
-%define version %{baseversion}
+%define release %mkrel %{rel}
%endif
# Define some specific macros
@@ -15,8 +15,8 @@
Summary: The free/open-source library for quantitative finance.
Name: quantlib
-Version: %{version}
-Release: %mkrel 1
+Version: 1.2.1
+Release: %{release}
License: BSD License
Group: System/Libraries
Vendor: QuantLib.org
@@ -29,6 +29,7 @@
URL: <A HREF="http://quantlib.org/">http://quantlib.org/</A>
BuildRequires: boost-devel >= 1.34.1
BuildRequires: doxygen >= 1.3, graphviz
+BuildRequires: emacs
%define libname %mklibname %{name} 1
%define libname_devel %mklibname -d %{name}
@@ -77,7 +78,7 @@
pre-constructed test cases, and helps in validating the library.
%prep
-%setup -q -n QuantLib-%{baseversion}
+%setup -q -n QuantLib-%{version}
%apply_patches
%build
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="020483.html">[Mageia-dev] Packages for review
</A></li>
<LI>Next message: <A HREF="020473.html">[Mageia-dev] Asia-Pacific packager newbie needs mentor
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#20501">[ date ]</a>
<a href="thread.html#20501">[ thread ]</a>
<a href="subject.html#20501">[ subject ]</a>
<a href="author.html#20501">[ 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>
|