From 24cd493dea700057b5dc87020a84f75e64352808ebd965581efa09847e35030e Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 4 Oct 2011 05:01:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-source?expand=0&rev=7065 --- find-provides | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 find-provides diff --git a/find-provides b/find-provides deleted file mode 100644 index f4822b5e7..000000000 --- a/find-provides +++ /dev/null @@ -1,18 +0,0 @@ -#! /bin/bash - -trap 'rm -f "$filelist"' EXIT -filelist=$(mktemp -t ${0##*/}.XXXXXXXXXX) -grep -v '/kernel/drivers/staging/.*\.ko$' >"$filelist" -shopt -s nullglob - -# pretend that /boot/vmlinux-* is in the -base package and not in -devel -if grep -q '/boot/System\.map\>' "$filelist"; then - prefix=$(sed -rn 's:(.*)/boot/System\.map\>.*:\1:p; T; q' "$filelist") - for f in "$prefix"/boot/vmlinux*; do - echo "$f" >>"$filelist" - done -else - perl -ni -e 'next if /\/boot\/vmlinux/ && !/\.debug$/; print' "$filelist" -fi - -/usr/lib/rpm/find-provides "$@" <"$filelist"