# HG changeset patch
# User Elliot Lee <sopwith@src.gnome.org>
# Date 933278959 0
#      Thu Jul 29 20:09:19 1999 +0000
# Node ID bf3e85a84bd9ffafb444cc6b2e594fe17f66d9b5
# Parent  1d58cfc0f1c296203473650617aa2c822ec0eb41
Allow defining a CUSTOM_RELEASE at RPM build time

diff --git a/libxml.spec.in b/libxml.spec.in
--- a/libxml.spec.in
+++ b/libxml.spec.in
@@ -1,6 +1,7 @@
 # Note that this is NOT a relocatable package
 %define ver      @VERSION@
-%define rel      SNAP
+%define  RELEASE SNAP
+%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 %define prefix   /usr
 
 Summary: libXML library