[X2Go-Commits] [nx-libs] 03/03: nx-libs.spec: drop ugly sed hack to push optflags to build system.

git-admin at x2go.org git-admin at x2go.org
Mon Oct 16 10:09:31 CEST 2017


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

x2go pushed a commit to branch master
in repository nx-libs.

commit 07d308359995e07285b5c15d897c2617b52f0093
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Oct 16 10:08:10 2017 +0200

    nx-libs.spec: drop ugly sed hack to push optflags to build system.
---
 debian/changelog | 1 +
 nx-libs.spec     | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 22b3824..c4bf56d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low
       https://bugs.centos.org/view.php?id=13779 are resolved.
       Backported from Arctica GH 3.6.x branch.
       v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
+    - Drop ugly sed hack to push optflags to build system.
   * debian/:
     - Add x2goagent.options file for compatibility with x2goserver nightly.
   * debian/roll-tarballs.sh:
diff --git a/nx-libs.spec b/nx-libs.spec
index ab32deb..85cf8b1 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -733,8 +733,6 @@ rm -Rf .preserve/
 rm -Rf nx*/configure nx*/autom4te.cache*
 # Install into /usr
 sed -i -e 's,/usr/local,/usr,' nx-X11/config/cf/site.def
-# Use rpm optflags
-sed -i -e 's#-O3#%{optflags}#' nx-X11/config/cf/host.def
 # Use multilib dirs
 # We're installing binaries into %%{_libdir}/nx/bin rather than %%{_libexedir}/nx
 # because upstream expects libraries and binaries in the same directory

--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list