RPM Community Forums

Mailing List Message of <rpm-users>

Re: Glibc %post

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Mon 10 May 2010 - 00:55:53 CEST
Message-Id: <201005100055.55774.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 10 May 2010, Jeff Johnson <n3npq@mac.com> wrote:
> Well you _REALLY_ don't want to do any of that "stuff" while
> upgrading glibc reliably: do your dirty and move on, this _IS_
> the innermost circle of the dependency inferno.

Yikes, no, not for the GLIBC package, sorry for the misunderstanding. This 
question was more generally spoken.

What I wanted to ask is: Consider I have some init file as "Source42: 
myfoo.init", which has stuff like "%{_sbindir}/foodaemon" or 
"%{my_custom_specfile_define}" in it. Is there a way to design a lu 
macro/script I can call from a spec file to do this kind of subsitution? In 
a way of "%{install_init_file %{SOURCE42}}"?

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

iEYEARECAAYFAkvnPXoACgkQhS0drJ3goJInPgCfV8fWggTlbB2mmLj9n4THMj+8
DMMAnRuEMc9kxAK5+cSgt9z3DK0qMqeG
=dmY/
-----END PGP SIGNATURE-----
Received on Mon May 10 00:56:19 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.