[X2Go-Commits] [pyhoca-cli] 02/02: pyhoca-cli.spec: Build-Require python-rpm-macros for OpenSuSE builds.

git-admin at x2go.org git-admin at x2go.org
Sat Nov 10 13:40:09 CET 2018


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

x2go pushed a commit to branch master
in repository pyhoca-cli.

commit 6ebecc40fd9c0eb38e8063e056e6bc035be898c2
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Nov 10 13:39:46 2018 +0100

    pyhoca-cli.spec: Build-Require python-rpm-macros for OpenSuSE builds.
---
 debian/changelog | 1 +
 pyhoca-cli.spec  | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 087f1d2..28d16cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ pyhoca-cli (0.6.0.1-0x2go1) UNRELEASED; urgency=medium
     - It's still %endif, not %fi.
     - Either EL6 or EL7, not both at the same time.
     - Use modern python build and install macros.
+    - Build-Require python-rpm-macros for OpenSuSE builds.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 19 Sep 2018 15:20:43 +0200
 
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index f35650e..050dedf 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -26,6 +26,9 @@ Requires:       python3-x2go >= 0.6.0.1
 %endif
 %if 0%{?suse_version}
 BuildRequires:  fdupes
+%if ( 0%{?sle_version} && 0%{?sle_version} >= 120300 && 0%{?is_opensuse} ) || ( 0%{?suse_version} > 1500 )
+BuildRequires:  python-rpm-macros
+%endif
 %endif
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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


More information about the x2go-commits mailing list