- fix path to sed and grep due to usr move in 12.2

OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=28
This commit is contained in:
2012-06-26 07:30:17 +00:00
committed by Git OBS Bridge
parent 2bfa030b15
commit fd074353cf
3 changed files with 6 additions and 2 deletions

View File

@@ -337,6 +337,9 @@ install -D -m 0755 release/mumble11x %{buildroot}%{_bindir}/mumble11x
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
%if 0%{?suse_version} < 1220
sed -e 's,/usr/bin/grep,/bin/grep,;s,/usr/bin/sed,/bin/sed,' %{buildroot}/etc/apparmor.d/usr.sbin.murmurd
%endif
install -d -m 0755 %{buildroot}%{_bindir}
# can be launched as user too but apparmor profile doesn't make
# sense in that case. So use link to avoid the profile.