]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
man-db: Disabled rpath and moved libs. Added dependency for xz.
authorChristian Schmidt <christian.schmidt@ipfire.org>
Mon, 30 Apr 2012 21:17:30 +0000 (23:17 +0200)
committerChristian Schmidt <christian.schmidt@ipfire.org>
Mon, 30 Apr 2012 21:17:30 +0000 (23:17 +0200)
Fixes #10105 #10106

man-db/man-db.nm

index 255c0ede152185f3c04874bb4ee9b59e1a602986..224fe0a23b0a281edde3c01564bafa9632688311 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = man-db
 version    = 2.6.1
-release    = 1
+release    = 2
 
 groups     = Documentation
 url        = http://savannah.nongnu.org/projects/man-db
@@ -32,23 +32,22 @@ build
 
        configure_options += \
                --disable-setuid \
-               --with-browser=/usr/bin/lynx \
-               --with-col=/usr/bin/col \
-               --with-vgrind=/usr/bin/vgrind \
-               --with-grap=/usr/bin/grap
+               --with-browser=%{bindir}/lynx \
+               --with-col=%{bindir}/col \
+               --with-vgrind=%{bindir}/vgrind \
+               --with-grap=%{bindir}/grap \
+               --disable-rpath
 
        prepare_cmds
                sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' \
                        src/man_db.conf.in
        end
-end
 
-# This package installs a lib in /usr/lib/man-db and links all binaries
-# against it. Seems as if the ABI is not stable, yet and so we need to
-# accept that.
-quality-agent
-       whitelist_rpath
-               %{libdir}/man-db
+       install_cmds
+               # Move some libs
+               mv -v %{BUILDROOT}%{libdir}/man-db/* %{BUILDROOT}%{libdir}/
+               rm -rf %{BUILDROOTi}%{libdir}/man-db/
+
        end
 end
 
@@ -59,6 +58,7 @@ packages
                requires
                        groff
                        less
+                       xz
                end
 
                # This package also should be known as man.