diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20110115/003407.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20110115/003407.html | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20110115/003407.html b/zarb-ml/mageia-discuss/20110115/003407.html new file mode 100644 index 000000000..64b10066e --- /dev/null +++ b/zarb-ml/mageia-discuss/20110115/003407.html @@ -0,0 +1,109 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] Trying to learn a little about packaging + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Trying%20to%20learn%20a%20little%20about%20packaging&In-Reply-To=%3C20110115083050.GA4804%40shikamaru.fr%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003406.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Trying to learn a little about packaging</H1> + <B>Remy CLOUARD</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Trying%20to%20learn%20a%20little%20about%20packaging&In-Reply-To=%3C20110115083050.GA4804%40shikamaru.fr%3E" + TITLE="[Mageia-discuss] Trying to learn a little about packaging">shikamaru at mandriva.org + </A><BR> + <I>Sat Jan 15 09:30:50 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003406.html">[Mageia-discuss] Trying to learn a little about packaging +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#3407">[ date ]</a> + <a href="thread.html#3407">[ thread ]</a> + <a href="subject.html#3407">[ subject ]</a> + <a href="author.html#3407">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, Jan 14, 2011 at 12:18:58AM -0500, Hoyt Duff wrote: +><i> The .spec file as provided defines %define _prefix as /usr/local. Yes, +</I>><i> I know that it should be /usr for a Mandriva-specific package, but I'd +</I>><i> like to actually build the package first so I can understand what +</I>><i> needs to be patched to build from the pristine sources on +</I>><i> Madriva/Mageia, not start from scratch - that kind of defeats the +</I>><i> purpose of RPM. +</I>Well, the advice I gave you was a way to get the package build, don’t +know what’s wrong with my explanation, macros such as %configure2_5x are +also made to make your life easier like, not worry if the package is +located in the right place, or has the correct CFLAGS ;) +><i> +</I>><i> In the %files section "%{_libdir}/%{name}" should pick up "%_prefix", +</I>><i> but it does not. As a result, some files don't get created in two +</I>><i> directories and the build fails. +</I>><i> +</I>><i> What I'm asking is if there is a difference in how Mandrake handles +</I>><i> that substitution versus how Fedora handles that. I installed Fedora +</I>><i> in a VM and the package builds fine on Fedora, but I get the error on +</I>><i> Madriva. I've examined the .spec file and don't see where there is any +</I>><i> obvious problem, so I'm seeking some guidance as to where to look +</I>><i> deeper. +</I>That’s because some of our macros differ from fedora. I don’t know what +macro they use, but assuming they also don’t diverge on their location, +you could try to have a look at /etc/rpm/macros.d/. + +Also, as I said, rpm --eval could help you see the difference too :-) +><i> +</I>><i> While I can find lots of (mostly useless) info on RPM building through +</I>><i> Google, I'm not sure where to look for any Mandriva docs for that, so +</I>><i> a suggestion for that would be welcome as well. +</I>><i> +</I>I just imported <A HREF="http://mageia.org/wiki/doku.php?id=spec_syntax">http://mageia.org/wiki/doku.php?id=spec_syntax</A> if you +want to take a look, the RPM Howto [1] hasn’t been imported yet, would +you like to step up to help us ? :-) It could help you understand the +different sections by reviewing them carefully. Also, since this howto +is designed to help new packagers, it will also help us clarify some +things that may not be as clear as we meant it. + +[1] +<A HREF="http://wiki.mandriva.com/en/Development/Tasks/Packaging/Tools/RPM/Howto">http://wiki.mandriva.com/en/Development/Tasks/Packaging/Tools/RPM/Howto</A> + +Thanks in advance, + +Regards, +-- +Rémy CLOUARD +() ascii ribbon campaign - against html e-mail +/\ www.asciiribbon.org - against proprietary attachments +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: not available +Type: application/pgp-signature +Size: 230 bytes +Desc: not available +URL: </pipermail/mageia-discuss/attachments/20110115/6d83810a/attachment.asc> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003406.html">[Mageia-discuss] Trying to learn a little about packaging +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#3407">[ date ]</a> + <a href="thread.html#3407">[ thread ]</a> + <a href="subject.html#3407">[ subject ]</a> + <a href="author.html#3407">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |