[X2Go-Commits] [x2gobroker] 01/01: x2gobroker.spec: fix %{__global_ldflags} usage if variable does not exist.

git-admin at x2go.org git-admin at x2go.org
Tue Nov 13 05:44:36 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 596f9281c77c944beb060e2ac61f3c97a86a10d5
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Nov 13 05:44:24 2018 +0100

    x2gobroker.spec: fix %{__global_ldflags} usage if variable does not exist.
---
 debian/changelog | 1 +
 x2gobroker.spec  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 251783d..f721047 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -130,6 +130,7 @@ x2gobroker (0.0.4.0-0x2go1) UNRELEASED; urgency=medium
     - %exclude does not work with curly braces, revert.
     - Remove %debug_package macro usage, breaks builds nowadays.
     - Pass down global flags in CFLAGS and LDFLAGS.
+    - Fix %{__global_ldflags} usage if variable does not exist.
 
  -- 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 03a76e7..4369f06 100644
--- a/x2gobroker.spec
+++ b/x2gobroker.spec
@@ -398,7 +398,7 @@ sed -i logrotate/x2gobroker-daemon \
     -e 's/adm/root/'
 sed -i logrotate/x2gobroker-wsgi \
     -e 's/adm/root/'
-make %{?_smp_mflags} PREFIX="%{_prefix}" LIBDIR="%{_libexecdir}" CFLAGS="%{?__global_cppflags} %{?__global_cflags} %{optflags}" LDFLAGS="%{__global_ldflags}"
+make %{?_smp_mflags} PREFIX="%{_prefix}" LIBDIR="%{_libexecdir}" CFLAGS="%{?__global_cppflags} %{?__global_cflags} %{optflags}" LDFLAGS="%{?__global_ldflags}"
 
 %install
 b="%{buildroot}"

--
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