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-dev/2011-August/007412.html | 121 +++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-August/007412.html (limited to 'zarb-ml/mageia-dev/2011-August/007412.html') diff --git a/zarb-ml/mageia-dev/2011-August/007412.html b/zarb-ml/mageia-dev/2011-August/007412.html new file mode 100644 index 000000000..78bf8f69b --- /dev/null +++ b/zarb-ml/mageia-dev/2011-August/007412.html @@ -0,0 +1,121 @@ + + + + [Mageia-dev] [134638] - clean spec + + + + + + + + + +

[Mageia-dev] [134638] - clean spec

+ andre999 + andr55 at laposte.net +
+ Sun Aug 21 21:43:03 CEST 2011 +

+
+ +
Colin Guthrie a écrit :
+> 'Twas brillig, and Bertaux Xavier at 20/08/11 14:42 did gyre and gimble:
+>> Le 20/08/2011 15:34, D.Morgan a écrit :
+>>> On Sat, Aug 20, 2011 at 3:22 PM,<root at mageia.org>  wrote:
+>>>> Revision 134638 Author shadow95 Date 2011-08-20 15:22:52 +0200 (Sat, 20 Aug
+>>>> 2011)
+>>>>
+>>>> Log Message
+>>>>
+>>>> - clean spec
+>>>>
+>>>> Modified Paths
+>>>>
+>>>
+>>> Why do you clean by removing rpm macros ?  what was wrong with them ?
+>>
+>> Hi,
+>>
+>> sorry I'm apprentice packager !
+>> So on all spec Mageia that I've seen, macro %{_install} and macro
+>> %{_mkdir_p} are not used, but if it's better, I can remake that.
+>> Which difference in install and %{_install} and mkdir -p and %{_mkdir_p} ?
+>
+> I do have to wonder why those macros are used... it seems quite trivial
+> to use the actual commands directly and that ultimately increases
+> portability (which maybe isn't a major concern, but all the same)
+>
+> What are the general thoughts on this?
+>
+> Col
+
+I agree -- as long as there are appropriate filetriggers to deal with things 
+like attributing ownership of created parent directories, etc.
+(Which if I'm not mistaken, should not belong to the packages in question.  If 
+that is wanted, the directory should be explicitly created.)
+
+Considering that, one should be able to do simply
+mkdir ... which defaults to mkdir -p ...
+and
+cp ... which defaults to cp -a ...
+since that is what would normally be wanted.
+There would be less room for error.
+Of course, this should be documented in the packager wiki as well.
+
+My 2 cents :)
+-- 
+André
+
+ + + + + + + + + + + + + + + + + + + + + +
+

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