]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-cpuinfo.patch
- introduced _autostrip* as a general solution to adjust stripping options without...
[packages/rpm.git] / rpm-cpuinfo.patch
CommitLineData
61388394
AM
1--- rpm/lib/depends.c 2007-02-13 20:39:00.386623000 +0100
2+++ rpm/lib/depends.c 2007-02-19 19:48:40.490623000 +0100
3@@ -507,6 +507,10 @@
4 goto unsatisfied;
5 }
6
250e9735
AM
7+ /* Ignore cpuinfo() and uname() deps */
8+ if (!strncmp(Name, "cpuinfo(", sizeof("cpuinfo(")-1) || !strncmp(Name, "uname(", sizeof("uname(")-1))
61388394
AM
9+ goto exit;
10+
11 /* Search added packages for the dependency. */
12 if (rpmalSatisfiesDepend(ts->addedPackages, dep, NULL) != NULL) {
13 /*
This page took 0.058977 seconds and 4 git commands to generate.