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

[Mageia-dev] Another problem with new rpm

+ Pascal Terjan + pterjan at gmail.com +
+ Wed Dec 26 16:11:18 CET 2012 +

+
+ +
On Wed, Dec 26, 2012 at 2:13 PM, 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
+
+And the really annoying ones are: %setup -q -n %{oname}-%{version}
+I would hate to have to expand the variable
+
+ + + + + + + + +
+

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