summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-05-24 12:23:06 -0700
committerJeremy Allison <jra@samba.org>2013-05-25 01:04:37 +0200
commit39d7982625ba05befa7bc2430a79d44984eb410e (patch)
tree020a28f1ab066de816fe65564a9a140692d2cce4 /packaging
parente24fe5705e3c4d33705ebb584ea2009bb4a1a82c (diff)
downloadsamba-39d7982625ba05befa7bc2430a79d44984eb410e.tar.gz
building RPMs on RHEL fail because of a typo.
Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat May 25 01:04:37 CEST 2013 on sn-devel-104
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RHEL/samba.spec.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl
index 7df7cb51761..05e46e16355 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