[samba4] Don't define an Epoch in RHEL releases.

asn asn at fedoraproject.org
Fri Jul 27 14:13:47 UTC 2012


commit 0241b13616cfa0c2fb8c78dbfdd60ba89753d08a
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Fri Jul 27 16:13:29 2012 +0200

    Don't define an Epoch in RHEL releases.

 samba4.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/samba4.spec b/samba4.spec
index 930ebd6..7607cd4 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -1,4 +1,4 @@
-%define main_release 131
+%define main_release 132
 
 %define samba_version 4.0.0
 %define talloc_version 2.0.7
@@ -54,7 +54,12 @@
 Name:           samba4
 Version:        %{samba_version}
 Release:        %{samba_release}
+
+%if 0%{?rhel}
+Epoch:          0
+%else
 Epoch:          2
+%endif
 
 %if 0%{?epoch} > 0
 %define samba_depver %{epoch}:%{version}-%{release}
@@ -1298,6 +1303,9 @@ rm -rf %{buildroot}
 %endif # with_libwbclient
 
 %changelog
+* Fri Jul 27 2012 - Andreas Schneider <asn at redhat.com> - 2:4.0.0-132.beta4
+- Don't define an Epoch in RHEL releases.
+
 * Wed Jul 25 2012 - Andreas Schneider <asn at redhat.com> - 2:4.0.0-131.beta4
 - Build with talloc, tdb and tevent system libraries on RHEL6.
 


More information about the scm-commits mailing list