summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-01-07 00:49:55 +0000
committerjbj <devnull@localhost>2003-01-07 00:49:55 +0000
commita585d154ac9b9b8d19bf28b2de56e98276ed990e (patch)
tree25a6f2f844e919ee522d89cb11c82ef75e5c59c6
parentb4ca0ec8b20851e331578b7191d8562e3f0de17f (diff)
downloadrpm-a585d154ac9b9b8d19bf28b2de56e98276ed990e.tar.gz
rpm-a585d154ac9b9b8d19bf28b2de56e98276ed990e.tar.bz2
rpm-a585d154ac9b9b8d19bf28b2de56e98276ed990e.zip
- add perldeps.pl, start to replace perl.{prov,req}.
CVS patchset: 5999 CVS date: 2003/01/07 00:49:55
-rw-r--r--CHANGES1
-rw-r--r--build/rpmfc.c8
-rw-r--r--macros.in3
-rw-r--r--rpm.spec.in2
-rw-r--r--scripts/Makefile.am6
5 files changed, 17 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index fb95837b4..b96897fbf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -100,6 +100,7 @@
- file: avoid ogg/vorbis file classification problems.
- portabilitly: solaris fixes.
- for DSO's, provide the file basename if DT_SONAME not found.
+ - add perldeps.pl, start to replace perl.{prov,req}.
4.0.4 -> 4.1:
- loosely wire beecrypt library into rpm.
diff --git a/build/rpmfc.c b/build/rpmfc.c
index af1caa67b..92f8d73e5 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -975,6 +975,7 @@ assert(s != NULL);
if (!fc->skipProv && isDSO && !gotSONAME) {
depsp = &fc->provides;
tagN = RPMTAG_PROVIDENAME;
+ dsContext = RPMSENSE_FIND_PROVIDES;
s = strrchr(fn, '/');
if (s)
@@ -1092,7 +1093,14 @@ assert(se != NULL);
/*@switchbreak@*/ break;
}
+/* XXX assertion incorrect while generating -debuginfo deps. */
+#if 0
assert(dix >= 0);
+#else
+ if (dix < 0)
+ continue;
+#endif
+
val = (deptype << 24) | (dix & 0x00ffffff);
xx = argiAdd(&fc->ddictx, -1, val);
diff --git a/macros.in b/macros.in
index 8398589ab..b795821f3 100644
--- a/macros.in
+++ b/macros.in
@@ -1,7 +1,7 @@
#/*! \page config_macros Default configuration: @RPMCONFIGDIR@/macros
# \verbatim
#
-# $Id: macros.in,v 1.135 2003/01/01 20:33:21 jbj Exp $
+# $Id: macros.in,v 1.136 2003/01/07 00:49:55 jbj Exp $
#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
@@ -121,6 +121,7 @@
%package debug\
Summary: Debug information for package %{name}\
Group: Development/Debug\
+AutoReqProv: 0\
%description debug\
This package provides debug information for package %{name}.\
Debug information is useful when developing applications that use this\
diff --git a/rpm.spec.in b/rpm.spec.in
index 825aa7b16..fdd82f182 100644
--- a/rpm.spec.in
+++ b/rpm.spec.in
@@ -369,6 +369,7 @@ exit 0
%rpmattr %{__prefix}/lib/rpm/magic.mime.mgc
%rpmattr %{__prefix}/lib/rpm/magic.prov
%rpmattr %{__prefix}/lib/rpm/magic.req
+%rpmattr %{__prefix}/lib/rpm/perldeps.pl
%rpmattr %{__prefix}/lib/rpm/perl.prov
%rpmattr %{__prefix}/lib/rpm/perl.req
@@ -462,6 +463,7 @@ exit 0
* Mon Jan 6 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.52
- portabilitly: solaris fixes.
- for DSO's, provide the file basename if DT_SONAME not found.
+- add perldeps.pl, start to replace perl.{prov,req}.
* Sun Jan 5 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.51
- file: avoid ogg/vorbis file classification problems.
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 65c34c980..0daa39bf3 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -9,7 +9,8 @@ EXTRA_DIST = \
find-debuginfo.sh find-lang.sh find-prov.pl find-req.pl \
cpanflute cpanflute2 Specfile.pm find-provides.perl \
find-requires.perl get_magic.pl getpo.sh http.req \
- magic.prov magic.req perl.prov perl.req rpmdiff rpmdiff.cgi \
+ magic.prov magic.req perldeps.pl perl.prov perl.req rpmdiff \
+ rpmdiff.cgi \
rpm.daily rpm.log rpm.xinetd rpm2cpio.sh \
sql.prov sql.req tcl.req tgpg trpm u_pkg.sh \
vpkg-provides.sh vpkg-provides2.sh \
@@ -28,7 +29,8 @@ config_SCRIPTS = \
find-debuginfo.sh find-lang.sh find-prov.pl find-req.pl \
cpanflute cpanflute2 Specfile.pm find-provides.perl \
find-requires.perl get_magic.pl getpo.sh http.req \
- magic.prov magic.req perl.prov perl.req rpmdiff rpmdiff.cgi \
+ magic.prov magic.req perldeps.pl perl.prov perl.req rpmdiff \
+ rpmdiff.cgi \
rpm.daily rpm.log rpm.xinetd rpm2cpio.sh \
sql.prov sql.req tcl.req tgpg trpm u_pkg.sh \
vpkg-provides.sh vpkg-provides2.sh