]> git.pld-linux.org Git - packages/rpm.git/blame_incremental - rpm-javadeps.patch
- fix
[packages/rpm.git] / rpm-javadeps.patch
... / ...
CommitLineData
1--- rpm-4.4.9/lib/rpmfc.c.orig 2007-05-22 20:19:05.990914000 +0200
2+++ rpm-4.4.9/lib/rpmfc.c 2007-05-22 22:12:38.775152636 +0200
3@@ -875,7 +875,14 @@
4 if (is_executable)
5 if (fc->findreq)
6 xx = rpmfcHelper(fc, 'R', "mono", fc->noautoreq, fc->noautoreq_c);
7+ } else
8+ if (fc->fcolor->vals[fc->ix] & RPMFC_JAVA) {
9+ if (fc->findprov)
10+ xx = rpmfcHelper(fc, 'P', "java", fc->noautoprov, fc->noautoprov_c);
11+ if (fc->findreq)
12+ xx = rpmfcHelper(fc, 'R', "java", fc->noautoreq, fc->noautoreq_c);
13 }
14+
15 return 0;
16 }
17
18--- rpm-4.4.9/macros.in.orig 2007-05-24 21:20:49.657284000 +0200
19+++ rpm-4.4.9/macros.in 2007-05-24 21:22:32.823163996 +0200
20@@ -1416,8 +1416,8 @@
21 #
22 # Note: Used iff _use_internal_dependency_generator is non-zero. The
23 # helpers are also used by %{_rpmhome}/rpmdeps {--provides|--requires}.
24-%__java_provides %{_rpmhome}/javadeps.sh --provides
25-%__java_requires %{_rpmhome}/javadeps.sh --requires
26+%__java_provides %{nil}
27+%__java_requires %{nil}
28
29 #------------------------------------------------------------------------
30 # libtool(...) configuration.
This page took 0.026242 seconds and 4 git commands to generate.