[packages/xorg-lib-libXrandr] - ensure proper .so man links are created

qboosh qboosh at pld-linux.org
Wed Jun 5 21:27:21 CEST 2013


commit cbd82e8c317465900d971496fcaea066cf5bcac2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jun 5 21:27:08 2013 +0200

    - ensure proper .so man links are created

 xorg-lib-libXrandr.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/xorg-lib-libXrandr.spec b/xorg-lib-libXrandr.spec
index 9668240..833a808 100644
--- a/xorg-lib-libXrandr.spec
+++ b/xorg-lib-libXrandr.spec
@@ -13,6 +13,7 @@ BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 1:0.19
+BuildRequires:	sed >= 4.0
 BuildRequires:	xorg-lib-libXext-devel
 BuildRequires:	xorg-lib-libXrender-devel
 BuildRequires:	xorg-proto-randrproto-devel >= 1.4
@@ -71,6 +72,9 @@ Pakiet zawiera statyczną bibliotekę libXrandr.
 %prep
 %setup -q -n libXrandr-%{version}
 
+# support __libmansuffix__ with "x" suffix (per FHS 2.3)
+%{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
+
 %build
 %{__libtoolize}
 %{__aclocal}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libXrandr.git/commitdiff/cbd82e8c317465900d971496fcaea066cf5bcac2



More information about the pld-cvs-commit mailing list