source: trunk/third/rpm/rpm.spec.in @ 19079

Revision 19079, 25.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19078, which included commits to RCS files with non-trunk default branches.
Line 
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}
5
6# XXX legacy requires './' payload prefix to be omitted from rpm packages.
7%define _noPayloadPrefix        1
8
9%define __prefix        /usr
10%{?!_lib: %define _lib lib}
11%{expand: %%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
12
13%define __bindir        %{__prefix}/bin
14%define __includedir    %{__prefix}/include
15%define __libdir        %{__prefix}/%{_lib}
16%define __mandir        %{__prefix}%{__share}/man
17
18Summary: The RPM package management system.
19Name: rpm
20%define version @VERSION@
21Version: %{version}
22%{expand: %%define rpm_version %{version}}
23Release: 1
24Group: System Environment/Base
25Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
26Copyright: GPL
27Conflicts: patch < 2.5
28%ifos linux
29Prereq: fileutils shadow-utils
30%endif
31Requires: popt = 1.8
32Obsoletes: rpm-perl < %{version}
33
34# XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
35BuildRequires: elfutils-libelf
36
37BuildRequires: zlib-devel
38
39# XXX Red Hat 5.2 has not bzip2 or python
40%if %{with_bzip2}
41BuildRequires: bzip2 >= 0.9.0c-2
42%endif
43%if %{with_python_subpackage}
44BuildRequires: python-devel >= %{with_python_version}
45%endif
46
47BuildRoot: %{_tmppath}/%{name}-root
48
49%description
50The RPM Package Manager (RPM) is a powerful command line driven
51package management system capable of installing, uninstalling,
52verifying, querying, and updating software packages. Each software
53package consists of an archive of files along with information about
54the package like its version, a description, etc.
55
56%package devel
57Summary:  Development files for manipulating RPM packages.
58Group: Development/Libraries
59Requires: rpm = %{rpm_version}
60
61%description devel
62This package contains the RPM C library and header files. These
63development files will simplify the process of writing programs that
64manipulate RPM packages and databases. These files are intended to
65simplify the process of creating graphical package managers or any
66other tools that need an intimate knowledge of RPM packages in order
67to function.
68
69This package should be installed if you want to develop programs that
70will manipulate RPM packages and databases.
71
72%package build
73Summary: Scripts and executable programs used to build packages.
74Group: Development/Tools
75Requires: rpm = %{rpm_version}, patch >= 2.5, file
76Provides: rpmbuild(VendorConfig) = 4.1-1
77
78%description build
79The rpm-build package contains the scripts and executable programs
80that are used to build packages using the RPM Package Manager.
81
82%if %{with_python_subpackage}
83%package python
84Summary: Python bindings for apps which will manipulate RPM packages.
85Group: Development/Libraries
86Requires: rpm = %{rpm_version}
87Requires: python >= %{with_python_version}
88Requires: elfutils >= 0.55
89
90%description python
91The rpm-python package contains a module that permits applications
92written in the Python programming language to use the interface
93supplied by RPM Package Manager libraries.
94
95This package should be installed if you want to develop Python
96programs that will manipulate RPM packages and databases.
97%endif
98
99%package -n popt
100Summary: A C library for parsing command line parameters.
101Group: Development/Libraries
102Version: 1.8
103
104%description -n popt
105Popt is a C library for parsing command line parameters. Popt was
106heavily influenced by the getopt() and getopt_long() functions, but it
107improves on them by allowing more powerful argument expansion. Popt
108can parse arbitrary argv[] style arrays and automatically set
109variables based on command line arguments. Popt allows command line
110arguments to be aliased via configuration files and includes utility
111functions for parsing arbitrary strings into argv[] arrays using
112shell-like rules.
113
114%prep
115%setup -q
116
117%build
118
119# XXX rpm needs functioning nptl for configure tests
120unset LD_ASSUME_KERNEL || :
121
122%if %{with_python_subpackage}
123WITH_PYTHON="--with-python=%{with_python_version}"
124%else
125WITH_PYTHON="--without-python"
126%endif
127
128%ifos linux
129%ifarch x86_64 s390 s390x
130CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
131%else
132CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
133%endif
134CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} --sysconfdir=/etc \
135        --localstatedir=/var --infodir='${prefix}%{__share}/info' \
136        --mandir='${prefix}%{__share}/man' \
137        $WITH_PYTHON --without-javaglue
138%else
139CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
140        --without-javaglue
141%endif
142
143make
144
145%install
146# XXX rpm needs functioning nptl for configure tests
147unset LD_ASSUME_KERNEL || :
148
149rm -rf $RPM_BUILD_ROOT
150
151make DESTDIR="$RPM_BUILD_ROOT" install
152
153%ifos linux
154
155# Save list of packages through cron
156mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
157install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
158
159mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
160install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
161
162mkdir -p $RPM_BUILD_ROOT/etc/rpm
163
164mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
165mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
166for dbi in \
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 \
171        __db.008 __db.009
172do
173    touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
174done
175
176%endif
177
178%if %{with_apidocs}
179gzip -9n apidocs/man/man*/* || :
180%endif
181
182# Get rid of unpackaged files
183{ cd $RPM_BUILD_ROOT
184  rm -rf .%{__includedir}/beecrypt
185  rm -f .%{__libdir}/libbeecrypt.{a,la,so.2.2.0}
186  rm -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req}
187  rm -rf .%{__mandir}/{fr,ko}
188}
189
190%clean
191rm -rf $RPM_BUILD_ROOT
192
193%pre
194%ifos linux
195if [ -f /var/lib/rpm/packages.rpm ]; then
196    echo "
197You have (unsupported)
198        /var/lib/rpm/packages.rpm       db1 format installed package headers
199Please install rpm-4.0.4 first, and do
200        rpm --rebuilddb
201to convert your database from db1 to db3 format.
202"
203#    exit 1
204fi
205/usr/sbin/groupadd -g 37 @RPMGROUP@                             > /dev/null 2>&1
206/usr/sbin/useradd  -r -d /var/lib/rpm -u 37 -g 37 @RPMUSER@     > /dev/null 2>&1
207%endif
208exit 0
209
210%post
211%ifos linux
212/sbin/ldconfig
213/bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/[A-Z]*
214%endif
215exit 0
216
217%ifos linux
218%postun
219/sbin/ldconfig
220if [ $1 = 0 ]; then
221    /usr/sbin/userdel rpm
222    /usr/sbin/groupdel rpm
223fi
224exit 0
225
226%post devel -p /sbin/ldconfig
227%postun devel -p /sbin/ldconfig
228
229%post -n popt -p /sbin/ldconfig
230%postun -n popt -p /sbin/ldconfig
231%endif
232
233%if %{with_python_subpackage}
234%post python -p /sbin/ldconfig
235%postun python -p /sbin/ldconfig
236%endif
237
238%define rpmattr         %attr(0755, @RPMUSER@, @RPMGROUP@)
239
240%files
241%defattr(-,root,root)
242%doc RPM-PGP-KEY RPM-GPG-KEY BETA-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
243# XXX comment these lines out if building with rpm that knows not %pubkey attr
244%pubkey RPM-PGP-KEY
245%pubkey RPM-GPG-KEY
246%pubkey BETA-GPG-KEY
247%attr(0755, @RPMUSER@, @RPMGROUP@)      /bin/rpm
248
249%ifos linux
250%config(noreplace,missingok)    /etc/cron.daily/rpm
251%config(noreplace,missingok)    /etc/logrotate.d/rpm
252%dir                            /etc/rpm
253#%config(noreplace,missingok)   /etc/rpm/macros.*
254%attr(0755, @RPMUSER@, @RPMGROUP@)      %dir /var/lib/rpm
255%attr(0755, @RPMUSER@, @RPMGROUP@)      %dir /var/spool/repackage
256
257%define rpmdbattr %attr(0644, @RPMUSER@, @RPMGROUP@) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
258%rpmdbattr      /var/lib/rpm/*
259%endif
260
261%rpmattr        %{__bindir}/rpm2cpio
262%rpmattr        %{__bindir}/gendiff
263%rpmattr        %{__bindir}/rpmdb
264#%rpmattr       %{__bindir}/rpm[eiu]
265%rpmattr        %{__bindir}/rpmsign
266%rpmattr        %{__bindir}/rpmquery
267%rpmattr        %{__bindir}/rpmverify
268
269%{__libdir}/librpm-@VERSION@.so
270%{__libdir}/librpmdb-@VERSION@.so
271%{__libdir}/librpmio-@VERSION@.so
272%{__libdir}/librpmbuild-@VERSION@.so
273
274%attr(0755, @RPMUSER@, @RPMGROUP@)      %dir %{__prefix}/lib/rpm
275%rpmattr        %{__prefix}/lib/rpm/config.guess
276%rpmattr        %{__prefix}/lib/rpm/config.sub
277%rpmattr        %{__prefix}/lib/rpm/convertrpmrc.sh
278%attr(0644, @RPMUSER@, @RPMGROUP@)      %{__prefix}/lib/rpm/macros
279%rpmattr        %{__prefix}/lib/rpm/mkinstalldirs
280%rpmattr        %{__prefix}/lib/rpm/rpm.*
281%rpmattr        %{__prefix}/lib/rpm/rpm2cpio.sh
282%rpmattr        %{__prefix}/lib/rpm/rpm[deiukqv]
283%rpmattr        %{__prefix}/lib/rpm/tgpg
284%attr(0644, @RPMUSER@, @RPMGROUP@)      %{__prefix}/lib/rpm/rpmpopt*
285%attr(0644, @RPMUSER@, @RPMGROUP@)      %{__prefix}/lib/rpm/rpmrc
286
287%ifarch i386 i486 i586 i686 athlon
288%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/i[3456]86*
289%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/athlon*
290%endif
291%ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
292%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/alpha*
293%endif
294%ifarch sparc sparcv9 sparc64
295%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/sparc*
296%endif
297%ifarch ia64
298%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/ia64*
299%endif
300%ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
301%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/ppc*
302%endif
303%ifarch s390 s390x
304%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/s390*
305%endif
306%ifarch armv3l armv4l
307%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/armv[34][lb]*
308%endif
309%ifarch mips mipsel
310%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/mips*
311%endif
312%ifarch x86_64
313%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/x86_64*
314%endif
315%attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/noarch*
316
317%lang(cs)       %{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
318%lang(da)       %{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
319%lang(de)       %{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
320%lang(fi)       %{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
321%lang(fr)       %{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
322%lang(gl)       %{__prefix}/*/locale/gl/LC_MESSAGES/rpm.mo
323%lang(is)       %{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
324%lang(ja)       %{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
325%lang(ko)       %{__prefix}/*/locale/ko/LC_MESSAGES/rpm.mo
326%lang(no)       %{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
327%lang(pl)       %{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
328%lang(pt)       %{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
329%lang(pt_BR)    %{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
330%lang(ro)       %{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
331%lang(ru)       %{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
332%lang(sk)       %{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
333%lang(sl)       %{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
334%lang(sr)       %{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
335%lang(sv)       %{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
336%lang(tr)       %{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
337
338%{__mandir}/man1/gendiff.1*
339%{__mandir}/man8/rpm.8*
340%{__mandir}/man8/rpm2cpio.8*
341%lang(ja)       %{__mandir}/ja/man[18]/*.[18]*
342%lang(pl)       %{__mandir}/pl/man[18]/*.[18]*
343%lang(ru)       %{__mandir}/ru/man[18]/*.[18]*
344%lang(sk)       %{__mandir}/sk/man[18]/*.[18]*
345
346%files build
347%defattr(-,root,root)
348%dir %{__prefix}/src/@RPMCANONVENDOR@
349%dir %{__prefix}/src/@RPMCANONVENDOR@/BUILD
350%dir %{__prefix}/src/@RPMCANONVENDOR@/SPECS
351%dir %{__prefix}/src/@RPMCANONVENDOR@/SOURCES
352%dir %{__prefix}/src/@RPMCANONVENDOR@/SRPMS
353%dir %{__prefix}/src/@RPMCANONVENDOR@/RPMS
354%{__prefix}/src/@RPMCANONVENDOR@/RPMS/*
355%rpmattr        %{__bindir}/rpmbuild
356%rpmattr        %{__prefix}/lib/rpm/brp-*
357%rpmattr        %{__prefix}/lib/rpm/check-files
358%rpmattr        %{__prefix}/lib/rpm/check-prereqs
359%rpmattr        %{__prefix}/lib/rpm/config.site
360%rpmattr        %{__prefix}/lib/rpm/cross-build
361%rpmattr        %{__prefix}/lib/rpm/debugedit
362%rpmattr        %{__prefix}/lib/rpm/find-debuginfo.sh
363%rpmattr        %{__prefix}/lib/rpm/find-lang.sh
364%rpmattr        %{__prefix}/lib/rpm/find-prov.pl
365%rpmattr        %{__prefix}/lib/rpm/find-provides
366%rpmattr        %{__prefix}/lib/rpm/find-provides.perl
367%rpmattr        %{__prefix}/lib/rpm/find-req.pl
368%rpmattr        %{__prefix}/lib/rpm/find-requires
369%rpmattr        %{__prefix}/lib/rpm/find-requires.perl
370%rpmattr        %{__prefix}/lib/rpm/get_magic.pl
371%rpmattr        %{__prefix}/lib/rpm/getpo.sh
372%rpmattr        %{__prefix}/lib/rpm/http.req
373%rpmattr        %{__prefix}/lib/rpm/javadeps
374%rpmattr        %{__prefix}/lib/rpm/magic
375%rpmattr        %{__prefix}/lib/rpm/magic.mgc
376%rpmattr        %{__prefix}/lib/rpm/magic.mime
377%rpmattr        %{__prefix}/lib/rpm/magic.mime.mgc
378%rpmattr        %{__prefix}/lib/rpm/magic.prov
379%rpmattr        %{__prefix}/lib/rpm/magic.req
380%rpmattr        %{__prefix}/lib/rpm/perldeps.pl
381%rpmattr        %{__prefix}/lib/rpm/perl.prov
382%rpmattr        %{__prefix}/lib/rpm/perl.req
383
384%rpmattr        %{__prefix}/lib/rpm/rpm[bt]
385%rpmattr        %{__prefix}/lib/rpm/rpmdeps
386%rpmattr        %{__prefix}/lib/rpm/trpm
387%rpmattr        %{__prefix}/lib/rpm/u_pkg.sh
388%rpmattr        %{__prefix}/lib/rpm/vpkg-provides.sh
389%rpmattr        %{__prefix}/lib/rpm/vpkg-provides2.sh
390
391%{__mandir}/man8/rpmbuild.8*
392%{__mandir}/man8/rpmdeps.8*
393
394%if %{with_python_subpackage}
395%files python
396%defattr(-,root,root)
397%{__libdir}/python%{with_python_version}/site-packages/rpmmodule.so
398%{__libdir}/python%{with_python_version}/site-packages/rpmdb
399%endif
400
401%files devel
402%defattr(-,root,root)
403%if %{with_apidocs}
404%doc @WITH_APIDOCS_TARGET@
405%endif
406%{__includedir}/rpm
407%{__libdir}/librpm.a
408%{__libdir}/librpm.la
409%{__libdir}/librpm.so
410%{__libdir}/librpmdb.a
411%{__libdir}/librpmdb.la
412%{__libdir}/librpmdb.so
413%{__libdir}/librpmio.a
414%{__libdir}/librpmio.la
415%{__libdir}/librpmio.so
416%{__libdir}/librpmbuild.a
417%{__libdir}/librpmbuild.la
418%{__libdir}/librpmbuild.so
419%{__mandir}/man8/rpmcache.8*
420%{__mandir}/man8/rpmgraph.8*
421%rpmattr        %{__prefix}/lib/rpm/rpmcache
422%rpmattr        %{__prefix}/lib/rpm/rpmdb_deadlock
423%rpmattr        %{__prefix}/lib/rpm/rpmdb_dump
424%rpmattr        %{__prefix}/lib/rpm/rpmdb_load
425%rpmattr        %{__prefix}/lib/rpm/rpmdb_loadcvt
426%rpmattr        %{__prefix}/lib/rpm/rpmdb_svc
427%rpmattr        %{__prefix}/lib/rpm/rpmdb_stat
428%rpmattr        %{__prefix}/lib/rpm/rpmdb_verify
429%rpmattr        %{__prefix}/lib/rpm/rpmfile
430%rpmattr        %{__bindir}/rpmgraph
431
432%files -n popt
433%defattr(-,root,root)
434%{__libdir}/libpopt.so.*
435%{__mandir}/man3/popt.3*
436%lang(cs)       %{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
437%lang(da)       %{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
438%lang(de)       %{__prefix}/*/locale/de/LC_MESSAGES/popt.mo
439%lang(es)       %{__prefix}/*/locale/es/LC_MESSAGES/popt.mo
440%lang(eu_ES)    %{__prefix}/*/locale/eu_ES/LC_MESSAGES/popt.mo
441%lang(fi)       %{__prefix}/*/locale/fi/LC_MESSAGES/popt.mo
442%lang(fr)       %{__prefix}/*/locale/fr/LC_MESSAGES/popt.mo
443%lang(gl)       %{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
444%lang(hu)       %{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
445%lang(id)       %{__prefix}/*/locale/id/LC_MESSAGES/popt.mo
446%lang(is)       %{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
447%lang(it)       %{__prefix}/*/locale/it/LC_MESSAGES/popt.mo
448%lang(ja)       %{__prefix}/*/locale/ja/LC_MESSAGES/popt.mo
449%lang(ko)       %{__prefix}/*/locale/ko/LC_MESSAGES/popt.mo
450%lang(no)       %{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
451%lang(pl)       %{__prefix}/*/locale/pl/LC_MESSAGES/popt.mo
452%lang(pt)       %{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
453%lang(pt_BR)    %{__prefix}/*/locale/pt_BR/LC_MESSAGES/popt.mo
454%lang(ro)       %{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
455%lang(ru)       %{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
456%lang(sk)       %{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
457%lang(sl)       %{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
458%lang(sr)       %{__prefix}/*/locale/sr/LC_MESSAGES/popt.mo
459%lang(sv)       %{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
460%lang(tr)       %{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
461%lang(uk)       %{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
462%lang(wa)       %{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
463%lang(zh)       %{__prefix}/*/locale/zh/LC_MESSAGES/popt.mo
464%lang(zh_CN)    %{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
465
466# XXX These may end up in popt-devel but it hardly seems worth the effort.
467%{__libdir}/libpopt.a
468%{__libdir}/libpopt.la
469%{__libdir}/libpopt.so
470%{__includedir}/popt.h
471
472%changelog
473* Wed Mar 19 2003 Jeff Johnson <jbj@redhat.com> 4.2-1
474- release candidate.
475
476* Fri Mar 14 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.73
477- fix: short option help missing string terminator.
478
479* Fri Mar 14 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.72
480- fix: close db cursors to remove rpmdb references on signal exit.
481
482* Fri Mar  7 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.70
483- fix: memory leak (85522).
484- build with internal elfutils if not installed.
485
486* Thu Feb 27 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.69
487- file: check size read from elf header (#85297).
488
489* Thu Feb  6 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.66
490- popt: diddle doxygen/splint annotations, corrected doco.
491- file: fix ogg/vorbis file classification problems.
492- skip fingerprints in /usr/share/doc and /usr/src/debug.
493- add file(1) as /usr/lib/rpm/rpmfile.
494- enable transaction coloring for s390x/ppc64.
495
496* Fri Jan 31 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.65
497- fix: trap SIGPIPE, close database(s).
498- configurable default query output format.
499
500* Wed Jan 29 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.64
501- pay attention to package color when upgrading identical packages.
502
503* Tue Jan 28 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.63
504- fix: clean relocation path for --prefix=/.
505- python: permit stdout/stderr to be remapped to install.log.
506
507* Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.62
508- fix: more debugedit.c problems.
509
510* Sat Jan 25 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.61
511- permit anaconda to choose "presentation order".
512
513* Wed Jan 22 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.60
514- fix: debugedit.c problem.
515
516* Fri Jan 17 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.58
517- duplicate package checks with arch/os checks if colored.
518- file conflict checks with colors.
519
520* Mon Jan 13 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.57
521- teach rpmquery to return "owning" package(s) in spite of alternatives.
522
523* Sun Jan 12 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.56
524- file: *really* read elf64 notes correctly.
525- python: restore thread context on errorCB (#80744).
526
527* Fri Jan 10 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.55
528- fix: obscure corner case(s) with rpmvercmp (#50977).
529
530* Wed Jan  8 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.54
531- python: put rpmmodule.so where python expects to find.
532- add brp-strip-static-archive build root policy helper.
533- add -lelf to rpm LDFLAGS, not LDADD, since there is no libelf.la now.
534
535* Tue Jan  7 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.53
536- file: read elf64 notes correctly.
537
538* Mon Jan  6 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.52
539- portabilitly: solaris fixes.
540- for DSO's, provide the file basename if DT_SONAME not found.
541- add perldeps.pl, start to replace perl.{prov,req}.
542
543* Sun Jan  5 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.51
544- file: avoid ogg/vorbis file classification problems.
545
546* Wed Jan  1 2003 Jeff Johnson <jbj@redhat.com> 4.2-0.49
547- add rpmts/rpmte/rpmfi/rpmds element colors.
548- ignore items not in our rainbow (i.e. colors are functional).
549- fix: dependency helpers now rate limited at 10ms, not 1s.
550- add per-arch canonical color, only x86_64 enabled for now.
551
552* Sun Dec 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.46
553- don't segfault with packages produced by rpm-2.93 (#80618).
554- python: eliminate hash.[ch] and upgrade.[ch], methods too.
555- fix :armor query extension, tgpg mktmp handling (#80684).
556- use rpmfiFClass() underneath --fileclass.
557- use rpmfiFDepends() underneath --fileprovide and --filerequire.
558- python: add fi.FColor() and fi.FClass() methods.
559- calculate dependency color and refernces.
560- python: add ds.Color() and ds.Refs() methods.
561- fix: typo in assertion.
562
563* Sat Dec 28 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.45
564- error if querying with iterator on different sized arrays.
565- add rpmfi methods to access color, class, and dependencies.
566
567* Fri Dec 27 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.42
568- add BETA-GPG-KEY (but not in headers using %%pubkey yet).
569- disable perl module magic rule.
570- ignore ENOENT return from db->close (#80514,#79314).
571- fix builddir relative inclusion, add %%pubkeys to rpm header.
572- fix: package relocations were broken (#75057).
573
574* Thu Dec 26 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.39
575- add Red Hat pubkeys to rpm header.
576- resurrect automagic perl(foo) dependency generation.
577
578* Tue Dec 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.38
579- add %%pubkey attribute to read armored pubkey files into header.
580- permit both relative/absolute paths, display 'P' when verifying.
581
582* Mon Dec 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.36
583- add matching "config(N) = EVR"  dependencies iff %%config is found.
584
585* Sun Dec 22 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.35
586- fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
587- fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes.
588- remove useless (and now unnecessary) kernel/glibc dependencies (#79872).
589
590* Sat Dec 21 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.34
591- add --enable-posixmutexes when configuring on linux.
592- add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
593- include srpm pkgid in binary headers (#71460).
594- add %%check scriptlet to run after %%install (#64137).
595- simplify specfile query linkage loop.
596- drill rpmts into parseSpec(), carrying Spec along.
597
598* Fri Dec 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.33
599- dynamically link /bin/rpm, link against good old -lpthread.
600- test pthread_{mutex,cond}attr_setpshared(), add DB_ENV_PRIVATE if not.
601- error on exclusive Packages fcntl lock if DB_ENV_PRIVATE is set.
602- copy compressFilelist to convertdb1.c, remove internal legacy.h.
603
604* Thu Dec 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.31
605- statically link against /usr/lib/nptl/libpthread.a, if present.
606- remove popt aliases for -U et al.
607- add -I/usr/include/nptl, Conflicts: kernel < 2.4.20.
608
609* Wed Dec 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.29nptl
610- popt aliases for -U et al to achieve dynamic link with nptl.
611- add --file{class,provide,require} popt aliases and header extensions.
612
613* Tue Dec 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.28nptl
614- re-enable CDB locking, removing "private" from %%__dbi_cdb macro.
615
616* Mon Dec 16 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.27+nptl
617- rebuild against glibc with fcntl fixed in libpthread.
618
619* Sun Dec 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.26+nptl
620- disable fcntl(2) lock on Packages until glibc+nptl is fixed.
621- make cdb locks "private" for pthreads compatibility w/o NPTL.
622- add --enable-posixmutexes to use NPTL.
623- make dependency generation "opt-out" everywhere.
624
625* Sat Dec 14 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.25
626- rebuild rpm with internal dependency generation enabled.
627- fix: make sure each library has DT_NEEDED for all unresolved syms.
628- generate Elf provides even if file is not executable.
629
630* Fri Dec 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.24
631- debug_packages "works", but non-noarch w/o %setup has empty payload.
632- make dependency generation "opt-in" in order to build in distro.
633
634* Thu Dec 12 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.23
635- fix: add rpmlib(VersionedDependencies) if versioned Provides: found.
636- fix: add %%ifnarch noarch to debug_package macro.
637
638* Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.22
639- rebuild against glibc with TLS support.
640
641* Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.21
642- don't generate dependencies unless execute bit is set.
643- enable internal automagic dependency generation as default.
644
645* Sat Dec  7 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.19
646- resurrect  AutoReq: and AutoProv:.
647
648* Tue Dec  2 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.18
649- internal automagic dependency generation (disabled for now).
650
651* Mon Dec  1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.17
652- late rpmts reference causes premature free (#78862).
653
654* Sun Dec  1 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.16
655- link rpm libraries together, use shared helpers with external -lelf.
656- move libfmagic to librpmio.
657- use libtool-1.4.3, autoconf-2.56.
658- add explicit -L/lib64 -L/usr/lib64 for libtool mode=relink on x86_64.
659- use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
660
661* Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.14
662- upgrade to elfutils-0.63.
663
664* Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.13
665- bundle libfmagic into librpmbuild for now.
666- apply patches 7 and 8 to db-4.1.24.
667- upgrade to elfutils-0.59.
668- add -g to all platforms optflags.
669- build with external elfutils (preferred), if available.
670
671* Wed Nov 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.12
672- use rpmdeps rather than find-{requires,provides}.
673
674* Tue Nov 19 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.11
675- fix: option conflict error message (#77373).
676- add AC_SYS_LARGFILE throughout.
677- statically link rpmdeps against (internal) libfmagic.
678
679* Fri Nov 15 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.10
680- update to elfutils-0.56.
681- have debug sub-subpackage use external, not internal, elfutils.
682- apply patches 1-6 to db-4.1.24.
683- resurrect availablePackages one more time.
684
685* Wed Nov 13 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.8
686- fix: bash must have functional libtermcap.so.2.
687
688* Sat Nov  9 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.7
689- add _javadir/_javadocdir/_javaclasspath macros.
690
691* Fri Nov  8 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.6
692- fix: /dev/initctl has not MD5 segfault (#76718).
693- rpm.8: gpg uses GNUPGHOME, not GPGPATH (#76691).
694- use %%{_lib} for libraries.
695- fix: permit build with --disable-nls (#76258).
696- add error message on glob failure (#76012).
697- remove dependency on libelf.
698
699* Thu Oct 24 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.5
700- add /usr/lib/rpm/rpmdeps.
701- add /usr/lib/rpm/magic.
702
703* Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.4
704- resurrect genhdlist "greased lightning" pathway for now.
705- elfutils: avoid gcc-3.2 ICE on x86_64 for now.
706
707* Fri Oct 18 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.2
708- add debug sub-package patch.
709- re-add elfutils/libdwarf (for dwarf.h), eliminate tools/dwarf2.h.
710
711* Thu Oct 17 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.1
712- set cachesize without a dbenv, the default is far too small.
713- db: don't return EACCES on db->close w/o environment.
714- unify cachesize configuration, with (or without) a dbenv.
715- comments regarding unsupported (yet) db-4.1.17 functionality.
716- requirement on libelf >= 0.8.2 to work around incompatible soname (#72792).
717- fix: common sanity check on headers, prevent segfault (#72590).
718- limit number of NOKEY/UNTRUSTED keys that will be warned once.
719- libadd -lelf to rpmdb (#73024).
720- update to db-4.1.24 final.
721- eliminate myftw, use Fts(3) instead.
722- dump libelf, gulp elfutils, for now.
723- python: permit headers to be hashed.
724- use %%{_lib} for libraries.
Note: See TracBrowser for help on using the repository browser.