RPM Community Forums

Mailing List Message of <rpm-users>

Where to put distrubtion-specific macros

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Tue 14 Oct 2008 - 17:19:30 CEST
Message-Id: <200810141519.33934.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list,

while switching from rpm-4.4.x to rpm-5.1.x I'm also giving my build system 
a complete revamp. While doing this, I'd like to integrate alot of extra 
functionality used by my specs into the standard macro collection hat comes 
with installing rpm-build, e. g. %{__find} or %{__fakeroot}.

One way would be patching the source for /usr/lib/rpm/macros. While this is 
possible, I'd like to ask before doing this whether there is a more elegant 
way on defining and shipping my own macros?

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

iEYEARECAAYFAkj0uIIACgkQfkUtd7QNU/utHQCfYGm+M2FYwt//zHIKLW/wzIcn
/jkAnA4FX8a+AFH2H9+zn2hyiy2wy3an
=n/fg
-----END PGP SIGNATURE-----
Received on Tue Oct 14 17:19:36 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.