[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 'Requires' directive in spec file ignored?



On Mon, Apr 07, 2008 at 01:00:11PM -0400, Jeff Johnson wrote:
> Basically same as doing
>     %define version %{version}
> which can never be evaluated.

I supply the macro in an external file, so I don't see that complaint.

> After commenting out all the elements in, I see dependencies:

And I don't:

 rpm -q --requires -p mDNSResponder-107.6-2.i386.rpm
 /bin/sh  
 /bin/sh  
 /bin/sh  
 /bin/sh  
 libc.so.6  
 libc.so.6(GLIBC_2.0)  
 libc.so.6(GLIBC_2.1)  
 libc.so.6(GLIBC_2.1.3)  
 libc.so.6(GLIBC_2.2)  
 libc.so.6(GLIBC_2.3)  
 libdns_sd.so  
 libpthread.so.0  
 libpthread.so.0(GLIBC_2.0)  
 libpthread.so.0(GLIBC_2.1)  
 rpmlib(CompressedFileNames) <= 3.0.4-1
 rpmlib(PayloadFilesHavePrefix) <= 4.0-1

> $ rpm -qp mDNSResponder-1.2-3.*.rpm --requires

So - what platform are you building your RPM in?

> /bin/sh
> /bin/sh
> /bin/sh
> /sbin/ldconfig
> /sbin/ldconfig
> executable(chkconfig)
> executable(chkconfig)
> executable(cp)
> executable(cp)
> executable(grep)
> executable(sed)
> executable(service)
> executable(service)
> 
> 73 de Jeff

-- 
Brian Reichert				<reichert numachi com>
55 Crystal Ave. #286			Daytime number: (603) 434-6842
Derry NH 03038-1725 USA			BSD admin/developer at large	


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]