From 44ed57ab9a777616303cff8191ba379910ff3c8a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 11 Oct 2011 15:46:45 +0200 Subject: [PATCH] util-linux: Remove man pages from tools we do not want to use. --- util-linux/util-linux.nm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/util-linux/util-linux.nm b/util-linux/util-linux.nm index 879423317..681de6467 100644 --- a/util-linux/util-linux.nm +++ b/util-linux/util-linux.nm @@ -6,7 +6,7 @@ name = util-linux version = 2.19 major_ver = 2.19 -release = 4 +release = 5 groups = System/Base url = http://kernel.org/~kzak/util-linux/ @@ -76,8 +76,10 @@ build # Remove deprecated commands rm -fv %{BUILDROOT}/{sbin,usr/share/man/man*}/{fsck,mkfs}.{bfs,minix}* \ - %{BUILDROOT}/usr/bin/chkdupexe %{BUILDROOT}/usr/bin/vi{gr,pw} \ - %{BUILDROOT}/sbin/{sln,shutdown} %{BUILDROOT}/bin/{line,newgrp,pg} + %{BUILDROOT}/usr/{,s}bin/{chkdupexe,newgrp,vi{gr,pw}} \ + %{BUILDROOT}/sbin/{sln,shutdown} %{BUILDROOT}/bin/{line,pg} + rm -fv %{BUILDROOT}/usr/share/man/man1/{chkdupexe,line,pg,newgrp}.* \ + %{BUILDROOT}/usr/share/man/man8/{vipw,vigr}.* rm -fv %{BUILDROOT}/usr/share/getopt/*.tcsh # Create /etc/mtab symlink @@ -110,7 +112,7 @@ packages util-linux-ng end end - + # Package information for libblkid package libblkid summary = Block device ID library. @@ -123,9 +125,9 @@ packages /lib/libblkid.* end end - + # Package information for libblkid-devel - package libblikid-devel + package libblkid-devel summary = Development library and header of libblkid. description = %{summary} @@ -136,7 +138,7 @@ packages /usr/share/man/man3/*blkid* end end - + # Package information for libuuid package libuuid summary = Universally unique ID library. @@ -149,7 +151,7 @@ packages /lib/libuuid.* end end - + # Package information for libuuid-devel package libuuid-devel summary = Development library and header of libuuid. @@ -162,7 +164,7 @@ packages /usr/share/man/man3/*uuid* end end - + # Package information for libmount package libmount summary = Device mounting library. @@ -175,7 +177,7 @@ packages /lib/libmount.* end end - + # Package information for libmount-devel package libmount-devel summary = Development library and header of libmount. -- 2.39.2