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

Re: RH 7.3, automatic dependency generation



On Mon, Aug 12, 2002 at 07:44:35PM +0200, Martin Goik wrote:
> I have a very trivial file toy.spec containing: 
> ...
> %files
> %defattr(-,root,root)
> %doc /usr/lib/Makefile
> 
> %changelog
> ...
> 
> Now "rpm -bb toy.spec" builds a dummy-1.1-3.i386.rpm package. Installing
> the package yields the following error:
> 
> [root@r151-98 RPMS]# rpm -i dummy-1.1-3.i386.rpm 
> error: failed dependencies:
>         IMAGES   is needed by dummy-1.1-3
> 
> The token IMAGES is taken by some miraculous way from the contained
> Makefile starting with:
> 
> IMAGES = $(wildcard *.xpm)
> ...
> 
> Omitting %doc" does not help at all. According to the docs I read
> automatic dependencies are only generated for binaries or scripts. No
> word about Makefiles. Any idea?
> 

Try
	chmod -x /usr/lib/Makefile

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





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