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-August/018038.html | 119 +++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-August/018038.html (limited to 'zarb-ml/mageia-dev/2012-August/018038.html') diff --git a/zarb-ml/mageia-dev/2012-August/018038.html b/zarb-ml/mageia-dev/2012-August/018038.html new file mode 100644 index 000000000..cc112b221 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-August/018038.html @@ -0,0 +1,119 @@ + + + + [Mageia-dev] Urpmi raise an erreur when installing a .spec file + + + + + + + + + +

[Mageia-dev] Urpmi raise an erreur when installing a .spec file

+ Thierry Vignaud + thierry.vignaud at gmail.com +
+ Fri Aug 10 00:14:18 CEST 2012 +

+
+ +
On 10 August 2012 00:07, Olivier Thauvin <nanardon at nanardon.zarb.org> wrote:
+> Urpmi wrongly assumed the spec file as binary package:
+>
+> Example:
+>
+> QUOTE:
+>     %define name toto
+>     %define version 1
+>     %define release %mkrel 1
+>
+>     Summary: test
+>     Name: %{name}
+>     Version: %{version}
+>     Release: %{release}
+>     License: GPL
+>     Group: test
+>     BuildRoot: %{_tmppath}/%{name}-buildroot
+>
+>     %description
+>     test
+>
+>     %files
+>     %defattr(-,root,root)
+> END QUOTE
+>
+> $ urpmi toto.spec
+> error: toto-1-1.mga3.x86_64: install failed
+>
+> Now if replace the name by prboom (installed):
+>
+> A requested package cannot be installed:
+> prboom-1-1.mga3.x86_64 (in order to keep prboom-2.5.0-10.mga3.x86_64)
+>
+> So clearly the specfile is treat as a binary rpm and the error reported
+> incorrectly.
+
+ah OK.
+It's b/c of this commit
+http://svnweb.mageia.org/soft/rpm/perl-URPM/trunk/URPM.xs?r1=5029&r2=5031
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

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