forked from pool/quassel
Accepting request 622075 from KDE:Extra
OBS-URL: https://build.opensuse.org/request/show/622075 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quassel?expand=0&rev=43
This commit is contained in:
commit
6ebbcaae9a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 11 10:25:08 UTC 2018 - rkitover@gmail.com
|
||||
|
||||
- Fix the rpmlint warning env-script-interpreter by rewriting the
|
||||
#!/usr/bin/env shebang in the scripts in /usr/share/quassel/scripts .
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 27 15:37:55 UTC 2018 - rkitover@gmail.com
|
||||
|
||||
|
@ -188,6 +188,12 @@ install -d -m 751 %{buildroot}%{_localstatedir}/log/%{name}
|
||||
install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}core
|
||||
install -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
|
||||
# rewrite env shebang on scripts to normal shebang
|
||||
sed -i '1{
|
||||
s,^#!/usr/bin/env *bash *$,#!/bin/bash,
|
||||
s,^#!/usr/bin/env *\([^ ]*\) *$,#!/usr/bin/\1,
|
||||
}' %{buildroot}%{_datadir}/%{name}/scripts/*
|
||||
|
||||
%pre core
|
||||
%{_bindir}/getent group %{name}core >/dev/null || %{_sbindir}/groupadd -r %{name}core
|
||||
%{_bindir}/getent passwd %{name}core >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{name}core \
|
||||
|
Loading…
x
Reference in New Issue
Block a user