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 * Sat Dec 28 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.44
463 - error if querying with iterator on different sized arrays.
465 * Fri Dec 27 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.42
466 - add BETA-GPG-KEY (but not in headers using %%pubkey yet).
467 - disable perl module magic rule.
468 - ignore ENOENT return from db->close (#80514,#79314).
469 - fix builddir relative inclusion, add %%pubkeys to rpm header.
470 - fix: package relocations were broken (#75057).
472 * Thu Dec 26 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.39
473 - add Red Hat pubkeys to rpm header.
474 - resurrect automagic perl(foo) dependency generation.
476 * Tue Dec 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.38
477 - add %%pubkey attribute to read armored pubkey files into header.
478 - permit both relative/absolute paths, display 'P' when verifying.
480 * Mon Dec 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.36
481 - add matching "config(N) = EVR" dependencies iff %%config is found.
483 * Sun Dec 22 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.35
484 - fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
485 - fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes.
486 - remove useless (and now unnecessary) kernel/glibc dependencies (#79872).
488 * Sat Dec 21 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.34
489 - add --enable-posixmutexes when configuring on linux.
490 - add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
491 - include srpm pkgid in binary headers (#71460).
492 - add %%check scriptlet to run after %%install (#64137).
493 - simplify specfile query linkage loop.
494 - drill rpmts into parseSpec(), carrying Spec along.
496 * Fri Dec 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.33
497 - dynamically link /bin/rpm, link against good old -lpthread.
498 - test pthread_{mutex,cond}attr_setpshared(), add DB_ENV_PRIVATE if not.
499 - error on exclusive Packages fcntl lock if DB_ENV_PRIVATE is set.
500 - copy compressFilelist to convertdb1.c, remove internal legacy.h.
502 * Thu Dec 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.31
503 - statically link against /usr/lib/nptl/libpthread.a, if present.
504 - remove popt aliases for -U et al.
505 - add -I/usr/include/nptl, Conflicts: kernel < 2.4.20.
507 * Wed Dec 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.29nptl
508 - popt aliases for -U et al to achieve dynamic link with nptl.
509 - add --file{class,provide,require} popt aliases and header extensions.
511 * Tue Dec 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.28nptl
512 - re-enable CDB locking, removing "private" from %%__dbi_cdb macro.
514 * Mon Dec 16 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.27+nptl
515 - rebuild against glibc with fcntl fixed in libpthread.
517 * Sun Dec 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.26+nptl
518 - disable fcntl(2) lock on Packages until glibc+nptl is fixed.
519 - make cdb locks "private" for pthreads compatibility w/o NPTL.
520 - add --enable-posixmutexes to use NPTL.
521 - make dependency generation "opt-out" everywhere.
523 * Sat Dec 14 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.25
524 - rebuild rpm with internal dependency generation enabled.
525 - fix: make sure each library has DT_NEEDED for all unresolved syms.
526 - generate Elf provides even if file is not executable.
528 * Fri Dec 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.24
529 - debug_packages "works", but non-noarch w/o %setup has empty payload.
530 - make dependency generation "opt-in" in order to build in distro.
532 * Thu Dec 12 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.23
533 - fix: add rpmlib(VersionedDependencies) if versioned Provides: found.
534 - fix: add %%ifnarch noarch to debug_package macro.
536 * Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.22
537 - rebuild against glibc with TLS support.
539 * Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.21
540 - don't generate dependencies unless execute bit is set.
541 - enable internal automagic dependency generation as default.
543 * Sat Dec 7 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.19
544 - resurrect AutoReq: and AutoProv:.
546 * Tue Dec 2 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.18
547 - internal automagic dependency generation (disabled for now).
549 * Mon Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.17
550 - late rpmts reference causes premature free (#78862).
552 * Sun Dec 1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.16
553 - link rpm libraries together, use shared helpers with external -lelf.
554 - move libfmagic to librpmio.
555 - use libtool-1.4.3, autoconf-2.56.
556 - add explicit -L/lib64 -L/usr/lib64 for libtool mode=relink on x86_64.
557 - use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
559 * Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.14
560 - upgrade to elfutils-0.63.
562 * Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.13
563 - bundle libfmagic into librpmbuild for now.
564 - apply patches 7 and 8 to db-4.1.24.
565 - upgrade to elfutils-0.59.
566 - add -g to all platforms optflags.
567 - build with external elfutils (preferred), if available.
569 * Wed Nov 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.12
570 - use rpmdeps rather than find-{requires,provides}.
572 * Tue Nov 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.11
573 - fix: option conflict error message (#77373).
574 - add AC_SYS_LARGFILE throughout.
575 - statically link rpmdeps against (internal) libfmagic.
577 * Fri Nov 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.10
578 - update to elfutils-0.56.
579 - have debug sub-subpackage use external, not internal, elfutils.
580 - apply patches 1-6 to db-4.1.24.
581 - resurrect availablePackages one more time.
583 * Wed Nov 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.8
584 - fix: bash must have functional libtermcap.so.2.
586 * Sat Nov 9 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.7
587 - add _javadir/_javadocdir/_javaclasspath macros.
589 * Fri Nov 8 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.6
590 - fix: /dev/initctl has not MD5 segfault (#76718).
591 - rpm.8: gpg uses GNUPGHOME, not GPGPATH (#76691).
592 - use %%{_lib} for libraries.
593 - fix: permit build with --disable-nls (#76258).
594 - add error message on glob failure (#76012).
595 - remove dependency on libelf.
597 * Thu Oct 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.5
598 - add /usr/lib/rpm/rpmdeps.
599 - add /usr/lib/rpm/magic.
601 * Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.4
602 - resurrect genhdlist "greased lightning" pathway for now.
603 - elfutils: avoid gcc-3.2 ICE on x86_64 for now.
605 * Fri Oct 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.2
606 - add debug sub-package patch.
607 - re-add elfutils/libdwarf (for dwarf.h), eliminate tools/dwarf2.h.
609 * Thu Oct 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.1
610 - set cachesize without a dbenv, the default is far too small.
611 - db: don't return EACCES on db->close w/o environment.
612 - unify cachesize configuration, with (or without) a dbenv.
613 - comments regarding unsupported (yet) db-4.1.17 functionality.
614 - requirement on libelf >= 0.8.2 to work around incompatible soname (#72792).
615 - fix: common sanity check on headers, prevent segfault (#72590).
616 - limit number of NOKEY/UNTRUSTED keys that will be warned once.
617 - libadd -lelf to rpmdb (#73024).
618 - update to db-4.1.24 final.
619 - eliminate myftw, use Fts(3) instead.
620 - dump libelf, gulp elfutils, for now.
621 - python: permit headers to be hashed.
622 - use %%{_lib} for libraries.