From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002093.html | 93 ++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002093.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002093.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002093.html b/zarb-ml/mageia-sysadm/2011-January/002093.html new file mode 100644 index 000000000..484c0417c --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002093.html @@ -0,0 +1,93 @@ + + + + [Mageia-sysadm] [295] - properly set each rpm macros at import + + + + + + + + + +

[Mageia-sysadm] [295] - properly set each rpm macros at import

+ Olivier Blin + mageia at blino.org +
+ Fri Jan 14 17:46:14 CET 2011 +

+
+ +
nicolas vigier <boklm at mars-attacks.org> writes:
+
+> On Fri, 14 Jan 2011, root at mageia.org wrote:
+>
+>> - properly set each rpm macros at import
+
+[...]
+
+>>      def unpack(self, topdir):
+>> -        execcmd("rpm -i --define '_topdir %s' %s" % (topdir, self.filename))
+>> +        execcmd("rpm -i --define '_sourcedir %s/SOURCES' " + 
+>> +        "--define '_specdir %s/SPECS' --define '_patchdir %s/SPECS' %s"
+>> +        % (topdir, topdir, topdir, self.filename))
+>
+> _patchdir in SPECS dir now ?
+
+And why not keep using topdir ?
+
+-- 
+Olivier Blin - blino
+
+ + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1