This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch release/4.0.1.x in repository x2goserver. from 6862d30 x2goserver.spec: add workaround documentation for sudoers on *SUSE 11. new 8062b81 x2goserver.spec: add shadow/shadow-utils/pwdutils Requires to x2goserver-printing sub package. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 2 ++ x2goserver.spec | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) -- Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.1.x in repository x2goserver. commit 8062b8190c22134ab45d8181ddb80b1b82da3368 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Mar 27 07:50:29 2015 +0100 x2goserver.spec: add shadow/shadow-utils/pwdutils Requires to x2goserver-printing sub package. --- debian/changelog | 2 ++ x2goserver.spec | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/debian/changelog b/debian/changelog index 6d2de35..86d34e8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,8 @@ x2goserver (4.0.1.20-0x2go1) UNRELEASED; urgency=low - Fix installation on OpenSUSE 12.3 and higher: has replaced pwdutils with shadow. Also affects SLE{S,D} 12. - Add workaround documentation for sudoers on *SUSE 11. + - Add shadow/shadow-utils/pwdutils Requires to x2goserver-printing + sub package. -- X2Go Release Manager <git-admin@x2go.org> Tue, 24 Feb 2015 22:11:49 +0100 diff --git a/x2goserver.spec b/x2goserver.spec index 009cf37..80f68a6 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -182,6 +182,24 @@ Requires: perl = %{perl_version} %else Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %endif + +# for useradd/groupadd +# OpenSUSE 12.3 and SLE{S,D} 12 (has suse_version 1315) switched to shadow. +%if 0%{?suse_version} >= 1230 +BuildRequires: shadow +Requires(pre): shadow +%else +# Older SuSE versions (prior to 12.3) only have pwdutils. +%if 0%{?suse_version} +BuildRequires: pwdutils +Requires(pre): pwdutils +# Fedora, EPEL and RedHat use shadow-utils. +%else +BuildRequires: shadow-utils +Requires(pre): shadow-utils +%endif +%endif + %if 0%{?fedora} || 0%{?rhel} Group: Applications/Communications %else -- Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git