aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-13 11:42:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-13 11:42:00 +0200
commitd86c1be2c0df03e0233eecae0f5441e8da921445 (patch)
tree2ee25104cfa1c2490687955b6748c6af520b554f
parent827cbcc048741f7edc50ae42f13cb2a100391f0f (diff)
downloadnx-libs-d86c1be2c0df03e0233eecae0f5441e8da921445.tar.gz
nx-libs-d86c1be2c0df03e0233eecae0f5441e8da921445.tar.bz2
nx-libs-d86c1be2c0df03e0233eecae0f5441e8da921445.zip
Fix Xinerama symlink installation into RPM bin:package libNX_Xinerama. (Fixes: #269).
-rw-r--r--debian/changelog2
-rw-r--r--nx-libs.spec11
2 files changed, 5 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index ae45674f8..f0cc2d68f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ nx-libs (2:3.5.0.28-0x2go1) UNRELEASED; urgency=medium
+ SUSE hack for linking to files in libX11-6 and libXext6.
+ Make sure all package directories are owned by one of the
built bin:packages.
+ + Fix Xinerama symlink installation into RPM bin:package
+ libNX_Xinerama. (Fixes: #269).
[ Nito Martinez ]
* Add 400_nxcomp-version.full+lite.patch. Allow 4-digit version comparison
diff --git a/nx-libs.spec b/nx-libs.spec
index d8d540acd..941e874af 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -37,7 +37,6 @@ BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
-
%else
BuildRequires: libexpat-devel
BuildRequires: fontconfig-devel
@@ -637,7 +636,6 @@ ln -s -f ../../../../%{_lib}/libXext.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama
%post -n libNX_Xext -p /sbin/ldconfig
%post -n libNX_Xfixes -p /sbin/ldconfig
%post -n libNX_Xinerama -p /sbin/ldconfig
-
%post -n libNX_Xpm -p /sbin/ldconfig
%post -n libNX_Xrandr -p /sbin/ldconfig
%post -n libNX_Xrender -p /sbin/ldconfig
@@ -645,11 +643,6 @@ ln -s -f ../../../../%{_lib}/libXext.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama
%post -n libXcomp -p /sbin/ldconfig
%post -n libXcompext -p /sbin/ldconfig
%post -n libXcompshad -p /sbin/ldconfig
-
-%preun -n libNX_Xinerama
-rm -f %{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
-rm -f %{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
-
%postun -p /sbin/ldconfig
%postun -n libNX_X11 -p /sbin/ldconfig
%postun -n libNX_Xau -p /sbin/ldconfig
@@ -756,7 +749,9 @@ rm -f %{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
%files -n libNX_Xinerama
%{_libdir}/nx/X11/libNX_Xinerama.so.1*
-%{_libdir}/nx/X11/Xinerama/
+%dir %{_libdir}/nx/X11/Xinerama/
+%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
+%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
%files -n libNX_Xpm-devel
%{_libdir}/nx/X11/libNX_Xpm.so