RPM Community Forums

Mailing List Message of <rpm-users>

Re: How is RPMTAG_FILELINKTOS filled?

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Tue 28 Oct 2008 - 18:35:17 CET
Message-Id: <200810281835.17821.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Tuesday 28 October 2008, Jeff Johnson <n3npq@mac.com> wrote:
> What is conceptiually confusing aboy filelinktos (and parentdir)
> dependencies is that there is no change to package metadata content
> whatsoever.
>
> What is being done internally to rpm during install
> is to take RPMTAG_FILELINKTOS (and RPMTAG_DIRNAMES)
> string arrays and wrap the contents as if Requires: had been
> added to the spec file originally.

I already learned that much. :-) 
I was interested in how RPM actually generates this implicit dependency, 
especially concerning manual pages which are regular files and not links.

> Exercise left to lusers to find how to disable the functionality.
>
> Hint: its very not hard.

Thanks, I know where to turn it off. Thing is: I *want* it to be turned on 
and look for a way on how to create better packages. I think this is 
clearly a bug I introduced when packaging and not a fault with RPM, so 
disabling the check will cover my bug, not fix it.

Thanks,
		-- Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkHTVUACgkQfkUtd7QNU/sPMgCcDXSXkK9ZDvKlirmpgs66uTyF
V/sAnRDLqMswMgEJlJmVFSKxQx3+7/kI
=dxCj
-----END PGP SIGNATURE-----
Received on Tue Oct 28 18:35:22 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.