From d9a48367ed0bc7493a9505afb1330040078f5c33 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 29 Jan 2015 12:48:05 +0100 Subject: nx-libs.spec: Set PREFIX=%{_prefix} USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir} at build time. --- debian/changelog | 1 + nx-libs.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9281720e6..29a840fef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -84,6 +84,7 @@ nx-libs (2:3.5.0.29-0x2go2) UNRELEASED; urgency=medium library package (names) as obsolete. + Don't depend on nx-libs base package with fixed version. + Don't fail if removing *.a files fails due to the files being non-present. + + Set PREFIX=%{_prefix} USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir} at build time. * debian/roll-tarball.sh: + Install etc/ files into etc/ subfolder (rgb, nxagent.keyboard, diff --git a/nx-libs.spec b/nx-libs.spec index 77e7ad5c4..8570f05f4 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -729,7 +729,7 @@ chmod a+x my_configure; %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} export SHLIBGLOBALSFLAGS="%{__global_ldflags}" export LOCAL_LDFLAGS="%{__global_ldflags}" -make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" USRLIBDIR=%{_libdir}/nx SHLIBDIR=%{_libdir}/nx +make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" PREFIX=%{_prefix} USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir} %install make install \ -- cgit v1.2.3