summaryrefslogtreecommitdiff
path: root/rhel/automake.mk
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-02-03 13:34:45 -0800
committerBen Pfaff <blp@nicira.com>2012-02-03 13:35:24 -0800
commit7b0070063774b65fc881343e5dd74c4eb8eb0e50 (patch)
tree374505ef3ae4a3e79c5718dd3ad355ed1e275472 /rhel/automake.mk
parent828c72d0fc3ab51be3a0890099046739fd46b4e8 (diff)
downloadopenvswitch-7b0070063774b65fc881343e5dd74c4eb8eb0e50.tar.gz
xenserver: Simplify RPM build instructions.
I got tired of trying to follow them properly myself. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'rhel/automake.mk')
-rw-r--r--rhel/automake.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/rhel/automake.mk b/rhel/automake.mk
index 368254109..87c4552c8 100644
--- a/rhel/automake.mk
+++ b/rhel/automake.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc.
+# Copyright (C) 2009, 2010, 2011, 2012 Nicira Networks, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
@@ -21,16 +21,16 @@ EXTRA_DIST += \
rhel/openvswitch.spec.in \
rhel/usr_share_openvswitch_scripts_sysconfig.template
-update_spec = \
+update_rhel_spec = \
($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
< $(srcdir)/rhel/$(@F).in > $(@F).tmp || exit 1; \
if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi
$(srcdir)/rhel/openvswitch-kmod-rhel5.spec: rhel/openvswitch-kmod-rhel5.spec.in $(top_builddir)/config.status
- $(update_spec)
+ $(update_rhel_spec)
$(srcdir)/rhel/openvswitch-kmod-rhel6.spec: rhel/openvswitch-kmod-rhel6.spec.in $(top_builddir)/config.status
- $(update_spec)
+ $(update_rhel_spec)
$(srcdir)/rhel/openvswitch.spec: rhel/openvswitch.spec.in $(top_builddir)/config.status
- $(update_spec)
+ $(update_rhel_spec)