|
cvsdist |
1bdb86 |
# XXX legacy requires './' payload prefix to be omitted from rpm packages.
|
|
cvsdist |
1bdb86 |
%define _noPayloadPrefix 1
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%define __prefix /usr
|
|
cvsdist |
1bdb86 |
%{expand:%%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
Summary: The Red Hat package management system.
|
|
cvsdist |
1bdb86 |
Name: rpm
|
|
cvsdist |
1bdb86 |
%define version 4.0
|
|
cvsdist |
1bdb86 |
Version: %{version}
|
|
cvsdist |
96054a |
Release: 4.3
|
|
cvsdist |
1bdb86 |
Group: System Environment/Base
|
|
cvsdist |
96054a |
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{version}.tar.gz
|
|
cvsdist |
1bdb86 |
Copyright: GPL
|
|
cvsdist |
1bdb86 |
Conflicts: patch < 2.5
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
96054a |
Patch: rpm-ia64.patch
|
|
cvsdist |
1bdb86 |
Prereq: gawk fileutils textutils sh-utils mktemp
|
|
cvsdist |
1bdb86 |
Requires: popt, bzip2 >= 0.9.0c-2
|
|
cvsdist |
1bdb86 |
# XXX glibc-2.1.92 has incompatible locale changes that affect statically
|
|
cvsdist |
1bdb86 |
# XXX linked binaries like /bin/rpm.
|
|
cvsdist |
1bdb86 |
%ifnarch ia64
|
|
cvsdist |
1bdb86 |
Requires: glibc >= 2.1.92
|
|
cvsdist |
1bdb86 |
# XXX needed to avoid libdb.so.2 satisfied by compat/libc5 provides.
|
|
cvsdist |
1bdb86 |
Requires: db1 = 1.85
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
BuildRequires: db3-devel
|
|
cvsdist |
1bdb86 |
BuildRequires: bzip2 >= 0.9.0c-2
|
|
cvsdist |
1bdb86 |
BuildRequires: python-devel >= 1.5.2
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
BuildRoot: %{_tmppath}/%{name}-root
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%description
|
|
cvsdist |
1bdb86 |
The RPM Package Manager (RPM) is a powerful command line driven
|
|
cvsdist |
1bdb86 |
package management system capable of installing, uninstalling,
|
|
cvsdist |
1bdb86 |
verifying, querying, and updating software packages. Each software
|
|
cvsdist |
1bdb86 |
package consists of an archive of files along with information about
|
|
cvsdist |
1bdb86 |
the package like its version, a description, etc.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%package devel
|
|
cvsdist |
1bdb86 |
Summary: Development files for applications which will manipulate RPM packages.
|
|
cvsdist |
1bdb86 |
Group: Development/Libraries
|
|
cvsdist |
1bdb86 |
Requires: rpm = %{version}, popt
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%description devel
|
|
cvsdist |
1bdb86 |
This package contains the RPM C library and header files. These
|
|
cvsdist |
1bdb86 |
development files will simplify the process of writing programs which
|
|
cvsdist |
1bdb86 |
manipulate RPM packages and databases. These files are intended to
|
|
cvsdist |
1bdb86 |
simplify the process of creating graphical package managers or any
|
|
cvsdist |
1bdb86 |
other tools that need an intimate knowledge of RPM packages in order
|
|
cvsdist |
1bdb86 |
to function.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
This package should be installed if you want to develop programs that
|
|
cvsdist |
1bdb86 |
will manipulate RPM packages and databases.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%package build
|
|
cvsdist |
1bdb86 |
Summary: Scripts and executable programs used to build packages.
|
|
cvsdist |
1bdb86 |
Group: Development/Tools
|
|
cvsdist |
1bdb86 |
Requires: rpm = %{version}
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%description build
|
|
cvsdist |
1bdb86 |
This package contains scripts and executable programs that are used to
|
|
cvsdist |
1bdb86 |
build packages using RPM.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
%package python
|
|
cvsdist |
1bdb86 |
Summary: Python bindings for apps which will manipulate RPM packages.
|
|
cvsdist |
1bdb86 |
Group: Development/Libraries
|
|
cvsdist |
1bdb86 |
BuildRequires: popt >= 1.5
|
|
cvsdist |
1bdb86 |
Requires: popt >= 1.5
|
|
cvsdist |
1bdb86 |
Requires: python >= 1.5.2
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%description python
|
|
cvsdist |
1bdb86 |
The rpm-python package contains a module which permits applications
|
|
cvsdist |
1bdb86 |
written in the Python programming language to use the interface
|
|
cvsdist |
1bdb86 |
supplied by RPM (RPM Package Manager) libraries.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
This package should be installed if you want to develop Python
|
|
cvsdist |
1bdb86 |
programs that will manipulate RPM packages and databases.
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%package -n popt
|
|
cvsdist |
1bdb86 |
Summary: A C library for parsing command line parameters.
|
|
cvsdist |
1bdb86 |
Group: Development/Libraries
|
|
cvsdist |
1bdb86 |
Version: 1.6
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%description -n popt
|
|
cvsdist |
1bdb86 |
Popt is a C library for parsing command line parameters. Popt was
|
|
cvsdist |
1bdb86 |
heavily influenced by the getopt() and getopt_long() functions, but it
|
|
cvsdist |
1bdb86 |
improves on them by allowing more powerful argument expansion. Popt
|
|
cvsdist |
1bdb86 |
can parse arbitrary argv[] style arrays and automatically set
|
|
cvsdist |
1bdb86 |
variables based on command line arguments. Popt allows command line
|
|
cvsdist |
1bdb86 |
arguments to be aliased via configuration files and includes utility
|
|
cvsdist |
1bdb86 |
functions for parsing arbitrary strings into argv[] arrays using
|
|
cvsdist |
1bdb86 |
shell-like rules.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
Install popt if you're a C programmer and you'd like to use its
|
|
cvsdist |
1bdb86 |
capabilities.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%prep
|
|
cvsdist |
1bdb86 |
%setup -q
|
|
cvsdist |
96054a |
%patch -p1
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%build
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} --sysconfdir=/etc --localstatedir=/var --infodir='${prefix}%{__share}/info' --mandir='${prefix}%{__share}/man'
|
|
cvsdist |
1bdb86 |
%else
|
|
cvsdist |
1bdb86 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix}
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
make
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
make -C python
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%install
|
|
cvsdist |
1bdb86 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
make DESTDIR="$RPM_BUILD_ROOT" install -C python
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
mkdir -p $RPM_BUILD_ROOT/etc/rpm
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
{ cd $RPM_BUILD_ROOT
|
|
cvsdist |
1bdb86 |
strip ./bin/rpm
|
|
cvsdist |
1bdb86 |
strip .%{__prefix}/bin/rpm2cpio
|
|
cvsdist |
1bdb86 |
strip .%{__prefix}/lib/rpm/rpmputtext .%{__prefix}/lib/rpm/rpmgettext
|
|
cvsdist |
1bdb86 |
}
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%clean
|
|
cvsdist |
1bdb86 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%post
|
|
cvsdist |
1bdb86 |
/sbin/ldconfig
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
if [ ! -e /etc/rpm/macros -a -e /etc/rpmrc -a -f %{__prefix}/lib/rpm/convertrpmrc.sh ]
|
|
cvsdist |
1bdb86 |
then
|
|
cvsdist |
1bdb86 |
sh %{__prefix}/lib/rpm/convertrpmrc.sh > /dev/null 2>&1
|
|
cvsdist |
1bdb86 |
fi
|
|
cvsdist |
1bdb86 |
%else
|
|
cvsdist |
1bdb86 |
/bin/rpm --initdb
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%postun -p /sbin/ldconfig
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
%post devel -p /sbin/ldconfig
|
|
cvsdist |
1bdb86 |
%postun devel -p /sbin/ldconfig
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%post -n popt -p /sbin/ldconfig
|
|
cvsdist |
1bdb86 |
%postun -n popt -p /sbin/ldconfig
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
%post python -p /sbin/ldconfig
|
|
cvsdist |
1bdb86 |
%postun python -p /sbin/ldconfig
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%files
|
|
cvsdist |
1bdb86 |
%defattr(-,root,root)
|
|
cvsdist |
1bdb86 |
%doc RPM-PGP-KEY RPM-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
|
|
cvsdist |
1bdb86 |
/bin/rpm
|
|
cvsdist |
1bdb86 |
%dir /etc/rpm
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/rpm2cpio
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/gendiff
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/rpmdb
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/rpm[eiukqv]
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/rpmsign
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/rpmquery
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/rpmverify
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpm.so.*
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmio.so.*
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmbuild.so.*
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/config.guess
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/config.sub
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/convertrpmrc.sh
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/macros
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/mkinstalldirs
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpmdb
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpm[eiukqv]
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpmpopt*
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpmrc
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%ifarch i386 i486 i586 i686
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/i[3456]86*
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
%ifarch alpha
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/alpha*
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
%ifarch sparc sparc64
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/sparc*
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
%ifarch ia64
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/ia64*
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
%ifarch powerpc ppc
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/ppc*
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%dir %{__prefix}/src/redhat
|
|
cvsdist |
1bdb86 |
%dir %{__prefix}/src/redhat/BUILD
|
|
cvsdist |
1bdb86 |
%dir %{__prefix}/src/redhat/SPECS
|
|
cvsdist |
1bdb86 |
%dir %{__prefix}/src/redhat/SOURCES
|
|
cvsdist |
1bdb86 |
%dir %{__prefix}/src/redhat/SRPMS
|
|
cvsdist |
1bdb86 |
%dir %{__prefix}/src/redhat/RPMS
|
|
cvsdist |
1bdb86 |
%{__prefix}/src/redhat/RPMS/*
|
|
cvsdist |
1bdb86 |
%{__prefix}/*/locale/*/LC_MESSAGES/rpm.mo
|
|
cvsdist |
1bdb86 |
%{__prefix}%{__share}/man/man[18]/*.[18]*
|
|
cvsdist |
1bdb86 |
%lang(pl) %{__prefix}%{__share}/man/pl/man[18]/*.[18]*
|
|
cvsdist |
1bdb86 |
%lang(ru) %{__prefix}%{__share}/man/ru/man[18]/*.[18]*
|
|
cvsdist |
96054a |
%lang(sk) %{__prefix}%{__share}/man/sk/man[18]/*.[18]*
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%files build
|
|
cvsdist |
1bdb86 |
%defattr(-,root,root)
|
|
cvsdist |
1bdb86 |
%{__prefix}/bin/rpmbuild
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/brp-*
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/check-prereqs
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/cpanflute
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/find-lang.sh
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/find-prov.pl
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/find-provides
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/find-provides.perl
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/find-req.pl
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/find-requires
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/find-requires.perl
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/get_magic.pl
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/getpo.sh
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/http.req
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/magic.prov
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/magic.req
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/perl.prov
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/perl.req
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpm[bt]
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpmdiff
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpmdiff.cgi
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpmgettext
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/rpmputtext
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/u_pkg.sh
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/vpkg-provides.sh
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/rpm/vpkg-provides2.sh
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%ifos linux
|
|
cvsdist |
1bdb86 |
%files python
|
|
cvsdist |
1bdb86 |
%defattr(-,root,root)
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/python1.5/site-packages/rpmmodule.so
|
|
cvsdist |
1bdb86 |
%endif
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%files devel
|
|
cvsdist |
1bdb86 |
%defattr(-,root,root)
|
|
cvsdist |
1bdb86 |
%{__prefix}/include/rpm
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpm.a
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpm.la
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpm.so
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmio.a
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmio.la
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmio.so
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmbuild.a
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmbuild.la
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/librpmbuild.so
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%files -n popt
|
|
cvsdist |
1bdb86 |
%defattr(-,root,root)
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/libpopt.so.*
|
|
cvsdist |
1bdb86 |
%{__prefix}/*/locale/*/LC_MESSAGES/popt.mo
|
|
cvsdist |
1bdb86 |
%{__prefix}%{__share}/man/man3/popt.3*
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
# XXX These may end up in popt-devel but it hardly seems worth the effort now.
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/libpopt.a
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/libpopt.la
|
|
cvsdist |
1bdb86 |
%{__prefix}/lib/libpopt.so
|
|
cvsdist |
1bdb86 |
%{__prefix}/include/popt.h
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
%changelog
|
|
cvsdist |
96054a |
* Sun Oct 22 2000 Bill Nottingham <notting@redhat.com>
|
|
cvsdist |
96054a |
- pull a couple of ia64 fixes from CVS in (find-provides, add arch_compat
|
|
cvsdist |
96054a |
for i686 to ia64)
|
|
cvsdist |
96054a |
|
|
cvsdist |
96054a |
* Fri Oct 6 2000 Jakub Jelinek <jakub@redhat.com>
|
|
cvsdist |
96054a |
- rebuild against glibc 2.1.94 to use its locale format.
|
|
cvsdist |
96054a |
|
|
cvsdist |
96054a |
* Wed Sep 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
96054a |
- popt: support for float/double args.
|
|
cvsdist |
96054a |
- fix: honor --test when doing --freshen.
|
|
cvsdist |
96054a |
- add alpha* architectures.
|
|
cvsdist |
96054a |
|
|
cvsdist |
96054a |
* Tue Aug 29 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
96054a |
- translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Aug 24 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- Pass NULL as pkgKey on RPMCALLBACK_UNINST_*.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Aug 24 2000 Matt Wilson <msw@redhat.com>
|
|
cvsdist |
1bdb86 |
- corrected reference count to transaction header
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Aug 23 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- rpm now needs /sbin/ldconfig in post/postun scriptlets.
|
|
cvsdist |
1bdb86 |
- python bindings to retrieve removed header on callback.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Sun Aug 20 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- add callbacks on package erasure.
|
|
cvsdist |
1bdb86 |
- fix: preserve cpio errno when using Fclose with libio.
|
|
cvsdist |
1bdb86 |
- fix: initialize sigs everywhere in python header object.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Aug 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- python bindings to query and verify signatures.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Aug 16 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: rebuild db1 -> db3 ate 1st header (#16263).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Aug 14 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- disable rpmlib(VersionedDependencies) by defining _noVersionedDependencies.
|
|
cvsdist |
1bdb86 |
- man page fixes.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Aug 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: segfault when globbing on "" (#15593).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Aug 4 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: popt POST callbacks typo.
|
|
cvsdist |
1bdb86 |
- fix: -Va broken, make db cursors per-iterator, not per-dbi.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Aug 3 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- add glibc requirement.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Jul 31 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: uniqify dependency problems when printing (#14034).
|
|
cvsdist |
1bdb86 |
- fix: segfault on erase if filestates is missing in header (#14679).
|
|
cvsdist |
1bdb86 |
- popt: add ability to perform callbacks for every, not just first, match.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Sat Jul 29 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- bail on firstkey/nextkey, there's a better way.
|
|
cvsdist |
1bdb86 |
- link rpm2cpio dynamically since cpio is linked dynamically.
|
|
cvsdist |
1bdb86 |
- re-resurrect firstkey/nextkey python bindings for up2date compatibility.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Jul 28 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- resurrect firstkey/nextkey python bindings.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Jul 26 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: look for any/all dbapi when rebuilding.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Jul 25 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- create rpmbuild/rpmquery/rpmverify/rpmsign symlinks.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Jul 24 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- rebuild with python binding fix.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Jul 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- rebuild against glibc-2.1.91-14.
|
|
cvsdist |
1bdb86 |
- add /usr/kerberos/man to brp-compress.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Jul 17 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- first release candidate.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Sat Jul 15 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- rip out pre-transaction syscalls, more design is needed.
|
|
cvsdist |
1bdb86 |
- display rpmlib provides when invoked with --showrc.
|
|
cvsdist |
1bdb86 |
- remove (dead) dependency checks on implicitly provided package names.
|
|
cvsdist |
1bdb86 |
- remove (dead) rpmdb API code in python bindings.
|
|
cvsdist |
1bdb86 |
- remove (legacy) support for version 1 packaging.
|
|
cvsdist |
1bdb86 |
- remove (legacy) support for converting gdbm databases.
|
|
cvsdist |
1bdb86 |
- fix: make set of replaced file headers unique.
|
|
cvsdist |
1bdb86 |
- fix: don't attempt dbiOpen with anything but requested dbN.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Jul 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: initialize pretransaction argv (segfault).
|
|
cvsdist |
1bdb86 |
- fix: check rpmlib features w/o database (and check earlier as well).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Jul 12 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- add S_ISLNK pre-transaction syscall test.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Jul 11 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: legacy requires './' payload prefix to be omitted for rpm itself.
|
|
cvsdist |
1bdb86 |
- fix: remove verbose database +++/--- messages to conform to doco.
|
|
cvsdist |
1bdb86 |
- compare versions if doing --freshen.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Jul 10 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- identify package when install scriptlet fails (#12448).
|
|
cvsdist |
1bdb86 |
- remove build mode help from rpm.c, use rpmb instead.
|
|
cvsdist |
1bdb86 |
- support for rpmlib(...) internal feature dependencies.
|
|
cvsdist |
1bdb86 |
- fix: set multilibno on sparc per-platform config.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Sun Jul 9 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- add pre-transaction syscall's to handle /etc/init.d change.
|
|
cvsdist |
1bdb86 |
- don't bother saving '/' as fingerprint subdir.
|
|
cvsdist |
1bdb86 |
- eliminate legacy RPMTAG_{OBSOLETES,PROVIDES,CAPABILITY}.
|
|
cvsdist |
1bdb86 |
- eliminate unused headerGz{Read,Write}.
|
|
cvsdist |
1bdb86 |
- fix: payload compression tag not nul terminated.
|
|
cvsdist |
1bdb86 |
- prefix payload paths with "./", otherwise "/" can't be represented.
|
|
cvsdist |
1bdb86 |
- fix: compressFilelist broke when fed '/'.
|
|
cvsdist |
1bdb86 |
- fix: typo in --last popt alias (#12690).
|
|
cvsdist |
1bdb86 |
- fix: clean file paths before performing -qf (#12493).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Jul 5 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- change optflags for i386.
|
|
cvsdist |
1bdb86 |
- multilib patch, take 1.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Jun 23 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- i486 optflags typo fixed.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Jun 22 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- internalize --freshen (Gordon Messmer <yinyang@eburg.com>).
|
|
cvsdist |
1bdb86 |
- support for separate source/binary compression policy.
|
|
cvsdist |
1bdb86 |
- support for bzip payloads.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Jun 21 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: don't expand macros in false branch of %if (kasal@suse.cz).
|
|
cvsdist |
1bdb86 |
- fix: macro expansion problem and clean up (#11484) (kasal@suse.cz).
|
|
cvsdist |
1bdb86 |
- uname on i370 has s390 as arch (#11456).
|
|
cvsdist |
1bdb86 |
- put version on rpmpopt filename to avoid legacy filename collision.
|
|
cvsdist |
1bdb86 |
- python: initdb binding (Dan Burcaw <dburcaw@terraplex.com>).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Jun 20 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: typo in brp-compress caused i18n man pages not to compress.
|
|
cvsdist |
1bdb86 |
- API: uncouple fadio from rest of librpmio.
|
|
cvsdist |
1bdb86 |
- API: externalize legacy fdOpen interface for rpmfind et al in librpmio.
|
|
cvsdist |
1bdb86 |
- update brp-* scripts from rpm-4.0, enable in per-platform config.
|
|
cvsdist |
1bdb86 |
- alpha: add -mieee to default optflags.
|
|
cvsdist |
1bdb86 |
- add RPMTAG_OPTFLAGS, configured optflags when package was built.
|
|
cvsdist |
1bdb86 |
- add RPMTAG_DISTURL for rpmfind-like tools (content unknown yet).
|
|
cvsdist |
1bdb86 |
- teach brp-compress about /usr/info and /usr/share/info as well.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Jun 19 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: open all db indices before performing chroot.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- require --rebuilddb to convert db1 -> db3, better messages.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Jun 16 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: resurrect symlink unique'ifying property of finger prints.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: don't count removed files if removed packages is empty set.
|
|
cvsdist |
1bdb86 |
- fix: permit '\0' as special case key (e.g. "/" in Basenames).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Jun 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- make librpmio standalone.
|
|
cvsdist |
1bdb86 |
- fix: avoid clobbering db cursor in removeBinaryPackage.
|
|
cvsdist |
1bdb86 |
- expose cursors in dbi interfaces, remove internal cursors.
|
|
cvsdist |
1bdb86 |
- remove incremental link.
|
|
cvsdist |
1bdb86 |
- portability: sparc-sun-solaris2.5.1.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed Jun 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- create rpmio directory for librpmio.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Jun 6 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- require db3 in default configuration.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- add optflags for i486 and i586.
|
|
cvsdist |
1bdb86 |
- fix: segfault with legacy packages missing RPMTAG_FILEINODES.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue May 30 2000 Matt Wilson <msw@redhat.com>
|
|
cvsdist |
1bdb86 |
- change %%configure, add %%makeinstall macros to handle FHS changes.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue May 30 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- mark packaging with version 4 to reflect filename/provide changes.
|
|
cvsdist |
1bdb86 |
- change next version from 3.1 to 4.0 to reflect package format change.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed May 26 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- change popt exec alias in oreder to exec rpm children.
|
|
cvsdist |
1bdb86 |
- split rpm into 5 pieces along major mode fault lines with popt glue.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu May 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- 2nd try at db1 -> db3 stable functionality.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue May 16 2000 Matt Wilson <msw@redhat.com>
|
|
cvsdist |
1bdb86 |
- build against bzip2 1.0
|
|
cvsdist |
1bdb86 |
- use the new fopencookie API in glibc 2.2
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri May 12 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix stupid mistakes (alpha segfaults).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Wed May 10 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- include RPM-GPG-KEY in file manifest.
|
|
cvsdist |
1bdb86 |
- simplify --last popt alias, date like -qi (bjerrick@easystreet.com).
|
|
cvsdist |
1bdb86 |
- fix: alloca'd memory used outside of scope (alpha segfault).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon May 8 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- FreeBSD fixes (bero@redhat.com).
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Sat May 6 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- finish db1 and db3 cleanup.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue May 2 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- first try at db1 -> db3 stability.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon May 1 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- Rename db0.c to db1.c, resurrect db2.c (from db3.c).
|
|
cvsdist |
1bdb86 |
- Add ia64 and sparc64 changes.
|
|
cvsdist |
1bdb86 |
- rpm.spec: add per-platform sub-directories.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Apr 28 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- Filter DB_INCOMPLETE on db->sync, it's usually harmless.
|
|
cvsdist |
1bdb86 |
- Add per-transaction cache of resolved dependencies (aka Depends).
|
|
cvsdist |
1bdb86 |
- Do lazy dbi{Open,Close} throughout.
|
|
cvsdist |
1bdb86 |
- Attempt fine grained dbi cursors throughout.
|
|
cvsdist |
1bdb86 |
- fix: free iterator *after* loop, not during.
|
|
cvsdist |
1bdb86 |
- fix: Depends needed keylen in dbiPut, rpmdbFreeIterator after use.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Apr 27 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- API: replace rpmdbUpdateRecord with rpmdbSetIteratorModified.
|
|
cvsdist |
1bdb86 |
- API: replace rpmdbFindByLabel with RPMDBI_LABEL iteration.
|
|
cvsdist |
1bdb86 |
- API: replace rpmdbGetRecord with iterators.
|
|
cvsdist |
1bdb86 |
- API: replace findMatches with iterators.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Apr 25 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- rebuild to check autoconf configuration in dist-7.0.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Sun Apr 23 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- fix: cpio.c: pre-, not post-, decrement the link count.
|
|
cvsdist |
1bdb86 |
- make db indices as lightweight as possible, with per-dbi config.
|
|
cvsdist |
1bdb86 |
- db1.c will never be needed, eliminate.
|
|
cvsdist |
1bdb86 |
- API: merge rebuilddb.c into rpmdb.c.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Apr 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- API: pass *SearchIndex() length of key (0 will use strlen(key)).
|
|
cvsdist |
1bdb86 |
- API: remove rpmdb{First,Next}RecNum routines.
|
|
cvsdist |
1bdb86 |
- drop rpm-python subpackage until bindings are fixed.
|
|
cvsdist |
1bdb86 |
- add explcit "Provides: name = [epoch:]version-release" to headers.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Apr 11 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- solaris2.6: avoid bsearch with empty dir list (Ric Klaren - klaren@cs.utwente.nl)
|
|
cvsdist |
1bdb86 |
- db3: save join keys in endian neutral binary format.
|
|
cvsdist |
1bdb86 |
- treat legacy falloc.c as "special" db[01] index for package headers.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Thu Apr 6 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- use hashed access for package headers.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Tue Apr 4 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- create dbi from template rather than passed args.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Apr 3 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- prefer db3 as default.
|
|
cvsdist |
1bdb86 |
- permit db3 configuration using macros.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Mar 31 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- try for db3 DB_INIT_CDB model.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Fri Mar 24 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db.
|
|
cvsdist |
1bdb86 |
- configure.in fiddles for BSD systems (Patrick Schoo).
|
|
cvsdist |
1bdb86 |
- API: change dbi to pass by reference, not value.
|
|
cvsdist |
1bdb86 |
- cram all of db1, db_185, and db2 interfaces into rpmlib.
|
|
cvsdist |
1bdb86 |
- convert db1 -> db2 on-disk format using --rebuilddb.
|
|
cvsdist |
1bdb86 |
|
|
cvsdist |
1bdb86 |
* Mon Mar 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
1bdb86 |
- start rpm-3.1 development.
|