From 50dd74cf288c0658295bfa7df43a48f475f8c815df825f1e4e5c8a93425517a3 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 8 Nov 2012 15:13:09 +0000 Subject: [PATCH] Accepting request 140593 from home:cboltz:branches:games:tools - install apparmor profile without x permissions BTW: instead of the sed magic dependent on the openSUSE version, you can use /{usr/,}bin/grep rix, in the profile which allows /bin/grep and /usr/bin/grep (just a proposal - I didn't do this change) OBS-URL: https://build.opensuse.org/request/show/140593 OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=33 --- mumble.changes | 5 +++++ mumble.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mumble.changes b/mumble.changes index a72a967..f9d5ced 100644 --- a/mumble.changes +++ b/mumble.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 7 20:33:31 UTC 2012 - opensuse@cboltz.de + +- install apparmor profile without x permissions + ------------------------------------------------------------------- Wed Nov 7 09:40:34 UTC 2012 - lnussel@suse.de diff --git a/mumble.spec b/mumble.spec index fdce1c9..64fe2f3 100644 --- a/mumble.spec +++ b/mumble.spec @@ -338,7 +338,7 @@ install -D -m 0755 release/mumble11x %{buildroot}%{_bindir}/mumble11x # server install -D -m 0755 release/murmurd "%{buildroot}%{_sbindir}/murmurd" install -D -m 0755 %{SOURCE2} %{buildroot}/etc/init.d/mumble-server -install -D -m 0755 %{SOURCE3} %{buildroot}/etc/apparmor.d/usr.sbin.murmurd +install -D -m 0644 %{SOURCE3} %{buildroot}/etc/apparmor.d/usr.sbin.murmurd %if 0%{?suse_version} < 1220 sed -i -e 's,/usr/bin/grep,/bin/grep,;s,/usr/bin/sed,/bin/sed,' %{buildroot}/etc/apparmor.d/usr.sbin.murmurd %endif