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: fileutils 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 # XXX rpm needs functioning nptl for configure tests
120 unset LD_ASSUME_KERNEL || :
122 %if %{with_python_subpackage}
123 WITH_PYTHON="--with-python=%{with_python_version}"
125 WITH_PYTHON="--without-python"
129 %ifarch x86_64 s390 s390x
130 CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
132 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
134 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} --sysconfdir=/etc \
135 --localstatedir=/var --infodir='${prefix}%{__share}/info' \
136 --mandir='${prefix}%{__share}/man' \
137 $WITH_PYTHON --enable-posixmutexes --without-javaglue
139 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
146 # XXX rpm needs functioning nptl for configure tests
147 unset LD_ASSUME_KERNEL || :
149 rm -rf $RPM_BUILD_ROOT
151 make DESTDIR="$RPM_BUILD_ROOT" install
155 # Save list of packages through cron
156 mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
157 install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
159 mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
160 install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
162 mkdir -p $RPM_BUILD_ROOT/etc/rpm
164 mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
165 mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
167 Basenames Conflictname Dirnames Group Installtid Name Packages \
168 Providename Provideversion Requirename Requireversion Triggername \
169 Filemd5s Pubkeys Sha1header Sigmd5 \
170 __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
173 touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
179 gzip -9n apidocs/man/man*/* || :
182 # Get rid of unpackaged files
184 rm -rf .%{__includedir}/beecrypt
185 rm -f .%{__libdir}/libbeecrypt.{a,la,so.2.2.0}
186 rm -rf .%{__includedir}/libelf
187 rm -f .%{__libdir}/libelf.{a,la}
188 rm -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req}
189 rm -rf .%{__mandir}/{fr,ko}
193 rm -rf $RPM_BUILD_ROOT
197 if [ -f /var/lib/rpm/packages.rpm ]; then
199 You have (unsupported)
200 /var/lib/rpm/packages.rpm db1 format installed package headers
201 Please install rpm-4.0.4 first, and do
203 to convert your database from db1 to db3 format.
207 /usr/sbin/groupadd -g 37 @RPMGROUP@ > /dev/null 2>&1
208 /usr/sbin/useradd -r -d /var/lib/rpm -u 37 -g 37 @RPMUSER@ > /dev/null 2>&1
215 /bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/[A-Z]*
223 /usr/sbin/userdel rpm
224 /usr/sbin/groupdel rpm
228 %post devel -p /sbin/ldconfig
229 %postun devel -p /sbin/ldconfig
231 %post -n popt -p /sbin/ldconfig
232 %postun -n popt -p /sbin/ldconfig
235 %if %{with_python_subpackage}
236 %post python -p /sbin/ldconfig
237 %postun python -p /sbin/ldconfig
240 %define rpmattr %attr(0755, @RPMUSER@, @RPMGROUP@)
243 %defattr(-,root,root)
244 %doc RPM-PGP-KEY RPM-GPG-KEY BETA-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
245 # XXX comment these lines out if building with rpm that knows not %pubkey attr
249 %attr(0755, @RPMUSER@, @RPMGROUP@) /bin/rpm
252 %config(noreplace,missingok) /etc/cron.daily/rpm
253 %config(noreplace,missingok) /etc/logrotate.d/rpm
255 #%config(noreplace,missingok) /etc/rpm/macros.*
256 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir /var/lib/rpm
257 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir /var/spool/repackage
259 %define rpmdbattr %attr(0644, @RPMUSER@, @RPMGROUP@) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
260 %rpmdbattr /var/lib/rpm/*
263 %rpmattr %{__bindir}/rpm2cpio
264 %rpmattr %{__bindir}/gendiff
265 %rpmattr %{__bindir}/rpmdb
266 #%rpmattr %{__bindir}/rpm[eiu]
267 %rpmattr %{__bindir}/rpmsign
268 %rpmattr %{__bindir}/rpmquery
269 %rpmattr %{__bindir}/rpmverify
271 %{__libdir}/librpm-@VERSION@.so
272 %{__libdir}/librpmdb-@VERSION@.so
273 %{__libdir}/librpmio-@VERSION@.so
274 %{__libdir}/librpmbuild-@VERSION@.so
276 %attr(0755, @RPMUSER@, @RPMGROUP@) %dir %{__prefix}/lib/rpm
277 %rpmattr %{__prefix}/lib/rpm/config.guess
278 %rpmattr %{__prefix}/lib/rpm/config.sub
279 %rpmattr %{__prefix}/lib/rpm/convertrpmrc.sh
280 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/macros
281 %rpmattr %{__prefix}/lib/rpm/mkinstalldirs
282 %rpmattr %{__prefix}/lib/rpm/rpm.*
283 %rpmattr %{__prefix}/lib/rpm/rpm2cpio.sh
284 %rpmattr %{__prefix}/lib/rpm/rpm[deiukqv]
285 %rpmattr %{__prefix}/lib/rpm/tgpg
286 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/rpmpopt*
287 %attr(0644, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/rpmrc
289 %ifarch i386 i486 i586 i686 athlon
290 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/i[3456]86*
291 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/athlon*
293 %ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
294 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/alpha*
296 %ifarch sparc sparcv9 sparc64
297 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/sparc*
300 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/ia64*
302 %ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
303 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/ppc*
306 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/s390*
308 %ifarch armv3l armv4l
309 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/armv[34][lb]*
312 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/mips*
315 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/x86_64*
317 %attr(-, @RPMUSER@, @RPMGROUP@) %{__prefix}/lib/rpm/noarch*
319 %lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
320 %lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
321 %lang(de) %{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
322 %lang(fi) %{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
323 %lang(fr) %{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
324 %lang(gl) %{__prefix}/*/locale/gl/LC_MESSAGES/rpm.mo
325 %lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
326 %lang(ja) %{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
327 %lang(ko) %{__prefix}/*/locale/ko/LC_MESSAGES/rpm.mo
328 %lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
329 %lang(pl) %{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
330 %lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
331 %lang(pt_BR) %{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
332 %lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
333 %lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
334 %lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
335 %lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
336 %lang(sr) %{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
337 %lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
338 %lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
340 %{__mandir}/man1/gendiff.1*
341 %{__mandir}/man8/rpm.8*
342 %{__mandir}/man8/rpm2cpio.8*
343 %lang(ja) %{__mandir}/ja/man[18]/*.[18]*
344 %lang(pl) %{__mandir}/pl/man[18]/*.[18]*
345 %lang(ru) %{__mandir}/ru/man[18]/*.[18]*
346 %lang(sk) %{__mandir}/sk/man[18]/*.[18]*
349 %defattr(-,root,root)
350 %dir %{__prefix}/src/@RPMCANONVENDOR@
351 %dir %{__prefix}/src/@RPMCANONVENDOR@/BUILD
352 %dir %{__prefix}/src/@RPMCANONVENDOR@/SPECS
353 %dir %{__prefix}/src/@RPMCANONVENDOR@/SOURCES
354 %dir %{__prefix}/src/@RPMCANONVENDOR@/SRPMS
355 %dir %{__prefix}/src/@RPMCANONVENDOR@/RPMS
356 %{__prefix}/src/@RPMCANONVENDOR@/RPMS/*
357 %rpmattr %{__bindir}/rpmbuild
358 %rpmattr %{__prefix}/lib/rpm/brp-*
359 %rpmattr %{__prefix}/lib/rpm/check-files
360 %rpmattr %{__prefix}/lib/rpm/check-prereqs
361 %rpmattr %{__prefix}/lib/rpm/config.site
362 %rpmattr %{__prefix}/lib/rpm/cross-build
363 %rpmattr %{__prefix}/lib/rpm/debugedit
364 %rpmattr %{__prefix}/lib/rpm/find-debuginfo.sh
365 %rpmattr %{__prefix}/lib/rpm/find-lang.sh
366 %rpmattr %{__prefix}/lib/rpm/find-prov.pl
367 %rpmattr %{__prefix}/lib/rpm/find-provides
368 %rpmattr %{__prefix}/lib/rpm/find-provides.perl
369 %rpmattr %{__prefix}/lib/rpm/find-req.pl
370 %rpmattr %{__prefix}/lib/rpm/find-requires
371 %rpmattr %{__prefix}/lib/rpm/find-requires.perl
372 %rpmattr %{__prefix}/lib/rpm/get_magic.pl
373 %rpmattr %{__prefix}/lib/rpm/getpo.sh
374 %rpmattr %{__prefix}/lib/rpm/http.req
375 %rpmattr %{__prefix}/lib/rpm/javadeps
376 %rpmattr %{__prefix}/lib/rpm/magic
377 %rpmattr %{__prefix}/lib/rpm/magic.mgc
378 %rpmattr %{__prefix}/lib/rpm/magic.mime
379 %rpmattr %{__prefix}/lib/rpm/magic.mime.mgc
380 %rpmattr %{__prefix}/lib/rpm/magic.prov
381 %rpmattr %{__prefix}/lib/rpm/magic.req
382 %rpmattr %{__prefix}/lib/rpm/perldeps.pl
383 %rpmattr %{__prefix}/lib/rpm/perl.prov
384 %rpmattr %{__prefix}/lib/rpm/perl.req
386 %rpmattr %{__prefix}/lib/rpm/rpm[bt]
387 %rpmattr %{__prefix}/lib/rpm/rpmdeps
388 %rpmattr %{__prefix}/lib/rpm/trpm
389 %rpmattr %{__prefix}/lib/rpm/u_pkg.sh
390 %rpmattr %{__prefix}/lib/rpm/vpkg-provides.sh
391 %rpmattr %{__prefix}/lib/rpm/vpkg-provides2.sh
393 %{__mandir}/man8/rpmbuild.8*
394 %{__mandir}/man8/rpmdeps.8*
396 %if %{with_python_subpackage}
398 %defattr(-,root,root)
399 %{__libdir}/python%{with_python_version}/site-packages/rpmmodule.so
400 %{__libdir}/python%{with_python_version}/site-packages/rpmdb
404 %defattr(-,root,root)
406 %doc @WITH_APIDOCS_TARGET@
410 %{__libdir}/librpm.la
411 %{__libdir}/librpm.so
412 %{__libdir}/librpmdb.a
413 %{__libdir}/librpmdb.la
414 %{__libdir}/librpmdb.so
415 %{__libdir}/librpmio.a
416 %{__libdir}/librpmio.la
417 %{__libdir}/librpmio.so
418 %{__libdir}/librpmbuild.a
419 %{__libdir}/librpmbuild.la
420 %{__libdir}/librpmbuild.so
421 %{__mandir}/man8/rpmcache.8*
422 %{__mandir}/man8/rpmgraph.8*
423 %rpmattr %{__prefix}/lib/rpm/rpmcache
424 %rpmattr %{__prefix}/lib/rpm/rpmdb_deadlock
425 %rpmattr %{__prefix}/lib/rpm/rpmdb_dump
426 %rpmattr %{__prefix}/lib/rpm/rpmdb_load
427 %rpmattr %{__prefix}/lib/rpm/rpmdb_loadcvt
428 %rpmattr %{__prefix}/lib/rpm/rpmdb_svc
429 %rpmattr %{__prefix}/lib/rpm/rpmdb_stat
430 %rpmattr %{__prefix}/lib/rpm/rpmdb_verify
431 %rpmattr %{__prefix}/lib/rpm/rpmfile
432 %rpmattr %{__bindir}/rpmgraph
435 %defattr(-,root,root)
436 %{__libdir}/libpopt.so.*
437 %{__mandir}/man3/popt.3*
438 %lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
439 %lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
440 %lang(de) %{__prefix}/*/locale/de/LC_MESSAGES/popt.mo
441 %lang(es) %{__prefix}/*/locale/es/LC_MESSAGES/popt.mo
442 %lang(eu_ES) %{__prefix}/*/locale/eu_ES/LC_MESSAGES/popt.mo
443 %lang(fi) %{__prefix}/*/locale/fi/LC_MESSAGES/popt.mo
444 %lang(fr) %{__prefix}/*/locale/fr/LC_MESSAGES/popt.mo
445 %lang(gl) %{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
446 %lang(hu) %{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
447 %lang(id) %{__prefix}/*/locale/id/LC_MESSAGES/popt.mo
448 %lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
449 %lang(it) %{__prefix}/*/locale/it/LC_MESSAGES/popt.mo
450 %lang(ja) %{__prefix}/*/locale/ja/LC_MESSAGES/popt.mo
451 %lang(ko) %{__prefix}/*/locale/ko/LC_MESSAGES/popt.mo
452 %lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
453 %lang(pl) %{__prefix}/*/locale/pl/LC_MESSAGES/popt.mo
454 %lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
455 %lang(pt_BR) %{__prefix}/*/locale/pt_BR/LC_MESSAGES/popt.mo
456 %lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
457 %lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
458 %lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
459 %lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
460 %lang(sr) %{__prefix}/*/locale/sr/LC_MESSAGES/popt.mo
461 %lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
462 %lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
463 %lang(uk) %{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
464 %lang(wa) %{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
465 %lang(zh) %{__prefix}/*/locale/zh/LC_MESSAGES/popt.mo
466 %lang(zh_CN) %{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
468 # XXX These may end up in popt-devel but it hardly seems worth the effort.
469 %{__libdir}/libpopt.a
470 %{__libdir}/libpopt.la
471 %{__libdir}/libpopt.so
472 %{__includedir}/popt.h
475 * Fri Mar 7 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.70
476 - fix: memory leak (85522).
477 - build with internal elfutils if not installed.
479 * Thu Feb 27 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.69
480 - file: check size read from elf header (#85297).
482 * Thu Feb 6 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.66
483 - popt: diddle doxygen/splint annotations, corrected doco.
484 - file: fix ogg/vorbis file classification problems.
485 - skip fingerprints in /usr/share/doc and /usr/src/debug.
486 - add file(1) as /usr/lib/rpm/rpmfile.
487 - enable transaction coloring for s390x/ppc64.
489 * Fri Jan 31 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.65
490 - fix: trap SIGPIPE, close database(s).
491 - configurable default query output format.
493 * Wed Jan 29 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.64
494 - pay attention to package color when upgrading identical packages.
496 * Tue Jan 28 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.63
497 - fix: clean relocation path for --prefix=/.
498 - python: permit stdout/stderr to be remapped to install.log.
500 * Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.62
501 - fix: more debugedit.c problems.
503 * Sat Jan 25 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.61
504 - permit anaconda to choose "presentation order".
506 * Wed Jan 22 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.60
507 - fix: debugedit.c problem.
509 * Fri Jan 17 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.58
510 - duplicate package checks with arch/os checks if colored.
511 - file conflict checks with colors.
513 * Mon Jan 13 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.57
514 - teach rpmquery to return "owning" package(s) in spite of alternatives.
516 * Sun Jan 12 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.56
517 - file: *really* read elf64 notes correctly.
518 - python: restore thread context on errorCB (#80744).
520 * Fri Jan 10 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.55
521 - fix: obscure corner case(s) with rpmvercmp (#50977).
523 * Wed Jan 8 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.54
524 - python: put rpmmodule.so where python expects to find.
525 - add brp-strip-static-archive build root policy helper.
526 - add -lelf to rpm LDFLAGS, not LDADD, since there is no libelf.la now.
528 * Tue Jan 7 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.53
529 - file: read elf64 notes correctly.
531 * Mon Jan 6 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.52
532 - portabilitly: solaris fixes.
533 - for DSO's, provide the file basename if DT_SONAME not found.
534 - add perldeps.pl, start to replace perl.{prov,req}.
536 * Sun Jan 5 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.51
537 - file: avoid ogg/vorbis file classification problems.
539 * Wed Jan 1 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.49
540 - add rpmts/rpmte/rpmfi/rpmds element colors.
541 - ignore items not in our rainbow (i.e. colors are functional).
542 - fix: dependency helpers now rate limited at 10ms, not 1s.
543 - add per-arch canonical color, only x86_64 enabled for now.
545 * Sun Dec 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.46
546 - don't segfault with packages produced by rpm-2.93 (#80618).
547 - python: eliminate hash.[ch] and upgrade.[ch], methods too.
548 - fix :armor query extension, tgpg mktmp handling (#80684).
549 - use rpmfiFClass() underneath --fileclass.
550 - use rpmfiFDepends() underneath --fileprovide and --filerequire.
551 - python: add fi.FColor() and fi.FClass() methods.
552 - calculate dependency color and refernces.
553 - python: add ds.Color() and ds.Refs() methods.
554 - fix: typo in assertion.
556 * Sat Dec 28 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.45
557 - error if querying with iterator on different sized arrays.
558 - add rpmfi methods to access color, class, and dependencies.
560 * Fri Dec 27 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.42
561 - add BETA-GPG-KEY (but not in headers using %%pubkey yet).
562 - disable perl module magic rule.
563 - ignore ENOENT return from db->close (#80514,#79314).
564 - fix builddir relative inclusion, add %%pubkeys to rpm header.
565 - fix: package relocations were broken (#75057).
567 * Thu Dec 26 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.39
568 - add Red Hat pubkeys to rpm header.
569 - resurrect automagic perl(foo) dependency generation.
571 * Tue Dec 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.38
572 - add %%pubkey attribute to read armored pubkey files into header.
573 - permit both relative/absolute paths, display 'P' when verifying.
575 * Mon Dec 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.36
576 - add matching "config(N) = EVR" dependencies iff %%config is found.
578 * Sun Dec 22 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.35
579 - fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
580 - fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes.
581 - remove useless (and now unnecessary) kernel/glibc dependencies (#79872).
583 * Sat Dec 21 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.34
584 - add --enable-posixmutexes when configuring on linux.
585 - add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
586 - include srpm pkgid in binary headers (#71460).
587 - add %%check scriptlet to run after %%install (#64137).
588 - simplify specfile query linkage loop.
589 - drill rpmts into parseSpec(), carrying Spec along.
591 * Fri Dec 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.33
592 - dynamically link /bin/rpm, link against good old -lpthread.
593 - test pthread_{mutex,cond}attr_setpshared(), add DB_ENV_PRIVATE if not.
594 - error on exclusive Packages fcntl lock if DB_ENV_PRIVATE is set.
595 - copy compressFilelist to convertdb1.c, remove internal legacy.h.
597 * Thu Dec 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.31
598 - statically link against /usr/lib/nptl/libpthread.a, if present.
599 - remove popt aliases for -U et al.
600 - add -I/usr/include/nptl, Conflicts: kernel < 2.4.20.
602 * Wed Dec 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.29nptl
603 - popt aliases for -U et al to achieve dynamic link with nptl.
604 - add --file{class,provide,require} popt aliases and header extensions.
606 * Tue Dec 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.28nptl
607 - re-enable CDB locking, removing "private" from %%__dbi_cdb macro.
609 * Mon Dec 16 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.27+nptl
610 - rebuild against glibc with fcntl fixed in libpthread.
612 * Sun Dec 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.26+nptl
613 - disable fcntl(2) lock on Packages until glibc+nptl is fixed.
614 - make cdb locks "private" for pthreads compatibility w/o NPTL.
615 - add --enable-posixmutexes to use NPTL.
616 - make dependency generation "opt-out" everywhere.
618 * Sat Dec 14 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.25
619 - rebuild rpm with internal dependency generation enabled.
620 - fix: make sure each library has DT_NEEDED for all unresolved syms.
621 - generate Elf provides even if file is not executable.
623 * Fri Dec 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.24
624 - debug_packages "works", but non-noarch w/o %setup has empty payload.
625 - make dependency generation "opt-in" in order to build in distro.
627 * Thu Dec 12 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.23
628 - fix: add rpmlib(VersionedDependencies) if versioned Provides: found.
629 - fix: add %%ifnarch noarch to debug_package macro.
631 * Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.22
632 - rebuild against glibc with TLS support.
634 * Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.21
635 - don't generate dependencies unless execute bit is set.
636 - enable internal automagic dependency generation as default.
638 * Sat Dec 7 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.19
639 - resurrect AutoReq: and AutoProv:.
641 * Tue Dec 2 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.18
642 - internal automagic dependency generation (disabled for now).
644 * Mon Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.17
645 - late rpmts reference causes premature free (#78862).
647 * Sun Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.16
648 - link rpm libraries together, use shared helpers with external -lelf.
649 - move libfmagic to librpmio.
650 - use libtool-1.4.3, autoconf-2.56.
651 - add explicit -L/lib64 -L/usr/lib64 for libtool mode=relink on x86_64.
652 - use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
654 * Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.14
655 - upgrade to elfutils-0.63.
657 * Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.13
658 - bundle libfmagic into librpmbuild for now.
659 - apply patches 7 and 8 to db-4.1.24.
660 - upgrade to elfutils-0.59.
661 - add -g to all platforms optflags.
662 - build with external elfutils (preferred), if available.
664 * Wed Nov 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.12
665 - use rpmdeps rather than find-{requires,provides}.
667 * Tue Nov 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.11
668 - fix: option conflict error message (#77373).
669 - add AC_SYS_LARGFILE throughout.
670 - statically link rpmdeps against (internal) libfmagic.
672 * Fri Nov 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.10
673 - update to elfutils-0.56.
674 - have debug sub-subpackage use external, not internal, elfutils.
675 - apply patches 1-6 to db-4.1.24.
676 - resurrect availablePackages one more time.
678 * Wed Nov 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.8
679 - fix: bash must have functional libtermcap.so.2.
681 * Sat Nov 9 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.7
682 - add _javadir/_javadocdir/_javaclasspath macros.
684 * Fri Nov 8 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.6
685 - fix: /dev/initctl has not MD5 segfault (#76718).
686 - rpm.8: gpg uses GNUPGHOME, not GPGPATH (#76691).
687 - use %%{_lib} for libraries.
688 - fix: permit build with --disable-nls (#76258).
689 - add error message on glob failure (#76012).
690 - remove dependency on libelf.
692 * Thu Oct 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.5
693 - add /usr/lib/rpm/rpmdeps.
694 - add /usr/lib/rpm/magic.
696 * Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.4
697 - resurrect genhdlist "greased lightning" pathway for now.
698 - elfutils: avoid gcc-3.2 ICE on x86_64 for now.
700 * Fri Oct 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.2
701 - add debug sub-package patch.
702 - re-add elfutils/libdwarf (for dwarf.h), eliminate tools/dwarf2.h.
704 * Thu Oct 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.1
705 - set cachesize without a dbenv, the default is far too small.
706 - db: don't return EACCES on db->close w/o environment.
707 - unify cachesize configuration, with (or without) a dbenv.
708 - comments regarding unsupported (yet) db-4.1.17 functionality.
709 - requirement on libelf >= 0.8.2 to work around incompatible soname (#72792).
710 - fix: common sanity check on headers, prevent segfault (#72590).
711 - limit number of NOKEY/UNTRUSTED keys that will be warned once.
712 - libadd -lelf to rpmdb (#73024).
713 - update to db-4.1.24 final.
714 - eliminate myftw, use Fts(3) instead.
715 - dump libelf, gulp elfutils, for now.
716 - python: permit headers to be hashed.
717 - use %%{_lib} for libraries.