summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-June/005412.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-June/005412.html')
-rw-r--r--zarb-ml/mageia-dev/2011-June/005412.html175
1 files changed, 175 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-June/005412.html b/zarb-ml/mageia-dev/2011-June/005412.html
new file mode 100644
index 000000000..2f23dfaf7
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-June/005412.html
@@ -0,0 +1,175 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] get-skype package for submission
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20get-skype%20package%20for%20submission&In-Reply-To=%3C4DF39FCE.2070809%40iki.fi%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="005411.html">
+ <LINK REL="Next" HREF="005414.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] get-skype package for submission</H1>
+ <B>Anssi Hannula</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20get-skype%20package%20for%20submission&In-Reply-To=%3C4DF39FCE.2070809%40iki.fi%3E"
+ TITLE="[Mageia-dev] get-skype package for submission">anssi.hannula at iki.fi
+ </A><BR>
+ <I>Sat Jun 11 19:03:10 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="005411.html">[Mageia-dev] get-skype package for submission
+</A></li>
+ <LI>Next message: <A HREF="005414.html">[Mageia-dev] get-skype package for submission
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5412">[ date ]</a>
+ <a href="thread.html#5412">[ thread ]</a>
+ <a href="subject.html#5412">[ subject ]</a>
+ <a href="author.html#5412">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 11.06.2011 19:13, Barry Jackson wrote:
+&gt;<i> On 11/06/11 09:14, Anssi Hannula wrote:
+</I>&gt;<i> ---------snip---------
+</I>&gt;&gt;<i> Probably the easiest way is to use a fixed location under
+</I>&gt;&gt;<i> %{_localstatedir}/lib/%{name} for the tarball instead. Then you can use
+</I>&gt;&gt;<i> mktemp locally in %post.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Also, is there a need to use -q for mktemp?
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Thanks - that works fine and is certainly the least complicated way to
+</I>&gt;<i> do this. I could have created a script for use in %post while in %pre,
+</I>&gt;<i> but it would have made the spec harder to read.
+</I>&gt;<i>
+</I>&gt;<i> I have dealt with all the points you raised in the attached spec which
+</I>&gt;<i> is working OK.
+</I>&gt;<i> Please dissect it and comment again if you see any blunders ;)
+</I>&gt;<i>
+</I>&gt;<i> I will update the tar.gz in the bug report with this latest version.
+</I>
+OK, here goes :)
+
+- I see you didn't get what I meant with the versionized filelist files.
+ The idea was that if someone updates the package to a new skype
+ version, the rpmbuild process would fail if one didn't touch the
+ filelist files. With your changes such a failure doesn't happen.
+ You need to use lang-%{version}.txt instead, so that when someone
+ updates %version, it will automatically start failing until the lang
+ list file is updated/moved.
+
+- Best to add a comment in the %post script to remind that any new files
+ need to have a %ghost entry created.
+ (btw: an alternative idea is to create a post-script and the filelist
+ at the same time in a single for loop in %build/%install, so that
+ the lists can never get out of sync as they are created from a single
+ list; however, your current solution is adequate as well)
+
+- Why define %tmpextdir instead of using $newtmp directly? Quite
+ confusing as %variables are defined at build-time while $variables
+ at run-time.
+
+- You don't check for failures. If the mktemp call fails, you extract
+ the tarball into /root etc.etc.. You need to check for failures on
+ the mktemp/mkdir/cd commands (mktemp failure can be detected by
+ checking if $newtmp string is empty), or alternatively run &quot;set -e&quot;
+ to make the shell exit on failures (this leaves the tmpdir polluted,
+ but it doesn't matter as much as it is an uncommon failure case and
+ /tmp is cleaned periodically anyway).
+
+- Dot in Summary.
+
+- Noarch seems wrong to me.
+
+--
+Anssi Hannula
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="005411.html">[Mageia-dev] get-skype package for submission
+</A></li>
+ <LI>Next message: <A HREF="005414.html">[Mageia-dev] get-skype package for submission
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5412">[ date ]</a>
+ <a href="thread.html#5412">[ thread ]</a>
+ <a href="subject.html#5412">[ subject ]</a>
+ <a href="author.html#5412">[ 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>