On 10 August 2012 00:07, Olivier Thauvin <[email protected]> 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
