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 0688bfa x2goserver.spec: typo fix in comment: Recommands -> Recommends. new ec5b3ce x2goserver.spec: fix installation on OpenSUSE 12.3 and higher: has replaced pwdutils with shadow. Also affects SLE{S,D} 12. 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 | 8 ++++++++ 2 files changed, 10 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 ec5b3ceab83140e2a553e7f2db698e48b9ddd3d5 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Mar 27 06:13:00 2015 +0100 x2goserver.spec: fix installation on OpenSUSE 12.3 and higher: has replaced pwdutils with shadow. Also affects SLE{S,D} 12. --- debian/changelog | 2 ++ x2goserver.spec | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 081a93e..3f3e717 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,8 @@ x2goserver (4.0.1.20-0x2go1) UNRELEASED; urgency=low available on *SUSE, FC < 20 and RHEL, so for those distros still own the directories. - Typo fix in comment: Recommands -> Recommends. + - Fix installation on OpenSUSE 12.3 and higher: has replaced pwdutils with + shadow. Also affects SLE{S,D} 12. -- X2Go Release Manager <git-admin@x2go.org> Tue, 24 Feb 2015 22:11:49 +0100 diff --git a/x2goserver.spec b/x2goserver.spec index f11c365..e4f0224 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -44,13 +44,21 @@ BuildRequires: systemd %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 # So XSESSIONDIR gets linked %if 0%{?suse_version} -- Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git