summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/002095.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/002095.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-January/002095.html123
1 files changed, 123 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/002095.html b/zarb-ml/mageia-sysadm/2011-January/002095.html
new file mode 100644
index 000000000..0f022e3a2
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-January/002095.html
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [295] - properly set each rpm macros at import
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B295%5D%20-%20properly%20set%20each%20rpm%20macros%20at%20import&In-Reply-To=%3C20110114174016.GA10402%40virgo.home.nanardon.zarb.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002093.html">
+ <LINK REL="Next" HREF="002085.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [295] - properly set each rpm macros at import</H1>
+ <B>Olivier Thauvin</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B295%5D%20-%20properly%20set%20each%20rpm%20macros%20at%20import&In-Reply-To=%3C20110114174016.GA10402%40virgo.home.nanardon.zarb.org%3E"
+ TITLE="[Mageia-sysadm] [295] - properly set each rpm macros at import">nanardon at nanardon.zarb.org
+ </A><BR>
+ <I>Fri Jan 14 18:40:16 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002093.html">[Mageia-sysadm] [295] - properly set each rpm macros at import
+</A></li>
+ <LI>Next message: <A HREF="002085.html">[Mageia-sysadm] [296] - fix string formating
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2095">[ date ]</a>
+ <a href="thread.html#2095">[ thread ]</a>
+ <a href="subject.html#2095">[ subject ]</a>
+ <a href="author.html#2095">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>* Olivier Blin (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">mageia at blino.org</A>) wrote:
+&gt;<i> nicolas vigier &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">boklm at mars-attacks.org</A>&gt; writes:
+</I>&gt;<i>
+</I>&gt;<i> &gt; On Fri, 14 Jan 2011, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> wrote:
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;&gt; - properly set each rpm macros at import
+</I>&gt;<i>
+</I>&gt;<i> [...]
+</I>&gt;<i>
+</I>&gt;<i> &gt;&gt; def unpack(self, topdir):
+</I>&gt;<i> &gt;&gt; - execcmd(&quot;rpm -i --define '_topdir %s' %s&quot; % (topdir, self.filename))
+</I>&gt;<i> &gt;&gt; + execcmd(&quot;rpm -i --define '_sourcedir %s/SOURCES' &quot; +
+</I>&gt;<i> &gt;&gt; + &quot;--define '_specdir %s/SPECS' --define '_patchdir %s/SPECS' %s&quot;
+</I>&gt;<i> &gt;&gt; + % (topdir, topdir, topdir, self.filename))
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; _patchdir in SPECS dir now ?
+</I>&gt;<i>
+</I>&gt;<i> And why not keep using topdir ?
+</I>
+Because:
+
+[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">olivier at volantis</A> trunk]$ grep _sourcedir ~/.rpmmacros
+%_sourcedir %(echo `pwd`/SOURCES)
+
+Which make the mgarepo to fail and writing where I don't want.
+
+But in this case, why is it used in the same software elsewhere ? :)
+MgaRepo/rpmutil.py: sourcedir = &quot;--define '_sourcedir %s/%s'&quot; % (tmpdir, &quot;SOURCES&quot;)
+MgaRepo/rpmutil.py: (sourcecmd, topdir, builddir, rpmdir, sourcedir, specdir,
+
+Regards.
+
+&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Olivier Blin - blino
+</I>&gt;<i> _______________________________________________
+</I>&gt;<i> Mageia-sysadm mailing list
+</I>&gt;<i> <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">Mageia-sysadm at mageia.org</A>
+</I>&gt;<i> <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">https://www.mageia.org/mailman/listinfo/mageia-sysadm</A>
+</I>--
+
+Olivier Thauvin
+CNRS - LATMOS
+&#9814; &#9816; &#9815; &#9813; &#9812; &#9815; &#9816; &#9814;
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: not available
+Type: application/pgp-signature
+Size: 197 bytes
+Desc: not available
+URL: &lt;/pipermail/mageia-sysadm/attachments/20110114/e1ef4ec6/attachment.asc&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002093.html">[Mageia-sysadm] [295] - properly set each rpm macros at import
+</A></li>
+ <LI>Next message: <A HREF="002085.html">[Mageia-sysadm] [296] - fix string formating
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2095">[ date ]</a>
+ <a href="thread.html#2095">[ thread ]</a>
+ <a href="subject.html#2095">[ subject ]</a>
+ <a href="author.html#2095">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>