SOURCES: rpm-macros.java - do not use internal dependency generator
Jeff Johnson
n3npq at mac.com
Tue Apr 10 20:48:21 CEST 2007
On Apr 10, 2007, at 2:38 PM, Jakub Bogusz wrote:
> On Wed, Apr 04, 2007 at 01:02:45PM +0200, glen wrote:
>> Author: glen Date: Wed Apr 4 11:02:45
>> 2007 GMT
>> Module: SOURCES Tag: HEAD
>> ---- Log message:
>> - do not use internal dependency generator
>
>> +# rpm itself doesn't recognize .jar and .class
>> +%define _use_internal_dependency_generator 0
>
> So it cannot be used on any package containing ELF files.
> External generators cannot properly mark file colours.
>
Correct.
AFAIK, rpm-4.4.8 classifies (by suffix, not perfect) .jar and .class
files:
Here's lib/rpmfc.c code:
...
/* XXX all files with extension ".jar" are java archives
for now. */
else if (_suffix(s, ".jar"))
ftype = "Java archive file";
/* XXX all files with extension ".class" are java class
files for now. */
else if (_suffix(s, ".class"))
ftype = "Java class file";
73 de Jeff
More information about the pld-devel-en
mailing list