aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
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 /nx-libs.spec
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).
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec11
1 files changed, 3 insertions, 8 deletions
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