[X2Go-Commits] [x2gokdrive] 21/28: x2gokdrive.spec: pull in lsb-release on *SuSE systems and redhat-lsb otherwise for lsb_release, needed at package configuration time.

git-admin at x2go.org git-admin at x2go.org
Sat Oct 26 23:00:32 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 890218b1728b32c4709693ee739cc8a8972a77ce
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Oct 24 23:57:53 2019 +0200

    x2gokdrive.spec: pull in lsb-release on *SuSE systems and redhat-lsb otherwise for lsb_release, needed at package configuration time.
---
 debian/changelog | 2 ++
 x2gokdrive.spec  | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5e89ac8..076c9fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     + Whitespace-only fixes.
     + Backport changes from debian/rules.
     + Copy *.la file removal mechanism from debian/rules.
+    + Pull in lsb-release on *SuSE systems and redhat-lsb otherwise for
+      lsb_release, needed at package configuration time.
   * debian/rules:
     + Remove weird empty variable reference construct.
     + Whitespace-only fixes.
diff --git a/x2gokdrive.spec b/x2gokdrive.spec
index 7531853..ca1e8f8 100644
--- a/x2gokdrive.spec
+++ b/x2gokdrive.spec
@@ -22,6 +22,11 @@ Source0:        https://code.x2go.org/releases/source/%{name}/%{name}-%{version}
 
 # Required specifically for x2gokdrive
 BuildRequires:  libpng-devel
+%if 0%{?suse_version}
+BuildRequires:  lsb-release
+%else
+BuildRequires:  redhat-lsb
+%endif
 # x2gokdrive provides patch dirs for xorg-x11-server-source in quilt format
 BuildRequires:  quilt
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list