[X2Go-Commits] [x2gobroker] 01/01: x2gobroker.spec: CentOS 6 + 7 have python34-devel, not python3-devel.

git-admin at x2go.org git-admin at x2go.org
Mon Feb 12 21:42:33 CET 2018


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

x2go pushed a commit to branch master
in repository x2gobroker.

commit ba235d2c3252870d53c2a0536a903870581cdacb
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Feb 12 21:39:18 2018 +0100

    x2gobroker.spec: CentOS 6 + 7 have python34-devel, not python3-devel.
---
 debian/changelog | 1 +
 x2gobroker.spec  | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3db7744..2b9577b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ x2gobroker (0.0.4.0-0x2go1) UNRELEASED; urgency=medium
   * x2gobroker.spec:
     + Adapt to Python3 port.
     + Bump package version.
+    + CentOS 6 + 7 have python34-devel, not python3-devel.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Wed, 05 Apr 2017 20:01:48 +0000
 
diff --git a/x2gobroker.spec b/x2gobroker.spec
index fab4369..6988044 100644
--- a/x2gobroker.spec
+++ b/x2gobroker.spec
@@ -21,7 +21,11 @@ Source4:        x2gobroker-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %endif
 
+%if 0%{?el6} || 0%{?el7}
+BuildRequires:  python34-devel
+%else
 BuildRequires:  python3-devel
+%endif
 %if 0%{?suse_version}
 BuildRequires:  fdupes
 %endif

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


More information about the x2go-commits mailing list