Am Freitag, 28. Juli 2006 21:02 schrieb Joachim Banzhaf: > Hi, > > For my various tests I'd like to create rpms with different names. > I thought editing RPMREL in configure.in would be a good place for that (e.g. > 1 -> 1port9) > Didn't work. Has anyone got a better idea?
Well, it would have, if it would be used in heartbeat.spec.in ;-) With this patch you can even build multiple variants at the same time. Just dont try to use hyphens in the release string as I have done in good old murphy tradition. HTH Joachim
--- linux-ha.mod/heartbeat.spec.in 2006-07-14 22:21:09.000000000 +0200 +++ linux-ha/heartbeat.spec.in 2006-07-28 23:21:21.000000000 +0200 @@ -8,13 +8,13 @@ Summary: @HB_PKG@ - The Heartbeat Subsystem for High-Availability Linux Name: @HB_PKG@ Version: @VERSION@ -Release: 1 +Release: @RPMREL@ License: GPL/LGPL URL: http://linux-ha.org/ Group: Utilities Packager: Alan Robertson <[EMAIL PROTECTED]> Source: http://linux-ha.org/download/@[EMAIL PROTECTED]@[EMAIL PROTECTED] -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build BuildPrereq: glib-devel, @UCDSNMPDEVEL@, perl, iputils, /usr/bin/ssh, openssl-devel, libnet # libnet available from www.ultramonkey.org and others Requires: sysklogd, heartbeat-stonith = %{version}-%{release}, heartbeat-pils = %{version}-%{release}, @RPM_MGMT_RUNTIME_REQUIRES@
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
