[PATCH 1/3] samba.spec.tmpl: fix typo
Anand Avati
avati at redhat.com
Thu May 2 12:34:38 MDT 2013
building RPMs on RHEL fail because of a typo.
Signed-off-by: Anand Avati <avati at redhat.com>
---
packaging/RHEL/samba.spec.tmpl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl
index 7df7cb5..05e46e1 100644
--- a/packaging/RHEL/samba.spec.tmpl
+++ b/packaging/RHEL/samba.spec.tmpl
@@ -2,7 +2,7 @@
%define auth %(test -f /etc/pam.d/system-auth && echo /etc/pam.d/system-auth || echo)
%define this_is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0)
%if %{this_is_redhat} > 0
-%define rhel_ver %(grep "release" /etc/redhat-release | sed %"s/^[^0-9]*\\([0-9]*\\).*/\\1/g")
+%define rhel_ver %(grep "release" /etc/redhat-release | sed "s/^[^0-9]*\\([0-9]*\\).*/\\1/g")
%else
%define rhel_ver 0
%endif
--
1.7.1
More information about the samba-technical
mailing list