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/2012-December/020930.html | 93 ++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-December/020930.html (limited to 'zarb-ml/mageia-dev/2012-December/020930.html') diff --git a/zarb-ml/mageia-dev/2012-December/020930.html b/zarb-ml/mageia-dev/2012-December/020930.html new file mode 100644 index 000000000..67ef1a9d9 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-December/020930.html @@ -0,0 +1,93 @@ + + + + [Mageia-dev] Another problem with new rpm + + + + + + + + + +

[Mageia-dev] Another problem with new rpm

+ Jani Välimaa + jani.valimaa at gmail.com +
+ Wed Dec 26 18:46:56 CET 2012 +

+
+ +
On Wed, 26 Dec 2012 14:13:44 +0000
+Pascal Terjan <pterjan at gmail.com> wrote:
+
+> It seems you can no longer use a variable not coming from a tag as a
+> parameter of %setup
+> 
+> The following spec leads to error: line 88: Bad %setup option -n:
+> missing argument
+> 
+> %define pre     rc5
+> %define rel     5
+> 
+> %if %pre
+> %define release         %mkrel 0.%{pre}.%{rel}
+> %define distname        %{name}-%{version}-%{pre}.tar.bz2
+> %define dirname         %{name}-%{version}~%{pre}
+> %else
+> %define release         %mkrel %{rel}
+> %define distname        %{name}-%{version}.tar.bz2
+> %define dirname         %{name}-%{version}
+> %endif
+> 
+> [...]
+> 
+> %setup -q -n %{dirname}
+> 
+> So far 8 packages are affected
+
+Similar approach works at least for openttd.
+
+However macro isn't called %dirname in openttd.spec. What if you
+rename %dirname to something else?
+
+ + + + + + + + +
+

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