diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/002084.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/002084.html | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/002084.html b/zarb-ml/mageia-sysadm/2011-January/002084.html new file mode 100644 index 000000000..479e66743 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002084.html @@ -0,0 +1,102 @@ +<!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=%3C20110114122543.D502B42456%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002082.html"> + <LINK REL="Next" HREF="002091.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [295] - properly set each rpm macros at import</H1> + <B>root at mageia.org</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=%3C20110114122543.D502B42456%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [295] - properly set each rpm macros at import">root at mageia.org + </A><BR> + <I>Fri Jan 14 13:25:43 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002082.html">[Mageia-sysadm] [294] check for rpmbuild binary, not just rpm +</A></li> + <LI>Next message: <A HREF="002091.html">[Mageia-sysadm] [295] - properly set each rpm macros at import +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2084">[ date ]</a> + <a href="thread.html#2084">[ thread ]</a> + <a href="subject.html#2084">[ subject ]</a> + <a href="author.html#2084">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 295 +Author: nanardon +Date: 2011-01-14 13:25:43 +0100 (Fri, 14 Jan 2011) +Log Message: +----------- +- properly set each rpm macros at import + +Modified Paths: +-------------- + build_system/mgarepo/trunk/MgaRepo/simplerpm.py + +Modified: build_system/mgarepo/trunk/MgaRepo/simplerpm.py +=================================================================== +--- build_system/mgarepo/trunk/MgaRepo/simplerpm.py 2011-01-14 07:43:10 UTC (rev 294) ++++ build_system/mgarepo/trunk/MgaRepo/simplerpm.py 2011-01-14 12:25:43 UTC (rev 295) +@@ -14,6 +14,8 @@ + self.epoch = None + + 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)) + + # vim:et:ts=4:sw=4 +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20110114/4b5a7ae3/attachment.html> +</PRE> + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002082.html">[Mageia-sysadm] [294] check for rpmbuild binary, not just rpm +</A></li> + <LI>Next message: <A HREF="002091.html">[Mageia-sysadm] [295] - properly set each rpm macros at import +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2084">[ date ]</a> + <a href="thread.html#2084">[ thread ]</a> + <a href="subject.html#2084">[ subject ]</a> + <a href="author.html#2084">[ 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> |