diff --git a/openssh-askpass-gnome.spec b/openssh-askpass-gnome.spec index 573f7a0..4286107 100644 --- a/openssh-askpass-gnome.spec +++ b/openssh-askpass-gnome.spec @@ -23,7 +23,7 @@ BuildRequires: gtk2-devel krb5-devel opensc-devel openssh openssl-devel pam-dev License: BSD3c(or similar) Group: Productivity/Networking/SSH Version: 5.2p1 -Release: 10 +Release: 11 Requires: openssh = %{version} openssh-askpass = %{version} AutoReqProv: on Summary: A GNOME-Based Passphrase Dialog for OpenSSH diff --git a/openssh.changes b/openssh.changes index c417632..bf99aac 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 27 20:35:01 UTC 2010 - aj@suse.de + +- Use complete path for groupadd and useradd in pre section. + ------------------------------------------------------------------- Tue Feb 23 15:45:06 CET 2010 - anicka@suse.cz diff --git a/openssh.spec b/openssh.spec index ffe7558..bf3edd9 100644 --- a/openssh.spec +++ b/openssh.spec @@ -36,7 +36,7 @@ PreReq: /usr/sbin/groupadd /usr/sbin/useradd %insserv_prereq %fillup_pr Conflicts: nonfreessh AutoReqProv: on Version: 5.2p1 -Release: 10 +Release: 11 %define xversion 1.2.4.1 Summary: Secure Shell Client and Server (Remote Login Program) Url: http://www.openssh.com/ @@ -244,8 +244,8 @@ mkdir -p $RPM_BUILD_ROOT/%{_fwdefdir} install -m 644 %{S:9} $RPM_BUILD_ROOT/%{_fwdefdir}/sshd %pre -getent group sshd >/dev/null || groupadd -o -r sshd -getent passwd sshd >/dev/null || useradd -r -g sshd -d /var/lib/sshd -s /bin/false -c "SSH daemon" sshd +getent group sshd >/dev/null || /usr/sbin/groupadd -o -r sshd +getent passwd sshd >/dev/null || /usr/sbin/useradd -r -g sshd -d /var/lib/sshd -s /bin/false -c "SSH daemon" sshd %post %{fillup_and_insserv -n ssh sshd}