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 Summary: The RPM package management system.
15 %define version @VERSION@
17 %{expand: %%define rpm_version %{version}}
19 Group: System Environment/Base
20 Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
22 Conflicts: patch < 2.5
24 Prereq: gawk fileutils textutils mktemp shadow-utils
27 Obsoletes: rpm-perl < %{version}
29 # XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
30 BuildRequires: elfutils-libelf
32 BuildRequires: zlib-devel
34 # XXX Red Hat 5.2 has not bzip2 or python
36 BuildRequires: bzip2 >= 0.9.0c-2
38 %if %{with_python_subpackage}
39 BuildRequires: python-devel >= %{with_python_version}
42 BuildRoot: %{_tmppath}/%{name}-root
45 The RPM Package Manager (RPM) is a powerful command line driven
46 package management system capable of installing, uninstalling,
47 verifying, querying, and updating software packages. Each software
48 package consists of an archive of files along with information about
49 the package like its version, a description, etc.
52 Summary: Development files for manipulating RPM packages.
53 Group: Development/Libraries
54 Requires: rpm = %{rpm_version}
57 This package contains the RPM C library and header files. These
58 development files will simplify the process of writing programs that
59 manipulate RPM packages and databases. These files are intended to
60 simplify the process of creating graphical package managers or any
61 other tools that need an intimate knowledge of RPM packages in order
64 This package should be installed if you want to develop programs that
65 will manipulate RPM packages and databases.
68 Summary: Scripts and executable programs used to build packages.
69 Group: Development/Tools
70 Requires: rpm = %{rpm_version}, patch >= 2.5, file
71 Provides: rpmbuild(VendorConfig) = %{version}
74 The rpm-build package contains the scripts and executable programs
75 that are used to build packages using the RPM Package Manager.
77 %if %{with_python_subpackage}
79 Summary: Python bindings for apps which will manipulate RPM packages.
80 Group: Development/Libraries
81 Requires: rpm = %{rpm_version}
82 Requires: python >= %{with_python_version}
83 Requires: elfutils >= 0.55
86 The rpm-python package contains a module that permits applications
87 written in the Python programming language to use the interface
88 supplied by RPM Package Manager libraries.
90 This package should be installed if you want to develop Python
91 programs that will manipulate RPM packages and databases.
95 Summary: A C library for parsing command line parameters.
96 Group: Development/Libraries
100 Popt is a C library for parsing command line parameters. Popt was
101 heavily influenced by the getopt() and getopt_long() functions, but it
102 improves on them by allowing more powerful argument expansion. Popt
103 can parse arbitrary argv[] style arrays and automatically set
104 variables based on command line arguments. Popt allows command line
105 arguments to be aliased via configuration files and includes utility
106 functions for parsing arbitrary strings into argv[] arrays using
114 %if %{with_python_subpackage}
115 WITH_PYTHON="--with-python=%{with_python_version}"
117 WITH_PYTHON="--without-python"
121 %ifarch x86_64 s390 s390x
122 CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
124 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
126 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} --sysconfdir=/etc \
127 --localstatedir=/var --infodir='${prefix}%{__share}/info' \
128 --mandir='${prefix}%{__share}/man' \
129 $WITH_PYTHON --enable-posixmutexes --without-javaglue
131 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
138 rm -rf $RPM_BUILD_ROOT
140 make DESTDIR="$RPM_BUILD_ROOT" install
144 # Save list of packages through cron
145 mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
146 install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
148 mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
149 install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
151 mkdir -p $RPM_BUILD_ROOT/etc/rpm
153 mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
154 mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
156 Basenames Conflictname Dirnames Group Installtid Name Packages \
157 Providename Provideversion Requirename Requireversion Triggername \
158 Filemd5s Pubkeys Sha1header Sigmd5 \
159 __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
162 touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
168 gzip -9n apidocs/man/man*/* || :
171 # Get rid of unpackaged files
173 rm -rf .%{__prefix}/include/beecrypt
174 rm -f .%{__prefix}/%{_lib}/libbeecrypt.{a,la,so.2.2.0}
175 rm -rf .%{__prefix}/include/libelf
176 rm -f .%{__prefix}/%{_lib}/libelf.{a,la}
177 rm -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req}
178 rm -rf .%{__prefix}%{__share}/man/{fr,ko}
182 rm -rf $RPM_BUILD_ROOT
186 if [ -f /var/lib/rpm/packages.rpm ]; then
188 You have (unsupported)
189 /var/lib/rpm/packages.rpm db1 format installed package headers
190 Please install rpm-4.0.4 first, and do
192 to convert your database from db1 to db3 format.
196 /usr/sbin/groupadd -g 37 @RPMGROUP@ > /dev/null 2>&1
197 /usr/sbin/useradd -r -d /var/lib/rpm -u 37 -g 37 @RPMUSER@ > /dev/null 2>&1
204 /bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/[A-Z]*
212 /usr/sbin/userdel rpm
213 /usr/sbin/groupdel rpm
218 %post devel -p /sbin/ldconfig
219 %postun devel -p /sbin/ldconfig
221 %post -n popt -p /sbin/ldconfig
222 %postun -n popt -p /sbin/ldconfig
225 %if %{with_python_subpackage}
226 %post python -p /sbin/ldconfig
227 %postun python -p /sbin/ldconfig
230 %define rpmattr %attr(0755, @RPMUSER@, @RPMGROUP@)
233 %defattr(-,root,root)
234 %doc RPM-PGP-KEY RPM-GPG-KEY BETA-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
235 # XXX comment these lines out if building with rpm that knows not %pubkey attr
238 #%pubkey BETA-GPG-KEY
239 %attr(0755, @RPMUSER@, @RPMGROUP@) /bin/rpm
242 %config(noreplace,missingok) /etc/cron.daily/rpm
243 %config(noreplace,missingok) /etc/logrotate.d/rpm
245 #%config(noreplace,missingok) /etc/rpm/macros.*
246 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir /var/lib/rpm
247 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir /var/spool/repackage
249 %define rpmdbattr %attr(0644, @RPMUSER@, @RPMGROUP@) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
250 %rpmdbattr /var/lib/rpm/*
253 %rpmattr %{__prefix}/bin/rpm2cpio
254 %rpmattr %{__prefix}/bin/gendiff
255 %rpmattr %{__prefix}/bin/rpmdb
256 #%rpmattr %{__prefix}/bin/rpm[eiu]
257 %rpmattr %{__prefix}/bin/rpmsign
258 %rpmattr %{__prefix}/bin/rpmquery
259 %rpmattr %{__prefix}/bin/rpmverify
261 %{__prefix}/%{_lib}/librpm-@VERSION@.so
262 %{__prefix}/%{_lib}/librpmdb-@VERSION@.so
263 %{__prefix}/%{_lib}/librpmio-@VERSION@.so
264 %{__prefix}/%{_lib}/librpmbuild-@VERSION@.so
266 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir %{__prefix}/lib/rpm
267 %rpmattr %{__prefix}/lib/rpm/config.guess
268 %rpmattr %{__prefix}/lib/rpm/config.sub
269 %rpmattr %{__prefix}/lib/rpm/convertrpmrc.sh
270 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/macros
271 %rpmattr %{__prefix}/lib/rpm/mkinstalldirs
272 %rpmattr %{__prefix}/lib/rpm/rpm.*
273 %rpmattr %{__prefix}/lib/rpm/rpm2cpio.sh
274 %rpmattr %{__prefix}/lib/rpm/rpm[deiukqv]
275 %rpmattr %{__prefix}/lib/rpm/tgpg
276 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/rpmpopt*
277 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/rpmrc
279 %ifarch i386 i486 i586 i686 athlon
280 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/i[3456]86*
281 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/athlon*
283 %ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
284 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/alpha*
286 %ifarch sparc sparcv9 sparc64
287 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/sparc*
290 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/ia64*
292 %ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
293 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/ppc*
296 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/s390*
298 %ifarch armv3l armv4l
299 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/armv[34][lb]*
302 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/mips*
305 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/x86_64*
307 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/noarch*
309 %lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
310 %lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
311 %lang(de) %{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
312 %lang(fi) %{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
313 %lang(fr) %{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
314 %lang(gl) %{__prefix}/*/locale/gl/LC_MESSAGES/rpm.mo
315 %lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
316 %lang(ja) %{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
317 %lang(ko) %{__prefix}/*/locale/ko/LC_MESSAGES/rpm.mo
318 %lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
319 %lang(pl) %{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
320 %lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
321 %lang(pt_BR) %{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
322 %lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
323 %lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
324 %lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
325 %lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
326 %lang(sr) %{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
327 %lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
328 %lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
330 %{__prefix}%{__share}/man/man1/gendiff.1*
331 %{__prefix}%{__share}/man/man8/rpm.8*
332 %{__prefix}%{__share}/man/man8/rpm2cpio.8*
333 %lang(ja) %{__prefix}%{__share}/man/ja/man[18]/*.[18]*
334 %lang(pl) %{__prefix}%{__share}/man/pl/man[18]/*.[18]*
335 %lang(ru) %{__prefix}%{__share}/man/ru/man[18]/*.[18]*
336 %lang(sk) %{__prefix}%{__share}/man/sk/man[18]/*.[18]*
339 %defattr(-,root,root)
340 %dir %{__prefix}/src/@RPMCANONVENDOR@
341 %dir %{__prefix}/src/@RPMCANONVENDOR@/BUILD
342 %dir %{__prefix}/src/@RPMCANONVENDOR@/SPECS
343 %dir %{__prefix}/src/@RPMCANONVENDOR@/SOURCES
344 %dir %{__prefix}/src/@RPMCANONVENDOR@/SRPMS
345 %dir %{__prefix}/src/@RPMCANONVENDOR@/RPMS
346 %{__prefix}/src/@RPMCANONVENDOR@/RPMS/*
347 %rpmattr %{__prefix}/bin/rpmbuild
348 %rpmattr %{__prefix}/lib/rpm/brp-*
349 %rpmattr %{__prefix}/lib/rpm/check-files
350 %rpmattr %{__prefix}/lib/rpm/check-prereqs
351 %rpmattr %{__prefix}/lib/rpm/config.site
352 %rpmattr %{__prefix}/lib/rpm/cross-build
353 %rpmattr %{__prefix}/lib/rpm/debugedit
354 %rpmattr %{__prefix}/lib/rpm/find-debuginfo.sh
355 %rpmattr %{__prefix}/lib/rpm/find-lang.sh
356 %rpmattr %{__prefix}/lib/rpm/find-prov.pl
357 %rpmattr %{__prefix}/lib/rpm/find-provides
358 %rpmattr %{__prefix}/lib/rpm/find-provides.perl
359 %rpmattr %{__prefix}/lib/rpm/find-req.pl
360 %rpmattr %{__prefix}/lib/rpm/find-requires
361 %rpmattr %{__prefix}/lib/rpm/find-requires.perl
362 %rpmattr %{__prefix}/lib/rpm/get_magic.pl
363 %rpmattr %{__prefix}/lib/rpm/getpo.sh
364 %rpmattr %{__prefix}/lib/rpm/http.req
365 %rpmattr %{__prefix}/lib/rpm/javadeps
366 %rpmattr %{__prefix}/lib/rpm/magic
367 %rpmattr %{__prefix}/lib/rpm/magic.mgc
368 %rpmattr %{__prefix}/lib/rpm/magic.mime
369 %rpmattr %{__prefix}/lib/rpm/magic.mime.mgc
370 %rpmattr %{__prefix}/lib/rpm/magic.prov
371 %rpmattr %{__prefix}/lib/rpm/magic.req
372 %rpmattr %{__prefix}/lib/rpm/perl.prov
373 %rpmattr %{__prefix}/lib/rpm/perl.req
375 %rpmattr %{__prefix}/lib/rpm/rpm[bt]
376 %rpmattr %{__prefix}/lib/rpm/rpmdeps
377 %rpmattr %{__prefix}/lib/rpm/trpm
378 %rpmattr %{__prefix}/lib/rpm/u_pkg.sh
379 %rpmattr %{__prefix}/lib/rpm/vpkg-provides.sh
380 %rpmattr %{__prefix}/lib/rpm/vpkg-provides2.sh
382 %{__prefix}%{__share}/man/man8/rpmbuild.8*
383 %{__prefix}%{__share}/man/man8/rpmdeps.8*
385 %if %{with_python_subpackage}
387 %defattr(-,root,root)
388 %{__prefix}/lib/python%{with_python_version}/site-packages/rpmmodule.so
389 %{__prefix}/lib/python%{with_python_version}/site-packages/rpmdb
393 %defattr(-,root,root)
395 %doc @WITH_APIDOCS_TARGET@
397 %{__prefix}/include/rpm
398 %{__prefix}/%{_lib}/librpm.a
399 %{__prefix}/%{_lib}/librpm.la
400 %{__prefix}/%{_lib}/librpm.so
401 %{__prefix}/%{_lib}/librpmdb.a
402 %{__prefix}/%{_lib}/librpmdb.la
403 %{__prefix}/%{_lib}/librpmdb.so
404 %{__prefix}/%{_lib}/librpmio.a
405 %{__prefix}/%{_lib}/librpmio.la
406 %{__prefix}/%{_lib}/librpmio.so
407 %{__prefix}/%{_lib}/librpmbuild.a
408 %{__prefix}/%{_lib}/librpmbuild.la
409 %{__prefix}/%{_lib}/librpmbuild.so
410 %{__prefix}%{__share}/man/man8/rpmcache.8*
411 %{__prefix}%{__share}/man/man8/rpmgraph.8*
412 %rpmattr %{__prefix}/lib/rpm/rpmcache
413 %rpmattr %{__prefix}/lib/rpm/rpmdb_deadlock
414 %rpmattr %{__prefix}/lib/rpm/rpmdb_dump
415 %rpmattr %{__prefix}/lib/rpm/rpmdb_load
416 %rpmattr %{__prefix}/lib/rpm/rpmdb_svc
417 %rpmattr %{__prefix}/lib/rpm/rpmdb_stat
418 %rpmattr %{__prefix}/lib/rpm/rpmdb_verify
419 %rpmattr %{__prefix}/bin/rpmgraph
422 %defattr(-,root,root)
423 %{__prefix}/%{_lib}/libpopt.so.*
424 %{__prefix}%{__share}/man/man3/popt.3*
425 %lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
426 %lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
427 %lang(de) %{__prefix}/*/locale/de/LC_MESSAGES/popt.mo
428 %lang(es) %{__prefix}/*/locale/es/LC_MESSAGES/popt.mo
429 %lang(eu_ES) %{__prefix}/*/locale/eu_ES/LC_MESSAGES/popt.mo
430 %lang(fi) %{__prefix}/*/locale/fi/LC_MESSAGES/popt.mo
431 %lang(fr) %{__prefix}/*/locale/fr/LC_MESSAGES/popt.mo
432 %lang(gl) %{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
433 %lang(hu) %{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
434 %lang(id) %{__prefix}/*/locale/id/LC_MESSAGES/popt.mo
435 %lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
436 %lang(it) %{__prefix}/*/locale/it/LC_MESSAGES/popt.mo
437 %lang(ja) %{__prefix}/*/locale/ja/LC_MESSAGES/popt.mo
438 %lang(ko) %{__prefix}/*/locale/ko/LC_MESSAGES/popt.mo
439 %lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
440 %lang(pl) %{__prefix}/*/locale/pl/LC_MESSAGES/popt.mo
441 %lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
442 %lang(pt_BR) %{__prefix}/*/locale/pt_BR/LC_MESSAGES/popt.mo
443 %lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
444 %lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
445 %lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
446 %lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
447 %lang(sr) %{__prefix}/*/locale/sr/LC_MESSAGES/popt.mo
448 %lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
449 %lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
450 %lang(uk) %{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
451 %lang(wa) %{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
452 %lang(zh) %{__prefix}/*/locale/zh/LC_MESSAGES/popt.mo
453 %lang(zh_CN) %{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
455 # XXX These may end up in popt-devel but it hardly seems worth the effort.
456 %{__prefix}/%{_lib}/libpopt.a
457 %{__prefix}/%{_lib}/libpopt.la
458 %{__prefix}/%{_lib}/libpopt.so
459 %{__prefix}/include/popt.h
462 * Sun Dec 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.46
463 - don't segfault with packages produced by rpm-2.93 (#80618).
464 - python: eliminate hash.[ch] and upgrade.[ch], methods too.
465 - fix :armor query extension, tgpg mktmp handling (#80684).
466 - use rpmfiClass() underneath --fileclass.
468 * Sat Dec 28 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.45
469 - error if querying with iterator on different sized arrays.
470 - add rpmfi methods to access color, class, and dependencies.
472 * Fri Dec 27 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.42
473 - add BETA-GPG-KEY (but not in headers using %%pubkey yet).
474 - disable perl module magic rule.
475 - ignore ENOENT return from db->close (#80514,#79314).
476 - fix builddir relative inclusion, add %%pubkeys to rpm header.
477 - fix: package relocations were broken (#75057).
479 * Thu Dec 26 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.39
480 - add Red Hat pubkeys to rpm header.
481 - resurrect automagic perl(foo) dependency generation.
483 * Tue Dec 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.38
484 - add %%pubkey attribute to read armored pubkey files into header.
485 - permit both relative/absolute paths, display 'P' when verifying.
487 * Mon Dec 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.36
488 - add matching "config(N) = EVR" dependencies iff %%config is found.
490 * Sun Dec 22 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.35
491 - fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
492 - fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes.
493 - remove useless (and now unnecessary) kernel/glibc dependencies (#79872).
495 * Sat Dec 21 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.34
496 - add --enable-posixmutexes when configuring on linux.
497 - add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
498 - include srpm pkgid in binary headers (#71460).
499 - add %%check scriptlet to run after %%install (#64137).
500 - simplify specfile query linkage loop.
501 - drill rpmts into parseSpec(), carrying Spec along.
503 * Fri Dec 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.33
504 - dynamically link /bin/rpm, link against good old -lpthread.
505 - test pthread_{mutex,cond}attr_setpshared(), add DB_ENV_PRIVATE if not.
506 - error on exclusive Packages fcntl lock if DB_ENV_PRIVATE is set.
507 - copy compressFilelist to convertdb1.c, remove internal legacy.h.
509 * Thu Dec 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.31
510 - statically link against /usr/lib/nptl/libpthread.a, if present.
511 - remove popt aliases for -U et al.
512 - add -I/usr/include/nptl, Conflicts: kernel < 2.4.20.
514 * Wed Dec 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.29nptl
515 - popt aliases for -U et al to achieve dynamic link with nptl.
516 - add --file{class,provide,require} popt aliases and header extensions.
518 * Tue Dec 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.28nptl
519 - re-enable CDB locking, removing "private" from %%__dbi_cdb macro.
521 * Mon Dec 16 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.27+nptl
522 - rebuild against glibc with fcntl fixed in libpthread.
524 * Sun Dec 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.26+nptl
525 - disable fcntl(2) lock on Packages until glibc+nptl is fixed.
526 - make cdb locks "private" for pthreads compatibility w/o NPTL.
527 - add --enable-posixmutexes to use NPTL.
528 - make dependency generation "opt-out" everywhere.
530 * Sat Dec 14 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.25
531 - rebuild rpm with internal dependency generation enabled.
532 - fix: make sure each library has DT_NEEDED for all unresolved syms.
533 - generate Elf provides even if file is not executable.
535 * Fri Dec 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.24
536 - debug_packages "works", but non-noarch w/o %setup has empty payload.
537 - make dependency generation "opt-in" in order to build in distro.
539 * Thu Dec 12 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.23
540 - fix: add rpmlib(VersionedDependencies) if versioned Provides: found.
541 - fix: add %%ifnarch noarch to debug_package macro.
543 * Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.22
544 - rebuild against glibc with TLS support.
546 * Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.21
547 - don't generate dependencies unless execute bit is set.
548 - enable internal automagic dependency generation as default.
550 * Sat Dec 7 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.19
551 - resurrect AutoReq: and AutoProv:.
553 * Tue Dec 2 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.18
554 - internal automagic dependency generation (disabled for now).
556 * Mon Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.17
557 - late rpmts reference causes premature free (#78862).
559 * Sun Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.16
560 - link rpm libraries together, use shared helpers with external -lelf.
561 - move libfmagic to librpmio.
562 - use libtool-1.4.3, autoconf-2.56.
563 - add explicit -L/lib64 -L/usr/lib64 for libtool mode=relink on x86_64.
564 - use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
566 * Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.14
567 - upgrade to elfutils-0.63.
569 * Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.13
570 - bundle libfmagic into librpmbuild for now.
571 - apply patches 7 and 8 to db-4.1.24.
572 - upgrade to elfutils-0.59.
573 - add -g to all platforms optflags.
574 - build with external elfutils (preferred), if available.
576 * Wed Nov 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.12
577 - use rpmdeps rather than find-{requires,provides}.
579 * Tue Nov 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.11
580 - fix: option conflict error message (#77373).
581 - add AC_SYS_LARGFILE throughout.
582 - statically link rpmdeps against (internal) libfmagic.
584 * Fri Nov 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.10
585 - update to elfutils-0.56.
586 - have debug sub-subpackage use external, not internal, elfutils.
587 - apply patches 1-6 to db-4.1.24.
588 - resurrect availablePackages one more time.
590 * Wed Nov 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.8
591 - fix: bash must have functional libtermcap.so.2.
593 * Sat Nov 9 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.7
594 - add _javadir/_javadocdir/_javaclasspath macros.
596 * Fri Nov 8 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.6
597 - fix: /dev/initctl has not MD5 segfault (#76718).
598 - rpm.8: gpg uses GNUPGHOME, not GPGPATH (#76691).
599 - use %%{_lib} for libraries.
600 - fix: permit build with --disable-nls (#76258).
601 - add error message on glob failure (#76012).
602 - remove dependency on libelf.
604 * Thu Oct 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.5
605 - add /usr/lib/rpm/rpmdeps.
606 - add /usr/lib/rpm/magic.
608 * Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.4
609 - resurrect genhdlist "greased lightning" pathway for now.
610 - elfutils: avoid gcc-3.2 ICE on x86_64 for now.
612 * Fri Oct 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.2
613 - add debug sub-package patch.
614 - re-add elfutils/libdwarf (for dwarf.h), eliminate tools/dwarf2.h.
616 * Thu Oct 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.1
617 - set cachesize without a dbenv, the default is far too small.
618 - db: don't return EACCES on db->close w/o environment.
619 - unify cachesize configuration, with (or without) a dbenv.
620 - comments regarding unsupported (yet) db-4.1.17 functionality.
621 - requirement on libelf >= 0.8.2 to work around incompatible soname (#72792).
622 - fix: common sanity check on headers, prevent segfault (#72590).
623 - limit number of NOKEY/UNTRUSTED keys that will be warned once.
624 - libadd -lelf to rpmdb (#73024).
625 - update to db-4.1.24 final.
626 - eliminate myftw, use Fts(3) instead.
627 - dump libelf, gulp elfutils, for now.
628 - python: permit headers to be hashed.
629 - use %%{_lib} for libraries.