[BUG/poldek] overloaded provides vs. requires.

Paweł Sikora pluto at agmk.net
Tue Feb 28 13:23:59 CET 2006


Hi,

I've found another bug in poldek. Here's a testcase.

$ rpm -qp --provides test2-0.1-1.x86_64.rpm
interface(foo) = 1.0
interface(foo) = 2.0
interface(foo) = 3.0
interface(foo) = 4.0
test2 = 0:0.1-1

$ rpm -qp --requires test2-0.1-1.x86_64.rpm
interface(foo) = 2.0
interface(foo) = 4.0
(...)

$ poldek -i --test test2-0.1-1.x86_64.rpm
(...)
Loading [dir]th-local...
1 package read
Processing dependencies...
error: test2-0.1-1.x86_64: req interface(foo) = 4.0 not found
There are 1 package to install:
I test2-0.1-1.x86_64
Need to get 2.0KB of archives. After unpacking 20.0B will be used.
error: 1 unresolved dependency

ps).
rpm works fine.

-------------- next part --------------
Summary:	overloaded provides / poldek bug
Name:		test2
Version:	0.1
Release:	1
License:	GPL
Group:		Base
Provides:	interface(foo) = 1.0
Provides:	interface(foo) = 2.0
Provides:	interface(foo) = 3.0
Provides:	interface(foo) = 4.0
Requires:	interface(foo) = 2.0
Requires:	interface(foo) = 4.0
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
test
%prep
%build
touch dummy
%install
%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc dummy


More information about the pld-devel-en mailing list