Accepting request 101520 from home:vitezslav_cizek:branches:Base:System
- honour global CFLAGS and LDFLAGS when compiling sesh, to avoid rpmlint error (bnc#743157) OBS-URL: https://build.opensuse.org/request/show/101520 OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=34
This commit is contained in:
parent
f3f2cd6ff6
commit
dc65d7161e
13
sudo-1.8.3p1-sesh-cflags.patch
Normal file
13
sudo-1.8.3p1-sesh-cflags.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: sudo-1.8.3p1/src/Makefile.in
|
||||
===================================================================
|
||||
--- sudo-1.8.3p1.orig/src/Makefile.in 2011-10-21 15:01:26.000000000 +0200
|
||||
+++ sudo-1.8.3p1/src/Makefile.in 2012-01-25 16:02:52.488970711 +0100
|
||||
@@ -101,7 +101,7 @@
|
||||
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LTLDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)
|
||||
|
||||
sesh: sesh.o
|
||||
- $(CC) -o $@ sesh.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sesh.o
|
||||
|
||||
pre-install:
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 15:09:14 UTC 2012 - vcizek@suse.com
|
||||
|
||||
- honour global CFLAGS and LDFLAGS when compiling sesh,
|
||||
to avoid rpmlint error (bnc#743157)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 4 16:54:23 UTC 2012 - vcizek@suse.com
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: sudo
|
||||
Version: 1.8.3p1
|
||||
Release: 0
|
||||
@ -28,6 +27,8 @@ Source1: sudo.pamd
|
||||
Source2: README.SUSE
|
||||
Patch0: sudoers2ldif-env.patch
|
||||
Patch1: sudo-sudoers.patch
|
||||
# PATCH-FIX-OPENSUSE make sesh position-independent (bnc#743157)
|
||||
Patch2: sudo-1.8.3p1-sesh-cflags.patch
|
||||
BuildRequires: audit-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: openldap2-devel
|
||||
@ -56,6 +57,7 @@ These header files are needed for building of sudo plugins.
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%ifarch s390 s390x %sparc
|
||||
|
Loading…
x
Reference in New Issue
Block a user