summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1999-07-29 20:09:19 +0000
committerElliot Lee <sopwith@src.gnome.org>1999-07-29 20:09:19 +0000
commit272b02eb016ac210da5ccbb3707e856e48a3ac32 (patch)
tree864dea41195a9042cc769fc996013387f55a4896
parente2d034d3b56287f93a815147eff0f4e707b64774 (diff)
downloadlibxml2-272b02eb016ac210da5ccbb3707e856e48a3ac32.tar.gz
Allow defining a CUSTOM_RELEASE at RPM build time
-rw-r--r--libxml.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libxml.spec.in b/libxml.spec.in
index 919969fe..8f9f9412 100644
--- 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