1 %define with_python_subpackage @WITH_PYTHON_SUBPACKAGE@%{nil}
2 %define with_python_version @WITH_PYTHON_VERSION@%{nil}
3 %define with_bzip2 @WITH_BZIP2@%{nil}
4 %define with_apidocs @WITH_APIDOCS@%{nil}
6 # XXX legacy requires './' payload prefix to be omitted from rpm packages.
7 %define _noPayloadPrefix 1
10 %{?!_lib: %define _lib lib}
11 %{expand: %%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
13 %define __bindir %{__prefix}/bin
14 %define __includedir %{__prefix}/include
15 %define __libdir %{__prefix}/%{_lib}
16 %define __mandir %{__prefix}%{__share}/man
18 Summary: The RPM package management system.
20 %define version @VERSION@
22 %{expand: %%define rpm_version %{version}}
24 Group: System Environment/Base
25 Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
27 Conflicts: patch < 2.5
29 Prereq: gawk fileutils textutils mktemp shadow-utils
32 Obsoletes: rpm-perl < %{version}
34 # XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
35 BuildRequires: elfutils-libelf
37 BuildRequires: zlib-devel
39 # XXX Red Hat 5.2 has not bzip2 or python
41 BuildRequires: bzip2 >= 0.9.0c-2
43 %if %{with_python_subpackage}
44 BuildRequires: python-devel >= %{with_python_version}
47 BuildRoot: %{_tmppath}/%{name}-root
50 The RPM Package Manager (RPM) is a powerful command line driven
51 package management system capable of installing, uninstalling,
52 verifying, querying, and updating software packages. Each software
53 package consists of an archive of files along with information about
54 the package like its version, a description, etc.
57 Summary: Development files for manipulating RPM packages.
58 Group: Development/Libraries
59 Requires: rpm = %{rpm_version}
62 This package contains the RPM C library and header files. These
63 development files will simplify the process of writing programs that
64 manipulate RPM packages and databases. These files are intended to
65 simplify the process of creating graphical package managers or any
66 other tools that need an intimate knowledge of RPM packages in order
69 This package should be installed if you want to develop programs that
70 will manipulate RPM packages and databases.
73 Summary: Scripts and executable programs used to build packages.
74 Group: Development/Tools
75 Requires: rpm = %{rpm_version}, patch >= 2.5, file
76 Provides: rpmbuild(VendorConfig) = %{version}
79 The rpm-build package contains the scripts and executable programs
80 that are used to build packages using the RPM Package Manager.
82 %if %{with_python_subpackage}
84 Summary: Python bindings for apps which will manipulate RPM packages.
85 Group: Development/Libraries
86 Requires: rpm = %{rpm_version}
87 Requires: python >= %{with_python_version}
88 Requires: elfutils >= 0.55
91 The rpm-python package contains a module that permits applications
92 written in the Python programming language to use the interface
93 supplied by RPM Package Manager libraries.
95 This package should be installed if you want to develop Python
96 programs that will manipulate RPM packages and databases.
100 Summary: A C library for parsing command line parameters.
101 Group: Development/Libraries
105 Popt is a C library for parsing command line parameters. Popt was
106 heavily influenced by the getopt() and getopt_long() functions, but it
107 improves on them by allowing more powerful argument expansion. Popt
108 can parse arbitrary argv[] style arrays and automatically set
109 variables based on command line arguments. Popt allows command line
110 arguments to be aliased via configuration files and includes utility
111 functions for parsing arbitrary strings into argv[] arrays using
119 %if %{with_python_subpackage}
120 WITH_PYTHON="--with-python=%{with_python_version}"
122 WITH_PYTHON="--without-python"
126 %ifarch x86_64 s390 s390x
127 CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
129 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
131 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} --sysconfdir=/etc \
132 --localstatedir=/var --infodir='${prefix}%{__share}/info' \
133 --mandir='${prefix}%{__share}/man' \
134 $WITH_PYTHON --enable-posixmutexes --without-javaglue
136 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
143 rm -rf $RPM_BUILD_ROOT
145 make DESTDIR="$RPM_BUILD_ROOT" install
149 # Save list of packages through cron
150 mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
151 install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
153 mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
154 install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
156 mkdir -p $RPM_BUILD_ROOT/etc/rpm
158 mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
159 mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
161 Basenames Conflictname Dirnames Group Installtid Name Packages \
162 Providename Provideversion Requirename Requireversion Triggername \
163 Filemd5s Pubkeys Sha1header Sigmd5 \
164 __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
167 touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
173 gzip -9n apidocs/man/man*/* || :
176 # Get rid of unpackaged files
178 rm -rf .%{__includedir}/beecrypt
179 rm -f .%{__libdir}/libbeecrypt.{a,la,so.2.2.0}
180 rm -rf .%{__includedir}/libelf
181 rm -f .%{__libdir}/libelf.{a,la}
182 rm -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req}
183 rm -rf .%{__mandir}/{fr,ko}
187 rm -rf $RPM_BUILD_ROOT
191 if [ -f /var/lib/rpm/packages.rpm ]; then
193 You have (unsupported)
194 /var/lib/rpm/packages.rpm db1 format installed package headers
195 Please install rpm-4.0.4 first, and do
197 to convert your database from db1 to db3 format.
201 /usr/sbin/groupadd -g 37 @RPMGROUP@ > /dev/null 2>&1
202 /usr/sbin/useradd -r -d /var/lib/rpm -u 37 -g 37 @RPMUSER@ > /dev/null 2>&1
209 /bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/[A-Z]*
217 /usr/sbin/userdel rpm
218 /usr/sbin/groupdel rpm
222 %post devel -p /sbin/ldconfig
223 %postun devel -p /sbin/ldconfig
225 %post -n popt -p /sbin/ldconfig
226 %postun -n popt -p /sbin/ldconfig
229 %if %{with_python_subpackage}
230 %post python -p /sbin/ldconfig
231 %postun python -p /sbin/ldconfig
234 %define rpmattr %attr(0755, @RPMUSER@, @RPMGROUP@)
237 %defattr(-,root,root)
238 %doc RPM-PGP-KEY RPM-GPG-KEY BETA-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
239 # XXX comment these lines out if building with rpm that knows not %pubkey attr
243 %attr(0755, @RPMUSER@, @RPMGROUP@) /bin/rpm
246 %config(noreplace,missingok) /etc/cron.daily/rpm
247 %config(noreplace,missingok) /etc/logrotate.d/rpm
249 #%config(noreplace,missingok) /etc/rpm/macros.*
250 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir /var/lib/rpm
251 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir /var/spool/repackage
253 %define rpmdbattr %attr(0644, @RPMUSER@, @RPMGROUP@) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
254 %rpmdbattr /var/lib/rpm/*
257 %rpmattr %{__bindir}/rpm2cpio
258 %rpmattr %{__bindir}/gendiff
259 %rpmattr %{__bindir}/rpmdb
260 #%rpmattr %{__bindir}/rpm[eiu]
261 %rpmattr %{__bindir}/rpmsign
262 %rpmattr %{__bindir}/rpmquery
263 %rpmattr %{__bindir}/rpmverify
265 %{__libdir}/librpm-@VERSION@.so
266 %{__libdir}/librpmdb-@VERSION@.so
267 %{__libdir}/librpmio-@VERSION@.so
268 %{__libdir}/librpmbuild-@VERSION@.so
270 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir %{__prefix}/lib/rpm
271 %rpmattr %{__prefix}/lib/rpm/config.guess
272 %rpmattr %{__prefix}/lib/rpm/config.sub
273 %rpmattr %{__prefix}/lib/rpm/convertrpmrc.sh
274 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/macros
275 %rpmattr %{__prefix}/lib/rpm/mkinstalldirs
276 %rpmattr %{__prefix}/lib/rpm/rpm.*
277 %rpmattr %{__prefix}/lib/rpm/rpm2cpio.sh
278 %rpmattr %{__prefix}/lib/rpm/rpm[deiukqv]
279 %rpmattr %{__prefix}/lib/rpm/tgpg
280 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/rpmpopt*
281 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/rpmrc
283 %ifarch i386 i486 i586 i686 athlon
284 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/i[3456]86*
285 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/athlon*
287 %ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
288 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/alpha*
290 %ifarch sparc sparcv9 sparc64
291 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/sparc*
294 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/ia64*
296 %ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
297 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/ppc*
300 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/s390*
302 %ifarch armv3l armv4l
303 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/armv[34][lb]*
306 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/mips*
309 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/x86_64*
311 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/noarch*
313 %lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
314 %lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
315 %lang(de) %{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
316 %lang(fi) %{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
317 %lang(fr) %{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
318 %lang(gl) %{__prefix}/*/locale/gl/LC_MESSAGES/rpm.mo
319 %lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
320 %lang(ja) %{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
321 %lang(ko) %{__prefix}/*/locale/ko/LC_MESSAGES/rpm.mo
322 %lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
323 %lang(pl) %{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
324 %lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
325 %lang(pt_BR) %{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
326 %lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
327 %lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
328 %lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
329 %lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
330 %lang(sr) %{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
331 %lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
332 %lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
334 %{__mandir}/man1/gendiff.1*
335 %{__mandir}/man8/rpm.8*
336 %{__mandir}/man8/rpm2cpio.8*
337 %lang(ja) %{__mandir}/ja/man[18]/*.[18]*
338 %lang(pl) %{__mandir}/pl/man[18]/*.[18]*
339 %lang(ru) %{__mandir}/ru/man[18]/*.[18]*
340 %lang(sk) %{__mandir}/sk/man[18]/*.[18]*
343 %defattr(-,root,root)
344 %dir %{__prefix}/src/@RPMCANONVENDOR@
345 %dir %{__prefix}/src/@RPMCANONVENDOR@/BUILD
346 %dir %{__prefix}/src/@RPMCANONVENDOR@/SPECS
347 %dir %{__prefix}/src/@RPMCANONVENDOR@/SOURCES
348 %dir %{__prefix}/src/@RPMCANONVENDOR@/SRPMS
349 %dir %{__prefix}/src/@RPMCANONVENDOR@/RPMS
350 %{__prefix}/src/@RPMCANONVENDOR@/RPMS/*
351 %rpmattr %{__bindir}/rpmbuild
352 %rpmattr %{__prefix}/lib/rpm/brp-*
353 %rpmattr %{__prefix}/lib/rpm/check-files
354 %rpmattr %{__prefix}/lib/rpm/check-prereqs
355 %rpmattr %{__prefix}/lib/rpm/config.site
356 %rpmattr %{__prefix}/lib/rpm/cross-build
357 %rpmattr %{__prefix}/lib/rpm/debugedit
358 %rpmattr %{__prefix}/lib/rpm/find-debuginfo.sh
359 %rpmattr %{__prefix}/lib/rpm/find-lang.sh
360 %rpmattr %{__prefix}/lib/rpm/find-prov.pl
361 %rpmattr %{__prefix}/lib/rpm/find-provides
362 %rpmattr %{__prefix}/lib/rpm/find-provides.perl
363 %rpmattr %{__prefix}/lib/rpm/find-req.pl
364 %rpmattr %{__prefix}/lib/rpm/find-requires
365 %rpmattr %{__prefix}/lib/rpm/find-requires.perl
366 %rpmattr %{__prefix}/lib/rpm/get_magic.pl
367 %rpmattr %{__prefix}/lib/rpm/getpo.sh
368 %rpmattr %{__prefix}/lib/rpm/http.req
369 %rpmattr %{__prefix}/lib/rpm/javadeps
370 %rpmattr %{__prefix}/lib/rpm/magic
371 %rpmattr %{__prefix}/lib/rpm/magic.mgc
372 %rpmattr %{__prefix}/lib/rpm/magic.mime
373 %rpmattr %{__prefix}/lib/rpm/magic.mime.mgc
374 %rpmattr %{__prefix}/lib/rpm/magic.prov
375 %rpmattr %{__prefix}/lib/rpm/magic.req
376 %rpmattr %{__prefix}/lib/rpm/perldeps.pl
377 %rpmattr %{__prefix}/lib/rpm/perl.prov
378 %rpmattr %{__prefix}/lib/rpm/perl.req
380 %rpmattr %{__prefix}/lib/rpm/rpm[bt]
381 %rpmattr %{__prefix}/lib/rpm/rpmdeps
382 %rpmattr %{__prefix}/lib/rpm/trpm
383 %rpmattr %{__prefix}/lib/rpm/u_pkg.sh
384 %rpmattr %{__prefix}/lib/rpm/vpkg-provides.sh
385 %rpmattr %{__prefix}/lib/rpm/vpkg-provides2.sh
387 %{__mandir}/man8/rpmbuild.8*
388 %{__mandir}/man8/rpmdeps.8*
390 %if %{with_python_subpackage}
392 %defattr(-,root,root)
393 %{__libdir}/python%{with_python_version}/site-packages/rpmmodule.so
394 %{__libdir}/python%{with_python_version}/site-packages/rpmdb
398 %defattr(-,root,root)
400 %doc @WITH_APIDOCS_TARGET@
404 %{__libdir}/librpm.la
405 %{__libdir}/librpm.so
406 %{__libdir}/librpmdb.a
407 %{__libdir}/librpmdb.la
408 %{__libdir}/librpmdb.so
409 %{__libdir}/librpmio.a
410 %{__libdir}/librpmio.la
411 %{__libdir}/librpmio.so
412 %{__libdir}/librpmbuild.a
413 %{__libdir}/librpmbuild.la
414 %{__libdir}/librpmbuild.so
415 %{__mandir}/man8/rpmcache.8*
416 %{__mandir}/man8/rpmgraph.8*
417 %rpmattr %{__prefix}/lib/rpm/rpmcache
418 %rpmattr %{__prefix}/lib/rpm/rpmdb_deadlock
419 %rpmattr %{__prefix}/lib/rpm/rpmdb_dump
420 %rpmattr %{__prefix}/lib/rpm/rpmdb_load
421 %rpmattr %{__prefix}/lib/rpm/rpmdb_svc
422 %rpmattr %{__prefix}/lib/rpm/rpmdb_stat
423 %rpmattr %{__prefix}/lib/rpm/rpmdb_verify
424 %rpmattr %{__bindir}/rpmgraph
427 %defattr(-,root,root)
428 %{__libdir}/libpopt.so.*
429 %{__mandir}/man3/popt.3*
430 %lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
431 %lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
432 %lang(de) %{__prefix}/*/locale/de/LC_MESSAGES/popt.mo
433 %lang(es) %{__prefix}/*/locale/es/LC_MESSAGES/popt.mo
434 %lang(eu_ES) %{__prefix}/*/locale/eu_ES/LC_MESSAGES/popt.mo
435 %lang(fi) %{__prefix}/*/locale/fi/LC_MESSAGES/popt.mo
436 %lang(fr) %{__prefix}/*/locale/fr/LC_MESSAGES/popt.mo
437 %lang(gl) %{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
438 %lang(hu) %{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
439 %lang(id) %{__prefix}/*/locale/id/LC_MESSAGES/popt.mo
440 %lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
441 %lang(it) %{__prefix}/*/locale/it/LC_MESSAGES/popt.mo
442 %lang(ja) %{__prefix}/*/locale/ja/LC_MESSAGES/popt.mo
443 %lang(ko) %{__prefix}/*/locale/ko/LC_MESSAGES/popt.mo
444 %lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
445 %lang(pl) %{__prefix}/*/locale/pl/LC_MESSAGES/popt.mo
446 %lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
447 %lang(pt_BR) %{__prefix}/*/locale/pt_BR/LC_MESSAGES/popt.mo
448 %lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
449 %lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
450 %lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
451 %lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
452 %lang(sr) %{__prefix}/*/locale/sr/LC_MESSAGES/popt.mo
453 %lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
454 %lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
455 %lang(uk) %{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
456 %lang(wa) %{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
457 %lang(zh) %{__prefix}/*/locale/zh/LC_MESSAGES/popt.mo
458 %lang(zh_CN) %{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
460 # XXX These may end up in popt-devel but it hardly seems worth the effort.
461 %{__libdir}/libpopt.a
462 %{__libdir}/libpopt.la
463 %{__libdir}/libpopt.so
464 %{__includedir}/popt.h
467 * Sun Jan 12 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.56
468 - file: *really* read elf64 notes correctly.
469 - python: restore thread context on errorCB (#80744).
471 * Fri Jan 10 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.55
472 - fix: obscure corner case(s) with rpmvercmp (#50977).
474 * Wed Jan 8 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.54
475 - python: put rpmmodule.so where python expects to find.
476 - add brp-strip-static-archive build root policy helper.
477 - add -lelf to rpm LDFLAGS, not LDADD, since there is no libelf.la now.
479 * Tue Jan 7 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.53
480 - file: read elf64 notes correctly.
482 * Mon Jan 6 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.52
483 - portabilitly: solaris fixes.
484 - for DSO's, provide the file basename if DT_SONAME not found.
485 - add perldeps.pl, start to replace perl.{prov,req}.
487 * Sun Jan 5 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.51
488 - file: avoid ogg/vorbis file classification problems.
490 * Wed Jan 1 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.49
491 - add rpmts/rpmte/rpmfi/rpmds element colors.
492 - ignore items not in our rainbow (i.e. colors are functional).
493 - fix: dependency helpers now rate limited at 10ms, not 1s.
494 - add per-arch canonical color, only x86_64 enabled for now.
496 * Sun Dec 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.46
497 - don't segfault with packages produced by rpm-2.93 (#80618).
498 - python: eliminate hash.[ch] and upgrade.[ch], methods too.
499 - fix :armor query extension, tgpg mktmp handling (#80684).
500 - use rpmfiFClass() underneath --fileclass.
501 - use rpmfiFDepends() underneath --fileprovide and --filerequire.
502 - python: add fi.FColor() and fi.FClass() methods.
503 - calculate dependency color and refernces.
504 - python: add ds.Color() and ds.Refs() methods.
505 - fix: typo in assertion.
507 * Sat Dec 28 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.45
508 - error if querying with iterator on different sized arrays.
509 - add rpmfi methods to access color, class, and dependencies.
511 * Fri Dec 27 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.42
512 - add BETA-GPG-KEY (but not in headers using %%pubkey yet).
513 - disable perl module magic rule.
514 - ignore ENOENT return from db->close (#80514,#79314).
515 - fix builddir relative inclusion, add %%pubkeys to rpm header.
516 - fix: package relocations were broken (#75057).
518 * Thu Dec 26 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.39
519 - add Red Hat pubkeys to rpm header.
520 - resurrect automagic perl(foo) dependency generation.
522 * Tue Dec 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.38
523 - add %%pubkey attribute to read armored pubkey files into header.
524 - permit both relative/absolute paths, display 'P' when verifying.
526 * Mon Dec 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.36
527 - add matching "config(N) = EVR" dependencies iff %%config is found.
529 * Sun Dec 22 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.35
530 - fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
531 - fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes.
532 - remove useless (and now unnecessary) kernel/glibc dependencies (#79872).
534 * Sat Dec 21 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.34
535 - add --enable-posixmutexes when configuring on linux.
536 - add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
537 - include srpm pkgid in binary headers (#71460).
538 - add %%check scriptlet to run after %%install (#64137).
539 - simplify specfile query linkage loop.
540 - drill rpmts into parseSpec(), carrying Spec along.
542 * Fri Dec 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.33
543 - dynamically link /bin/rpm, link against good old -lpthread.
544 - test pthread_{mutex,cond}attr_setpshared(), add DB_ENV_PRIVATE if not.
545 - error on exclusive Packages fcntl lock if DB_ENV_PRIVATE is set.
546 - copy compressFilelist to convertdb1.c, remove internal legacy.h.
548 * Thu Dec 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.31
549 - statically link against /usr/lib/nptl/libpthread.a, if present.
550 - remove popt aliases for -U et al.
551 - add -I/usr/include/nptl, Conflicts: kernel < 2.4.20.
553 * Wed Dec 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.29nptl
554 - popt aliases for -U et al to achieve dynamic link with nptl.
555 - add --file{class,provide,require} popt aliases and header extensions.
557 * Tue Dec 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.28nptl
558 - re-enable CDB locking, removing "private" from %%__dbi_cdb macro.
560 * Mon Dec 16 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.27+nptl
561 - rebuild against glibc with fcntl fixed in libpthread.
563 * Sun Dec 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.26+nptl
564 - disable fcntl(2) lock on Packages until glibc+nptl is fixed.
565 - make cdb locks "private" for pthreads compatibility w/o NPTL.
566 - add --enable-posixmutexes to use NPTL.
567 - make dependency generation "opt-out" everywhere.
569 * Sat Dec 14 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.25
570 - rebuild rpm with internal dependency generation enabled.
571 - fix: make sure each library has DT_NEEDED for all unresolved syms.
572 - generate Elf provides even if file is not executable.
574 * Fri Dec 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.24
575 - debug_packages "works", but non-noarch w/o %setup has empty payload.
576 - make dependency generation "opt-in" in order to build in distro.
578 * Thu Dec 12 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.23
579 - fix: add rpmlib(VersionedDependencies) if versioned Provides: found.
580 - fix: add %%ifnarch noarch to debug_package macro.
582 * Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.22
583 - rebuild against glibc with TLS support.
585 * Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.21
586 - don't generate dependencies unless execute bit is set.
587 - enable internal automagic dependency generation as default.
589 * Sat Dec 7 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.19
590 - resurrect AutoReq: and AutoProv:.
592 * Tue Dec 2 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.18
593 - internal automagic dependency generation (disabled for now).
595 * Mon Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.17
596 - late rpmts reference causes premature free (#78862).
598 * Sun Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.16
599 - link rpm libraries together, use shared helpers with external -lelf.
600 - move libfmagic to librpmio.
601 - use libtool-1.4.3, autoconf-2.56.
602 - add explicit -L/lib64 -L/usr/lib64 for libtool mode=relink on x86_64.
603 - use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
605 * Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.14
606 - upgrade to elfutils-0.63.
608 * Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.13
609 - bundle libfmagic into librpmbuild for now.
610 - apply patches 7 and 8 to db-4.1.24.
611 - upgrade to elfutils-0.59.
612 - add -g to all platforms optflags.
613 - build with external elfutils (preferred), if available.
615 * Wed Nov 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.12
616 - use rpmdeps rather than find-{requires,provides}.
618 * Tue Nov 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.11
619 - fix: option conflict error message (#77373).
620 - add AC_SYS_LARGFILE throughout.
621 - statically link rpmdeps against (internal) libfmagic.
623 * Fri Nov 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.10
624 - update to elfutils-0.56.
625 - have debug sub-subpackage use external, not internal, elfutils.
626 - apply patches 1-6 to db-4.1.24.
627 - resurrect availablePackages one more time.
629 * Wed Nov 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.8
630 - fix: bash must have functional libtermcap.so.2.
632 * Sat Nov 9 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.7
633 - add _javadir/_javadocdir/_javaclasspath macros.
635 * Fri Nov 8 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.6
636 - fix: /dev/initctl has not MD5 segfault (#76718).
637 - rpm.8: gpg uses GNUPGHOME, not GPGPATH (#76691).
638 - use %%{_lib} for libraries.
639 - fix: permit build with --disable-nls (#76258).
640 - add error message on glob failure (#76012).
641 - remove dependency on libelf.
643 * Thu Oct 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.5
644 - add /usr/lib/rpm/rpmdeps.
645 - add /usr/lib/rpm/magic.
647 * Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.4
648 - resurrect genhdlist "greased lightning" pathway for now.
649 - elfutils: avoid gcc-3.2 ICE on x86_64 for now.
651 * Fri Oct 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.2
652 - add debug sub-package patch.
653 - re-add elfutils/libdwarf (for dwarf.h), eliminate tools/dwarf2.h.
655 * Thu Oct 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.1
656 - set cachesize without a dbenv, the default is far too small.
657 - db: don't return EACCES on db->close w/o environment.
658 - unify cachesize configuration, with (or without) a dbenv.
659 - comments regarding unsupported (yet) db-4.1.17 functionality.
660 - requirement on libelf >= 0.8.2 to work around incompatible soname (#72792).
661 - fix: common sanity check on headers, prevent segfault (#72590).
662 - limit number of NOKEY/UNTRUSTED keys that will be warned once.
663 - libadd -lelf to rpmdb (#73024).
664 - update to db-4.1.24 final.
665 - eliminate myftw, use Fts(3) instead.
666 - dump libelf, gulp elfutils, for now.
667 - python: permit headers to be hashed.
668 - use %%{_lib} for libraries.