summaryrefslogtreecommitdiffstats
path: root/find-provides
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-11-28 17:01:35 -0500
committerDave Jones <davej@redhat.com>2011-11-28 17:01:35 -0500
commit9af210dc917e8f01ce9666366fd42f88e37a159c (patch)
treea05a94fd19852cdb077a32272fa9d59e549b49d3 /find-provides
parent471066eceb9d6bf8d0bfdcc9a83d47045eea6f0c (diff)
downloadkernel-9af210dc917e8f01ce9666366fd42f88e37a159c.tar.gz
kernel-9af210dc917e8f01ce9666366fd42f88e37a159c.tar.xz
kernel-9af210dc917e8f01ce9666366fd42f88e37a159c.zip
remove old junk.
Pointed out by Kyle.
Diffstat (limited to 'find-provides')
-rwxr-xr-xfind-provides44
1 files changed, 0 insertions, 44 deletions
diff --git a/find-provides b/find-provides
deleted file mode 100755
index b28d1028f..000000000
--- a/find-provides
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-#
-# find-provides: munge the provides dependencies from the kabideps file
-#
-# This software may be freely redistributed under the terms of the GNU
-# General Public License (GPL).
-#
-# Takes a directory prefix, then outputs the kabideps file contents.
-
-__author__ = "Jon Masters <jcm@redhat.com>"
-__version__ = "1.0"
-__date__ = "Tue 25 Jul 2006 04:00 GMT"
-__copyright__ = "Copyright (C) 2006 Red Hat, Inc"
-__license__ = "GPL"
-
-import os
-import re
-import string
-import sys
-
-false = 0
-true = 1
-
-kabideps=""
-
-p = re.compile('^(.*)/symvers-(.*).gz$')
-while true:
- foo = sys.stdin.readline()
- if foo == "":
- break
- string.split(foo)
- m = p.match(foo)
- if m:
- kabideps=sys.argv[1] + "/kernel-" + m.group(2) + "-kabideps"
-
-if kabideps == "":
- sys.exit(0)
-
-if not (os.path.isfile(kabideps)):
- sys.stderr.write(sys.argv[0] + ": cannot locate kabideps file: " + kabideps + "\n")
- sys.exit(1)
-
-sys.stderr.write(sys.argv[0] + ": processing kABI: " + kabideps)
-os.system("cat " + kabideps)