cvsdist 4370f6
%define	with_python_subpackage	1 %{nil}
cvsdist b60fd6
%define with_perl_subpackage	1
cvsdist 4370f6
%define	with_bzip2		1 %{nil}
cvsdist 4370f6
%define	with_apidocs		1 %{nil}
cvsdist 4370f6
%define with_internal_db	1 %{nil}
cvsdist 9eb5b2
%define strip_binaries		1
cvsdist 9eb5b2
cvsdist 921826
# XXX enable at your own risk, CDB access to rpmdb isn't cooked yet.
cvsdist 921826
%define	enable_cdb		create cdb
cvsdist 921826
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 4370f6
%define version 4.0.3
cvsdist 1bdb86
Version: %{version}
cvsdist b60fd6
Release: 0.78
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 4370f6
Prereq: gawk fileutils textutils mktemp shadow-utils
cvsdist 9eb5b2
%endif
cvsdist 5e3a15
Requires: popt = 1.6.3
cvsdist 9eb5b2
cvsdist 4370f6
%if !%{with_internal_db}
cvsdist 9eb5b2
BuildRequires: db3-devel
cvsdist 9eb5b2
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 4370f6
%endif
cvsdist 1bdb86
%endif
cvsdist 9eb5b2
cvsdist b60fd6
BuildRequires: zlib-devel
cvsdist 9eb5b2
# XXX Red Hat 5.2 has not bzip2 or python
cvsdist 9eb5b2
%if %{with_bzip2}
cvsdist 1bdb86
BuildRequires: bzip2 >= 0.9.0c-2
cvsdist 9eb5b2
%endif
cvsdist 9eb5b2
%if %{with_python_subpackage}
cvsdist 1bdb86
BuildRequires: python-devel >= 1.5.2
cvsdist 1bdb86
%endif
cvsdist b60fd6
%if %{with_perl_subpackage}
cvsdist b60fd6
BuildRequires: perl >= 0:5.00503
cvsdist b60fd6
%endif
cvsdist 9eb5b2
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 5e3a15
Requires: rpm = %{version}, popt = 1.6.3
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 b60fd6
%if %{with_perl_subpackage}
cvsdist b60fd6
%package perl
cvsdist b60fd6
Summary: Native bindings to the RPM API for Perl.
cvsdist b60fd6
Version: 0.32
cvsdist b60fd6
Group: Development/Languages
cvsdist b60fd6
URL: http://www.cpan.org
cvsdist b60fd6
Requires: rpm = %{version}
cvsdist b60fd6
Requires: perl >= 0:5.00503
cvsdist b60fd6
Requires: popt = 1.6.3
cvsdist b60fd6
Obsoletes: perl-Perl-RPM
cvsdist b60fd6
cvsdist b60fd6
%description perl
cvsdist b60fd6
The Perl-RPM module is an attempt to provide Perl-level access to the
cvsdist b60fd6
complete application programming interface that is a part of the Red
cvsdist b60fd6
Hat Package Manager (RPM). Rather than have scripts rely on executing
cvsdist b60fd6
RPM commands and parse the resulting output, this module aims to give
cvsdist b60fd6
Perl programmers the ability to do anything that would otherwise have
cvsdist b60fd6
been done in C or C++.
cvsdist b60fd6
cvsdist b60fd6
The interface is being designed and laid out as a collection of
cvsdist b60fd6
classes, at least some of which are also available as tied-hash
cvsdist b60fd6
implementations.
cvsdist b60fd6
cvsdist b60fd6
At this time, the interface only provides access to the database of
cvsdist b60fd6
installed packages, and header data retrieval for RPM and SRPM files
cvsdist b60fd6
is not yet installed.  Error management and the export of most defined
cvsdist b60fd6
constants, through RPM::Error and RPM::Constants, respectively, are
cvsdist b60fd6
also available.
cvsdist b60fd6
cvsdist b60fd6
%endif
cvsdist b60fd6
cvsdist 9eb5b2
%if %{with_python_subpackage}
cvsdist 1bdb86
%package python
cvsdist 1bdb86
Summary: Python bindings for apps which will manipulate RPM packages.
cvsdist 1bdb86
Group: Development/Libraries
cvsdist 9eb5b2
Requires: rpm = %{version}
cvsdist 1bdb86
Requires: python >= 1.5.2
cvsdist 5e3a15
Requires: popt = 1.6.3
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 4370f6
Version: 1.6.3
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 1bdb86
cvsdist 1bdb86
%build
cvsdist 4370f6
cvsdist 4370f6
#
cvsdist 4370f6
# XXX work around a (possible) compiler problem on ia64
cvsdist 4370f6
%ifarch ia64
cvsdist 4370f6
RPM_OPT_FLAGS="-O0"
cvsdist 4370f6
%endif
cvsdist 4370f6
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 b60fd6
%if %{with_perl_subpackage}
cvsdist b60fd6
{ cd Perl-RPM
cvsdist b60fd6
  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
cvsdist b60fd6
  export SUBDIR="%{_builddir}/%{buildsubdir}"
cvsdist b60fd6
  make INC="-I. -I$SUBDIR/lib -I$SUBDIR/rpmio -I$SUBDIR/popt" %{?_smp_mflags}
cvsdist b60fd6
}
cvsdist b60fd6
%endif
cvsdist b60fd6
cvsdist 1bdb86
%install
cvsdist 1bdb86
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb86
cvsdist 1bdb86
make DESTDIR="$RPM_BUILD_ROOT" install
cvsdist 9eb5b2
cvsdist 4370f6
%ifos linux
cvsdist 4370f6
cvsdist 4370f6
# Save list of packages through cron
cvsdist 4370f6
mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
cvsdist 4370f6
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
cvsdist 4370f6
cvsdist 4370f6
mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
cvsdist 4370f6
install -m 755 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
cvsdist 4370f6
cvsdist 1bdb86
mkdir -p $RPM_BUILD_ROOT/etc/rpm
cvsdist 9eb5b2
cat << E_O_F > $RPM_BUILD_ROOT/etc/rpm/macros.db1
cvsdist 9eb5b2
%%_dbapi		1
cvsdist 9eb5b2
E_O_F
cvsdist 921826
cat << E_O_F > $RPM_BUILD_ROOT/etc/rpm/macros.cdb
cvsdist 921826
%{?enable_cdb:#%%__dbi_cdb	%{enable_cdb}}
cvsdist 921826
E_O_F
cvsdist 1bdb86
cvsdist 4370f6
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
cvsdist 4370f6
for dbi in \
cvsdist 4370f6
	Basenames Conflictname Dirnames Group Installtid Name Providename \
cvsdist 4370f6
	Provideversion Removetid Requirename Requireversion Triggername \
cvsdist 921826
	Packages __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
cvsdist 921826
	__db.008 __db.009
cvsdist 4370f6
do
cvsdist 4370f6
    touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
cvsdist 4370f6
done
cvsdist 4370f6
cvsdist 4370f6
%endif
cvsdist 4370f6
cvsdist 9eb5b2
%if %{with_apidocs}
cvsdist 9eb5b2
gzip -9n apidocs/man/man*/* || :
cvsdist 9eb5b2
%endif
cvsdist 9eb5b2
cvsdist b60fd6
%if %{with_perl_subpackage}
cvsdist b60fd6
{ cd Perl-RPM
cvsdist b60fd6
  eval `perl '-V:installsitearch'`
cvsdist b60fd6
  eval `perl '-V:installarchlib'`
cvsdist b60fd6
  mkdir -p $RPM_BUILD_ROOT/$installarchlib
cvsdist b60fd6
  make PREFIX=$RPM_BUILD_ROOT/usr install
cvsdist b60fd6
  rm -f $RPM_BUILD_ROOT/$installarchlib/perllocal.pod
cvsdist b60fd6
  rm -f $RPM_BUILD_ROOT/$installsitearch/auto/RPM/.packlist
cvsdist b60fd6
  cd ..
cvsdist b60fd6
}
cvsdist b60fd6
%endif
cvsdist b60fd6
cvsdist 9eb5b2
%if %{strip_binaries}
cvsdist 1bdb86
{ cd $RPM_BUILD_ROOT
cvsdist 1bdb86
  strip ./bin/rpm
cvsdist 1bdb86
  strip .%{__prefix}/bin/rpm2cpio
cvsdist 1bdb86
}
cvsdist 9eb5b2
%endif
cvsdist 1bdb86
cvsdist 1bdb86
%clean
cvsdist 1bdb86
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb86
cvsdist 9eb5b2
%pre
cvsdist 4370f6
%ifos linux
cvsdist 9eb5b2
if [ -f /var/lib/rpm/Packages -a -f /var/lib/rpm/packages.rpm ]; then
cvsdist 4370f6
    echo "
cvsdist 4370f6
You have both
cvsdist 4370f6
	/var/lib/rpm/packages.rpm	db1 format installed package headers
cvsdist 4370f6
	/var/lib/rpm/Packages		db3 format installed package headers
cvsdist 4370f6
Please remove (or at least rename) one of those files, and re-install.
cvsdist 4370f6
"
cvsdist 9eb5b2
    exit 1
cvsdist 9eb5b2
fi
cvsdist 4370f6
/usr/sbin/groupadd -g 37 rpm				> /dev/null 2>&1
cvsdist 3d91ba
/usr/sbin/useradd  -r -d /var/lib/rpm -u 37 -g 37 rpm	> /dev/null 2>&1
cvsdist 4370f6
%endif
cvsdist 9eb5b2
exit 0
cvsdist 9eb5b2
cvsdist 1bdb86
%post
cvsdist 1bdb86
%ifos linux
cvsdist 9eb5b2
/sbin/ldconfig
cvsdist 9eb5b2
if [ -f /var/lib/rpm/packages.rpm ]; then
cvsdist 4370f6
    /bin/chown rpm.rpm /var/lib/rpm/*.rpm
cvsdist 9eb5b2
elif [ -f /var/lib/rpm/Packages ]; then
cvsdist 9eb5b2
    # undo db1 configuration
cvsdist 9eb5b2
    rm -f /etc/rpm/macros.db1
cvsdist 4370f6
    /bin/chown rpm.rpm /var/lib/rpm/[A-Z]*
cvsdist 9eb5b2
else
cvsdist 9eb5b2
    # initialize db3 database
cvsdist 9eb5b2
    rm -f /etc/rpm/macros.db1
cvsdist 9eb5b2
    /bin/rpm --initdb
cvsdist 9eb5b2
fi
cvsdist 4370f6
%endif
cvsdist 4370f6
exit 0
cvsdist 1bdb86
cvsdist 9eb5b2
%ifos linux
cvsdist 4370f6
%postun
cvsdist 4370f6
/sbin/ldconfig
cvsdist 4370f6
if [ $1 == 0 ]; then
cvsdist 4370f6
    /usr/sbin/userdel rpm
cvsdist 4370f6
    /usr/sbin/groupdel rpm
cvsdist 4370f6
fi
cvsdist 4370f6
cvsdist 1bdb86
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 9eb5b2
%if %{with_python_subpackage}
cvsdist 1bdb86
%post python -p /sbin/ldconfig
cvsdist 1bdb86
%postun python -p /sbin/ldconfig
cvsdist 1bdb86
%endif
cvsdist 1bdb86
cvsdist 4370f6
%define	rpmattr		%attr(0755, rpm, rpm)
cvsdist 4370f6
cvsdist 1bdb86
%files
cvsdist 1bdb86
%defattr(-,root,root)
cvsdist 1bdb86
%doc RPM-PGP-KEY RPM-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
cvsdist 4370f6
%attr(0755, rpm, rpm)	/bin/rpm
cvsdist 4370f6
cvsdist 4370f6
%ifos linux
cvsdist 4370f6
%config(noreplace,missingok)	/etc/cron.daily/rpm
cvsdist 4370f6
%config(noreplace,missingok)	/etc/logrotate.d/rpm
cvsdist 4370f6
%dir				/etc/rpm
cvsdist 921826
%config(noreplace,missingok)	/etc/rpm/macros.*
cvsdist 4370f6
%attr(0755, rpm, rpm)	%dir /var/lib/rpm
cvsdist 4370f6
cvsdist 4370f6
%define	rpmdbattr %attr(0644, rpm, rpm) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Basenames
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Conflictname
cvsdist 921826
%rpmdbattr	/var/lib/rpm/__db.0*
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Dirnames
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Group
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Installtid
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Name
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Packages
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Providename
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Provideversion
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Removetid
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Requirename
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Requireversion
cvsdist 4370f6
%rpmdbattr	/var/lib/rpm/Triggername
cvsdist 4370f6
cvsdist 4370f6
%endif
cvsdist 4370f6
cvsdist 4370f6
%rpmattr	%{__prefix}/bin/rpm2cpio
cvsdist 4370f6
%rpmattr	%{__prefix}/bin/gendiff
cvsdist 4370f6
%rpmattr	%{__prefix}/bin/rpmdb
cvsdist 4370f6
#%rpmattr	%{__prefix}/bin/rpm[eiu]
cvsdist 4370f6
%rpmattr	%{__prefix}/bin/rpmsign
cvsdist 4370f6
%rpmattr	%{__prefix}/bin/rpmquery
cvsdist 4370f6
%rpmattr	%{__prefix}/bin/rpmverify
cvsdist 4370f6
cvsdist 21ad9a
%{__prefix}/lib/librpm-4.0.3.so
cvsdist 21ad9a
%{__prefix}/lib/librpmdb-4.0.3.so
cvsdist 21ad9a
%{__prefix}/lib/librpmio-4.0.3.so
cvsdist 21ad9a
%{__prefix}/lib/librpmbuild-4.0.3.so
cvsdist 1bdb86
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/config.guess
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/config.sub
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/convertrpmrc.sh
cvsdist 4370f6
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/macros
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/mkinstalldirs
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpm.*
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpm[deiukqv]
cvsdist 4370f6
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/rpmpopt*
cvsdist 4370f6
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/rpmrc
cvsdist 4370f6
cvsdist 4370f6
%ifarch i386 i486 i586 i686 athlon
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/i[3456]86*
cvsdist 698b80
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/athlon*
cvsdist 1bdb86
%endif
cvsdist 1bdb86
%ifarch alpha
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/alpha*
cvsdist 1bdb86
%endif
cvsdist 1bdb86
%ifarch sparc sparc64
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/sparc*
cvsdist 1bdb86
%endif
cvsdist 1bdb86
%ifarch ia64
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/ia64*
cvsdist 1bdb86
%endif
cvsdist 1bdb86
%ifarch powerpc ppc
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/ppc*
cvsdist 4370f6
%endif
cvsdist 4370f6
%ifarch s390 s390x
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/s390*
cvsdist 1bdb86
%endif
cvsdist 9eb5b2
%ifarch armv3l armv4l
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/armv[34][lb]*
cvsdist 9eb5b2
%endif
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/noarch*
cvsdist 9eb5b2
cvsdist 9eb5b2
%lang(cs)	%{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(da)	%{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(de)	%{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(fi)	%{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(fr)	%{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(is)	%{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(ja)	%{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(no)	%{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(pl)	%{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(pt)	%{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(pt_BR)	%{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(ro)	%{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(ru)	%{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sk)	%{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sl)	%{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sr)	%{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sv)	%{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(tr)	%{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
cvsdist 4370f6
%{__prefix}%{__share}/man/man1/gendiff.1*
cvsdist 4370f6
%{__prefix}%{__share}/man/man8/rpm.8*
cvsdist 4370f6
%{__prefix}%{__share}/man/man8/rpm2cpio.8*
cvsdist 9eb5b2
%lang(pl)	%{__prefix}%{__share}/man/pl/man[18]/*.[18]*
cvsdist 9eb5b2
%lang(ru)	%{__prefix}%{__share}/man/ru/man[18]/*.[18]*
cvsdist 9eb5b2
%lang(sk)	%{__prefix}%{__share}/man/sk/man[18]/*.[18]*
cvsdist 1bdb86
cvsdist 9eb5b2
%files build
cvsdist 9eb5b2
%defattr(-,root,root)
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 4370f6
%rpmattr	%{__prefix}/bin/rpmbuild
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/brp-*
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/check-prereqs
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/config.site
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/cpanflute
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/cross-build
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-lang.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-prov.pl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-provides
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-provides.perl
cvsdist 1f56f5
%rpmattr	%{__prefix}/lib/rpm/find-req.pl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-requires
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-requires.perl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/get_magic.pl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/getpo.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/http.req
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/javadeps
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/magic.prov
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/magic.req
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/perl.prov
cvsdist 1f56f5
cvsdist 1f56f5
# XXX remove executable bit to disable autogenerated perl requires for now.
cvsdist 1f56f5
#%rpmattr	%{__prefix}/lib/rpm/perl.req
cvsdist 1f56f5
%attr(0644, rpm, rpm) %{__prefix}/lib/rpm/perl.req
cvsdist 1f56f5
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpm[bt]
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpmdiff
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpmdiff.cgi
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/u_pkg.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/vpkg-provides.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/vpkg-provides2.sh
cvsdist 4370f6
cvsdist 4370f6
%{__prefix}%{__share}/man/man8/rpmbuild.8*
cvsdist 1bdb86
cvsdist 9eb5b2
%if %{with_python_subpackage}
cvsdist 1bdb86
%files python
cvsdist 1bdb86
%defattr(-,root,root)
cvsdist 1bdb86
%{__prefix}/lib/python1.5/site-packages/rpmmodule.so
cvsdist c78bac
%{__prefix}/lib/python1.5/site-packages/poptmodule.so
cvsdist 1bdb86
%endif
cvsdist 1bdb86
cvsdist b60fd6
%if %{with_perl_subpackage}
cvsdist b60fd6
%files perl
cvsdist b60fd6
%defattr(-,root,root)
cvsdist b60fd6
%rpmattr	%{__prefix}/bin/rpmprune
cvsdist b60fd6
%{perl_sitearch}/auto/*
cvsdist b60fd6
%{__prefix}%{__share}/man/man1/rpmprune.1*
cvsdist b60fd6
%{__prefix}%{__share}/man/man3/RPM*
cvsdist b60fd6
%endif
cvsdist b60fd6
cvsdist 1bdb86
%files devel
cvsdist 1bdb86
%defattr(-,root,root)
cvsdist 9eb5b2
%if %{with_apidocs}
cvsdist 9eb5b2
%doc apidocs
cvsdist 9eb5b2
%endif
cvsdist 1bdb86
%{__prefix}/include/rpm
cvsdist 1bdb86
%{__prefix}/lib/librpm.a
cvsdist 1bdb86
%{__prefix}/lib/librpm.la
cvsdist 1bdb86
%{__prefix}/lib/librpm.so
cvsdist 4370f6
%{__prefix}/lib/librpmdb.a
cvsdist 4370f6
%{__prefix}/lib/librpmdb.la
cvsdist 4370f6
%{__prefix}/lib/librpmdb.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}%{__share}/man/man3/popt.3*
cvsdist 9eb5b2
%lang(cs)	%{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(da)	%{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(gl)	%{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(hu)	%{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(is)	%{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(no)	%{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(pt)	%{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(ro)	%{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(ru)	%{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(sk)	%{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(sl)	%{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(sv)	%{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(tr)	%{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(uk)	%{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(wa)	%{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(zh_CN)	%{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
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 b60fd6
* Sat Jul 21 2001 Jeff Johnson <jbj@redhat.com>
cvsdist b60fd6
- add sha1 test vectors, verify on ix86/alpha/sparc.
cvsdist b60fd6
- add (but disable for now) rpm-perl subpackage from Perl-RPM.
cvsdist b60fd6
- python: parameterize with PYVER to handle 1.5 and/or 2.1 builds.
cvsdist b60fd6
- add build dependency on zlib-devel (#49575).
cvsdist b60fd6
cvsdist a4183a
* Fri Jul 20 2001 Jeff Johnson <jbj@redhat.com>
cvsdist a4183a
- fix: yet another segfault from bad metadata prevented.
cvsdist a4183a
cvsdist d5e184
* Thu Jul 19 2001 Jeff Johnson <jbj@redhat.com>
cvsdist d5e184
- fix: 4 memory leaks eliminated.
cvsdist d5e184
cvsdist efcfd0
* Wed Jul 18 2001 Jeff Johnson <jbj@redhat.com>
cvsdist efcfd0
- fix: %%dev(...) needs to map rdev and mtime from metadata.
cvsdist 1add82
- resurrect --specedit for i18n.
cvsdist efcfd0
cvsdist c78bac
* Tue Jul 17 2001 Jeff Johnson <jbj@redhat.com>
cvsdist c78bac
- python: "seal" immutable region for legacy headers in rhnUnload().
cvsdist c78bac
- python: add poptmodule.so bindings.
cvsdist c78bac
cvsdist 7669df
* Mon Jul 16 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 7669df
- fix: don't total hard linked file size multiple times (#46286).
cvsdist 7669df
- add %dev(type,major,minor) directive to permit non-root dev build.
cvsdist 8e584d
- fix: _smp_flags macro broken.
cvsdist 8e584d
- python: bind rhnUnload differently.
cvsdist 8e584d
- fix: rescusitate --querytags.
cvsdist 8e584d
- fix: short aliases broken (#49213).
cvsdist 7669df
cvsdist 921826
* Fri Jul 13 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 921826
- isolate cdb access configuration (experimental, use at your own risk).
cvsdist 921826
- fix: hard fail on locked dbopen if CDB locking not in use.
cvsdist 921826
- fix: dbconfig with mp_mmapsize=16Mb/mp_size=1Mb for
cvsdist 921826
  "everything ENOSPC" failure check.
cvsdist 921826
cvsdist 5e3a15
* Thu Jul 12 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 5e3a15
- fix: scope multi-mode options like --nodeps correctly (#48825).
cvsdist 5e3a15
cvsdist 732890
* Wed Jul 11 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 732890
- fix: adjust arg count for --POPTdesc/--POPTargs deletion.
cvsdist 5e3a15
- add linux per-platform macro %_smp_mflags <sopwith@redhat.com>.
cvsdist 5e3a15
- document more popt aliases for --help usage.
cvsdist 5e3a15
- remove --tarbuild from man page(s), use -t[abpcils] instead (#48666).
cvsdist 5e3a15
- add explicit version to Requires: popt
cvsdist 732890
cvsdist 54ffd0
* Tue Jul 10 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 54ffd0
- fix: -i CLI context broken Yet Again.
cvsdist 859ee6
- fix: --rebuild broken.
cvsdist 17ca79
- unlink all _db.nnn files before 1st db open.
cvsdist 8be94e
- python bindings should not segfault when fed bad data.
cvsdist 54ffd0
cvsdist c8a63a
* Mon Jul  9 2001 Jeff Johnson <jbj@redhat.com>
cvsdist c8a63a
- package version now configureable, default v3.
cvsdist 21ad9a
- rename rpm libraries to have version with libtool -release.
cvsdist 21ad9a
- revert rpmqv.c change for now.
cvsdist c8a63a
cvsdist 30ed57
* Sun Jul  8 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 30ed57
- python: rhnLoad/rhnUnload to check header digest.
cvsdist 30ed57
cvsdist 30ed57
* Sat Jul  7 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 30ed57
- expose rpmShowProgress() and rpmVerifyDigest() in rpmcli.h.
cvsdist 30ed57
- portability: avoid st_mtime, gendiff uses basename, etc (#47497).
cvsdist 30ed57
- glibc-2.0.x has not __va_copy().
cvsdist 30ed57
- popthelp.c: don't use stpcpy to avoid portability grief (#47500).
cvsdist 30ed57
- permit alias/exec description/arg text to be set from popt config.
cvsdist 30ed57
- use rpmqv.c, not rpm.c, as rpm's main() routine.
cvsdist 30ed57
cvsdist b44201
* Wed Jul  4 2001 Jeff Johnson <jbj@redhat.com>
cvsdist b44201
- add removetid to header during --repackage.
cvsdist b44201
cvsdist b44201
* Tue Jul  3 2001 Jeff Johnson <jbj@redhat.com>
cvsdist b44201
- fix: redundant entries in file manifests handled correctly (#46914).
cvsdist b44201
- map uid/gid from metadata into payload headers.
cvsdist b44201
cvsdist cd9fff
* Sat Jun 30 2001 Jeff Johnson <jbj@redhat.com>
cvsdist cd9fff
- update intl dirs to gettext-0.10.38.
cvsdist cd9fff
- fix: sanity check for header size added in headerCopyLoad() (#46469).
cvsdist cd9fff
cvsdist 3d91ba
* Thu Jun 28 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 3d91ba
- fix: sanity checks on #tags (<65K) and offset (<16Mb) in header.
cvsdist 3d91ba
- fix: add -r to useradd to prevent /etc/skel glop (#46215).
cvsdist 3d91ba
- fix: disambiguate typedef and struct name(s) for kpackage.
cvsdist 8877f4
cvsdist 1f56f5
* Mon Jun 25 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 1f56f5
- fix: remove executable bit on perl.req, not find-req.pl.
cvsdist 1f56f5
- fix: permit partially enumerated hardlink file sets during build.
cvsdist 1f56f5
- fix: resurrect rpm signature modes.
cvsdist 1f56f5
cvsdist ff1ae1
* Fri Jun 22 2001 Jeff Johnson <jbj@redhat.com>
cvsdist ff1ae1
- remove executable bit to disable autogenerated perl requires until
cvsdist ff1ae1
  perl provides can be vetted.
cvsdist ff1ae1
- disable per-platform %%configure use of %%_gnu until libtool package
cvsdist ff1ae1
  stabilizes.
cvsdist ff1ae1
cvsdist 698b80
* Thu Jun 21 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 698b80
- propagate %%{_gnu} to per-platform configuration.
cvsdist 698b80
- fix: parameterized macros with massive mumber of options need
cvsdist 698b80
  "optind = 1" "Dmitry V. Levin" <ldv@alt-linux.org>.
cvsdist 698b80
- add athlon per-platform configuration.
cvsdist 698b80
cvsdist 4370f6
* Wed Jun 20 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: partial sets of hardlinked files permitted in payload.
cvsdist 4370f6
- fix: mark rpmdb files with %config to prevent erasure on downgrade.
cvsdist 4370f6
- work around a (possible) compiler problem on ia64.
cvsdist 480b10
- fix: rpm -qlv link count for directories dinna include '..'.
cvsdist 480b10
- fix: rpm -qlv size for directories should be zero.
cvsdist 480b10
- add --noghost to filter non-payload files from rpm -qlv output.
cvsdist 698b80
- add %%{_gnu} macro to append "-gnu" to %%{_target_platform} to
cvsdist 698b80
  support --target/--host flavored %%configure. Legacy behavior
cvsdist 698b80
  available by undefining %%{_gnu}.
cvsdist 4370f6
cvsdist 4370f6
* Tue Jun 19 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- finalize per-header methods, accessing headerFoo through vector.
cvsdist 4370f6
- make package ordering loop messages debug, not warning.
cvsdist 4370f6
cvsdist 4370f6
* Mon Jun 18 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- preliminary abstraction to support per-header methods.
cvsdist 4370f6
cvsdist 4370f6
* Sun Jun 17 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- alpha: don't add "()(64bit)" dependency markers.
cvsdist 4370f6
- ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
cvsdist 4370f6
- add "rpmlib(ScriptletInterpreterArgs)" to track
cvsdist 4370f6
	%%post -p "/sbin/ldconfig -n /usr/lib"
cvsdist 4370f6
  incompatibilities.
cvsdist 4370f6
- linux.req needs exit 0
cvsdist 4370f6
- popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558).
cvsdist 4370f6
- popt: add POPT_CONTEXT_ARG_OPTS for all opts to return 1 (#30912).
cvsdist 4370f6
- fix: fsm reads/writes now return error on partial I/O.
cvsdist 4370f6
- fix: Ferror returned spurious error for gzdio/bzdio.
cvsdist 4370f6
- check for API/ABI creep, diddle up some compatibility.
cvsdist 4370f6
cvsdist 4370f6
* Thu Jun 14 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: db1 end-of-file not detected in legacy compatible way.
cvsdist 4370f6
- fix: remove (harmless) chown error message from %post.
cvsdist 4370f6
- add --target/--host to %%configure, add example cross-build/config.site
cvsdist 4370f6
  scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581).
cvsdist 4370f6
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
cvsdist 4370f6
- rpmdb iterator selectors permit negative matches.
cvsdist 4370f6
cvsdist 4370f6
* Wed Jun 13 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- add rpmdbSetIteratorRE() for regex matching in database iterators.
cvsdist 4370f6
- permit rpm -qa to take RE args applied to name tag.
cvsdist 4370f6
- permit dbiFindMatches() to use version/release patterns.
cvsdist 4370f6
- eliminate all uses of rpmdbSetIterator{Version,Release}.
cvsdist 4370f6
cvsdist 4370f6
* Tue Jun 12 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- remove rpmrc Provides: Yet Again, use virtual packages.
cvsdist 4370f6
- dump cursor debugging wrappers.
cvsdist 4370f6
- rpm --verify can disable rpmFileAttr checks.
cvsdist 4370f6
cvsdist 4370f6
* Mon Jun 11 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- remove dead code frpm popt table reorg.
cvsdist 4370f6
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h.
cvsdist 4370f6
- rpm --verify skips files in non-installed states.
cvsdist 4370f6
- rpm --verify skips content checks for %ghost files.
cvsdist 4370f6
- rpm --verify displays config/doc/gnost/license/readme atrrs for files.
cvsdist 4370f6
- rpm --verify checks immutable header region digest if available.
cvsdist 4370f6
- rpmbuild adds header region digest (SHA1 as string).
cvsdist 4370f6
- use rpmTag* typedefs in new hge/hae/hme/hre header vectors.
cvsdist 4370f6
cvsdist 4370f6
* Fri Jun  8 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: QUERY_FOR_LIST file count clobbered.
cvsdist 4370f6
- create top level rpmcli API, factor top level modes into popt tables.
cvsdist 4370f6
- popt: add POPT_BIT_SET/POPT_BIT_CLR to API.
cvsdist 4370f6
- autogen.sh checks for latest libtool-1.4 and automake-1.4-p2.
cvsdist 4370f6
- rpm --verify reports failure(s) if corresponding tag is not in header.
cvsdist 4370f6
- rpm --verify honors %config(missingok), add -v for legacy behavior.
cvsdist 4370f6
cvsdist 4370f6
* Wed Jun  6 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix typos in linux.{req,prov}.
cvsdist 4370f6
- always use db cursors.
cvsdist 4370f6
- permit duplicates for btree indices.
cvsdist 4370f6
- document build modes in rpmbuild.8, rpmbuild is born.
cvsdist 4370f6
- default to dbenv with mpool, --rebuilddb with nofsync is much faster.
cvsdist 4370f6
cvsdist 4370f6
* Fri Jun  1 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- merge sparc64/ia64 fiddles back into linux.{req,prov}.
cvsdist 4370f6
- automagically generate perl module dependencies always.
cvsdist 4370f6
- fix: lclint fiddles broke uCache initialization (#43139).
cvsdist 4370f6
cvsdist 4370f6
* Thu May 31 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).
cvsdist 4370f6
- fix: return suggested packages when using Depends cache.
cvsdist 4370f6
cvsdist 4370f6
* Wed May 30 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: for busted db1, attempt chain reconnection to following record.
cvsdist 4370f6
cvsdist 4370f6
* Tue May 29 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- eliminate db-1.85 and db-2.x configuration.
cvsdist 4370f6
- fix: popt arg sanity checks broken, optarg != optArg.
cvsdist 4370f6
- fix: popt range checks on floats/doubles broken.
cvsdist 4370f6
- popt: return POPT_ERROR_ERRNO on config open/read/close failure.
cvsdist 4370f6
- fix: popt exec doesn't add '--', --target et al no longer need '='.
cvsdist 4370f6
- fix: popt consume-next-arg "!#:+" w/o side effect (#41956).
cvsdist 4370f6
cvsdist 4370f6
* Fri May 25 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- perform db->verify when closing db files.
cvsdist 4370f6
cvsdist 4370f6
* Wed May 23 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- headerFree() returns NULL, _free is C++ safe.
cvsdist 4370f6
- remove all header region assertion failures, return NULL instead.
cvsdist 4370f6
cvsdist 4370f6
* Mon May 21 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: skip %ghost files when building packages (#38218).
cvsdist 4370f6
- refuse to install on systems using db1.
cvsdist 4370f6
cvsdist 4370f6
* Sun May 20 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: i18n strings need 1 on sucess return code (#41313).
cvsdist 4370f6
cvsdist 4370f6
* Wed May 16 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: filter duplicate package removals (#35828).
cvsdist 4370f6
- add armv3l arch.
cvsdist 4370f6
cvsdist 4370f6
* Mon May 14 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- upgrade to db-3.3.4.
cvsdist 4370f6
cvsdist 4370f6
* Sun May 13 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- add cron/logrotate scripts to save installed package filenames.
cvsdist 4370f6
cvsdist 4370f6
* Thu May 10 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- rpm database has rpm.rpm g+w permissions to share db3 mutexes.
cvsdist 4370f6
- expose more db3 macro configuration tokens.
cvsdist 4370f6
- move fprint.[ch] and hash.[ch] to rpmdb directory.
cvsdist 4370f6
- detect and fiddle incompatible mixtures of db3 env/open flags.
cvsdist 4370f6
- add DBI_WRITECURSOR to map to db3 flags with CDB database model.
cvsdist 4370f6
- add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes.
cvsdist 4370f6
- harden rpmdb iterators from damaged header instance segfaults.
cvsdist 4370f6
cvsdist 4370f6
* Mon May  7 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- use internal db-3.2.9 sources to build by default.
cvsdist 4370f6
- don't build db1 support by default.
cvsdist 4370f6
- create rpmdb.la so that linkage against rpm's db-3.2.9 is possible.
cvsdist 4370f6
cvsdist 4370f6
* Sun May  6 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: specfile queries with BuildArch: (#27589).
cvsdist 4370f6
cvsdist 4370f6
* Sat May  5 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- enough lclint annotations and fiddles already.
cvsdist 4370f6
cvsdist 4370f6
* Thu May  3 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- still more boring lclint annotations and fiddles.
cvsdist 4370f6
cvsdist 4370f6
* Sun Apr 29 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- transaction iterator(s) need to run in reverse order on pure erasures.
cvsdist 4370f6
- erasures not yet strict, warn & chug on unlink(2)/rmdir(2) failure.
cvsdist 4370f6
- more boring lclint annotations and fiddles.
cvsdist 4370f6
cvsdist 4370f6
* Sat Apr 28 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
cvsdist 4370f6
- internalize locale insensitive ctype(3) in rpmio.h
cvsdist 4370f6
- boring lclint annotations and fiddles.
cvsdist 4370f6
cvsdist 4370f6
* Thu Apr 26 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: ineeded count wrong for overlapped, created files.
cvsdist 4370f6
cvsdist 4370f6
* Wed Apr 25 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: readlink return value clobbered by header write.
cvsdist 4370f6
cvsdist 4370f6
* Mon Apr 23 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- regenerate rpm.8 man page from docbook glop (in max-rpm).
cvsdist 4370f6
- lib/depends.c: diddle debugging messages.
cvsdist 4370f6
cvsdist 4370f6
* Sat Apr 21 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER (#28645).
cvsdist 4370f6
- fix: Fwrite's are optimized out by aggressive compiler(irix) (#34711).
cvsdist 4370f6
- portability: vsnprintf/snprintf wrappers for those without (#34657).
cvsdist 4370f6
- more info provided by rpmdepOrder() debugging messages.
cvsdist 4370f6
- merge (compatible) changes from top-of-stack into rpmlib.h.
cvsdist 4370f6
- cpio mappings carry dirname/basename, not absolute path.
cvsdist 9eb5b2
- fix: check waitpid return code.
cvsdist 4370f6
- remove support for v1 src rpm's.
cvsdist 4370f6
- re-position callbacks with ts/fi in cpio payload layer.
cvsdist 4370f6
- state machines for packages (psm.c) and payloads (fsm.c)
cvsdist 4370f6
- add --repackage option to put erased bits back into a package.
cvsdist 4370f6
cvsdist 4370f6
* Tue Apr 17 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER (#28645).
cvsdist 4370f6
- fix: Fwrite's are optimized out by aggressive compiler(irix) (#34711).
cvsdist 4370f6
- portability: vsnprintf/snprintf wrappers for those without (#34657).
cvsdist 4370f6
- don't build with db1 support, don't install with packages.rpm present.
cvsdist 4370f6
cvsdist 4370f6
* Wed Apr  4 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- fix: parameterized macro segfault (Jakub Bogusz <qboosh@pld.org.pl>)
cvsdist 4370f6
- fix: i18n tags in rpm-2.5.x had wrong offset/length (#33478).
cvsdist 4370f6
- fix: AIX has sizeof(uint_16) != sizeof(mode_t) verify cast needed.
cvsdist 4370f6
- fix: zero length hard links unpacked incorrectly (#34211).
cvsdist 4370f6
- fix: --relocate missing trailing slash (#28874,#25876).
cvsdist 4370f6
- fix: --excludedoc shouldn't create empty doc dir (#14531).
cvsdist 4370f6
- fix: %_netsharedpath needs to look at basenames (#26561).
cvsdist 4370f6
- fix: --excludepath was broken (#24434).
cvsdist 4370f6
cvsdist 4370f6
* Thu Mar 22 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- update per-interpreter dependency scripts, add sql/tcl (#20295).
cvsdist 4370f6
- fix: rpmvercmp("1.a", "1.") returned -1, not +1 (#21392).
cvsdist 4370f6
- add %exclude support (i.e. "everything but") to %files.
cvsdist 4370f6
	(Michael (Micksa) Slade" <micksa@knobbits.org>)
cvsdist 4370f6
- add --with/--without popt glue for conditional builds(Tomasz Kloczko).
cvsdist 4370f6
- python: strip header regions during unload.
cvsdist 4370f6
- add -g to optflags in per-platform config.
cvsdist 4370f6
- permit confgure/compile with db3-3.2.9.
cvsdist 4370f6
- permit manifest files as args to query/verify modes.
cvsdist 4370f6
cvsdist 4370f6
* Thu Mar 15 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f6
- start rpm-4.0.3.
cvsdist 4370f6
- add cpuid asm voodoo to detect athlon processors.