[X2Go-Commits] [x2godesktopsharing] 01/01: x2godesktopsharing.spec: respect the plattform %{optflags} when calling qmake and disable automatic binary stripping (getting in the way of debug packages.)
git-admin at x2go.org
git-admin at x2go.org
Sun Aug 20 13:26:10 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2godesktopsharing.
commit 5909f1c7937ef99518d7607838056c8aa5802532
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Aug 20 12:52:45 2017 +0200
x2godesktopsharing.spec: respect the plattform %{optflags} when calling qmake and disable automatic binary stripping (getting in the way of debug packages.)
---
debian/changelog | 3 +++
x2godesktopsharing.spec | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f791892..b38336c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ x2godesktopsharing (3.1.1.4-0x2go1) UNRELEASED; urgency=medium
- Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
- Uploaders: add myself. Also, force a rebuild due to the changed
versioning.
+ * x2godesktopsharing.spec:
+ - Respect the plattform %{optflags} when calling qmake and disable
+ automatic binary stripping (getting in the way of debug packages.)
[ Martti Pitkänen ]
* New upstream version (3.1.1.4):
diff --git a/x2godesktopsharing.spec b/x2godesktopsharing.spec
index 85cb481..51b0ed8 100644
--- a/x2godesktopsharing.spec
+++ b/x2godesktopsharing.spec
@@ -74,12 +74,12 @@ a local X11 session.
%build
%if 0%{?el5}
-%{_libdir}/qt4/bin/qmake x2godesktopsharing.pro
+%{_libdir}/qt4/bin/qmake QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags}" QMAKE_STRIP=":" x2godesktopsharing.pro
%else
%if 0%{?suse_version}
-qmake x2godesktopsharing.pro
+qmake QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags}" QMAKE_STRIP=":" x2godesktopsharing.pro
%else
-qmake-qt4 x2godesktopsharing.pro
+qmake-qt4 QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags}" QMAKE_STRIP=":" x2godesktopsharing.pro
%endif
%endif
make %{?_smp_mflags}
--
Alioth's /srv/git/code.x2go.org/x2godesktopsharing.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2godesktopsharing.git
More information about the x2go-commits
mailing list