]> git.pld-linux.org Git - packages/xorg-lib-libXxf86vm.git/commitdiff
- unified .so man links fix wrt "x" suffix
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Jun 2013 20:19:54 +0000 (22:19 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Jun 2013 20:19:54 +0000 (22:19 +0200)
xorg-lib-libXxf86vm.spec

index 6383cc34bccf80823bccaafff6016cd59fc230f3..c86c83d85e386e20028bbd7979a195c87e8a179e 100644 (file)
@@ -12,6 +12,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-proto-xf86vidmodeproto-devel >= 2.2.99.1
 BuildRequires: xorg-util-util-macros >= 1.8
@@ -62,6 +63,9 @@ Pakiet zawiera statycznÄ… bibliotekÄ™ libXxf86vm.
 %prep
 %setup -q -n libXxf86vm-%{version}
 
+# support __libmansuffix__ with "x" suffix (per FHS 2.3)
+%{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
+
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -78,9 +82,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# there's no man3x in pld
-grep -rl man3x $RPM_BUILD_ROOT%{_mandir}/man3/* | xargs %{__sed} -i -e 's,man3x,man3,'
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.160741 seconds and 4 git commands to generate.