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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] [packages-commits] [189967] - version upgrade
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bpackages-commits%5D%20%5B189967%5D%20-%20version%20upgrade&In-Reply-To=%3C4F05F6C2.3030403%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="011006.html">
<LINK REL="Next" HREF="010993.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] [packages-commits] [189967] - version upgrade</H1>
<B>Matteo</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bpackages-commits%5D%20%5B189967%5D%20-%20version%20upgrade&In-Reply-To=%3C4F05F6C2.3030403%40gmail.com%3E"
TITLE="[Mageia-dev] [packages-commits] [189967] - version upgrade">pasotti.matteo at gmail.com
</A><BR>
<I>Thu Jan 5 20:15:14 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="011006.html">[Mageia-dev] [packages-commits] [189967] - version upgrade
</A></li>
<LI>Next message: <A HREF="010993.html">[Mageia-dev] [packages-commits] [189967] - version upgrade
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10989">[ date ]</a>
<a href="thread.html#10989">[ thread ]</a>
<a href="subject.html#10989">[ subject ]</a>
<a href="author.html#10989">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Il 03/01/2012 17:18, Jani Välimaa ha scritto:
><i> 2012/1/3 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>>:
</I>>><i> Revision 189967 Author matteo Date 2012-01-03 16:46:56 +0100 (Tue, 03 Jan
</I>>><i> 2012)
</I>>><i>
</I>>><i> Log Message
</I>>><i>
</I>>><i> - version upgrade
</I>>><i> - used macros instead of command names
</I>>><i>
</I>>><i> Modified Paths
</I>>><i>
</I>>><i> cauldron/x86info/current/SPECS/x86info.spec
</I>>><i>
</I>>><i> Modified: cauldron/x86info/current/SPECS/x86info.spec
</I>>><i> ===================================================================
</I>>><i> --- cauldron/x86info/current/SPECS/x86info.spec 2012-01-03 15:45:07 UTC (rev
</I>>><i> 189966)
</I>>><i> +++ cauldron/x86info/current/SPECS/x86info.spec 2012-01-03 15:46:56 UTC (rev
</I>>><i> 189967)
</I>>><i> @@ -1,5 +1,5 @@
</I>>><i> %define name x86info
</I>>><i> -%define version 1.29
</I>>><i> +%define version 1.30
</I>>><i> %define realver %{version}
</I>>><i> #define cvsdate 20050420
</I>>><i>
</I>>><i> @@ -11,7 +11,7 @@
</I>>><i> Group: System/Kernel and hardware
</I>>><i> BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
</I>>><i> URL: <A HREF="http://www.codemonkey.org.uk/projects/x86info/">http://www.codemonkey.org.uk/projects/x86info/</A>
</I>>><i> -Source0: %{name}-%{realver}%{?cvsdate:-%{cvsdate}}.tar.bz2
</I>>><i> +Source0: %{name}-%{realver}%{?cvsdate:-%{cvsdate}}.tgz
</I>>><i> Patch0: x86info-1.17-intel-flags.patch
</I>>><i> Patch1: x86info-1.17-intel-caches.patch
</I>>><i> Patch2: x86info-1.17-cpuid-with-ecx-input.patch
</I>>><i> @@ -33,17 +33,18 @@
</I>>><i> %setup -q -n %{name}-%{realver}
</I>>><i>
</I>>><i> %build
</I>>><i> -make CFLAGS="%{optflags}"
</I>>><i> +#make CFLAGS="%{optflags}"
</I>>><i> +%make
</I>>><i>
</I>>><i> %install
</I>>><i> -rm -rf %{buildroot}
</I>>><i> -install -d %{buildroot}%{_bindir}
</I>>><i> -install -d %{buildroot}%{_mandir}/man1
</I>>><i> -install -m755 %{name} %{buildroot}%{_bindir}/
</I>>><i> -install -m755 %{name}.1 %{buildroot}%{_mandir}/man1/
</I>>><i> +%__rm -rf %{buildroot}
</I>>><i> +%__install -d %{buildroot}%{_bindir}
</I>>><i> +%__install -d %{buildroot}%{_mandir}/man1
</I>>><i> +%__install -m755 %{name} %{buildroot}%{_bindir}/
</I>>><i> +%__install -m755 %{name}.1 %{buildroot}%{_mandir}/man1/
</I>>><i>
</I>><i>
</I>><i> I think this is pretty much opposite what everyone else is doing. IMHO
</I>><i> this also makes .spec harder to read.
</I>Hi Jani,
I'm not able to find references on our wiki that say macros (like
%__install or %__rm) are deprecated, can You point me in the right
direction, please?
IMHO the spec file is as readable as the others.
Regards,
- --
Matteo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mageia - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A>
iQEcBAEBAgAGBQJPBfa/AAoJED3LowjDDWbNTCkH+QF1KleqJc1qU5qyjE7X4dtM
FL7iC3OAN93yvVYp57ABHKy9RTF87vbcg6TcRn47BrL4kk8kTUvRftSW94kOIfAJ
Mp7bINrX7UjKPIS4VMvKW56yUN4JMPMcJ9f7pNIE25tnwBzg+Ov0A9MiqVMEZqQE
28GSbl63OFnBag0bDsLKd8POveH91N7FivKcQ5KKwGXm/kw60dlHqn0EH06DSMkV
jTrLU6j4iUvuPitcm22kBtYPsppTyuKmisGrGwCUoJu2sLMZon0zOTbq0GJnSqDb
EhV6w7NiW6ZQeM1+Zvc9IsftzCrJgoWsrTRvabH8B5CPQHb1AcDdid3oSW7SU3Y=
=Zrqs
-----END PGP SIGNATURE-----
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="011006.html">[Mageia-dev] [packages-commits] [189967] - version upgrade
</A></li>
<LI>Next message: <A HREF="010993.html">[Mageia-dev] [packages-commits] [189967] - version upgrade
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10989">[ date ]</a>
<a href="thread.html#10989">[ thread ]</a>
<a href="subject.html#10989">[ subject ]</a>
<a href="author.html#10989">[ 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>
|