The Samba-Bugzilla – Attachment 7901 Details for
Bug 9165
makerpms.sh can't create package fo RHEL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-RHEL-packaging-Try-to-fix-makerpms.sh-on-RHEL.patch (text/plain), 950 bytes, created by
Karolin Seeger
on 2012-09-18 09:15:35 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Karolin Seeger
Created:
2012-09-18 09:15:35 UTC
Size:
950 bytes
patch
obsolete
>From a54f09325533b451354eea51d4df76f97604033f Mon Sep 17 00:00:00 2001 >From: Karolin Seeger <kseeger@samba.org> >Date: Tue, 18 Sep 2012 11:08:17 +0200 >Subject: [PATCH] RHEL packaging: Try to fix makerpms.sh on RHEL. > >Address bug #9165 - makerpms.sh can't create package fo RHEL. > >Karolin >--- > 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 152bad7..adbc6df 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 %(lsb_release -sr) >+%define rhel_ver %(grep "release" /etc/redhat-release | sed %"s/^[^0-9]*\\([0-9]*\\).*/\\1/g") > %else > %define rhel_ver 0 > %endif >-- >1.7.7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9165
: 7901