sgallagh / rpms / rpm

Forked from rpms/rpm 4 years ago
Clone
cvsdist 4370f61
%define	with_python_subpackage	1 %{nil}
cvsdist 4370f61
%define	with_bzip2		1 %{nil}
cvsdist 4370f61
%define	with_apidocs		1 %{nil}
cvsdist 4370f61
%define with_internal_db	1 %{nil}
cvsdist 9eb5b26
%define strip_binaries		1
cvsdist 9eb5b26
cvsdist 9218268
# XXX enable at your own risk, CDB access to rpmdb isn't cooked yet.
cvsdist 9218268
%define	enable_cdb		create cdb
cvsdist 9218268
cvsdist 1bdb862
# XXX legacy requires './' payload prefix to be omitted from rpm packages.
cvsdist 1bdb862
%define	_noPayloadPrefix	1
cvsdist 1bdb862
cvsdist 1bdb862
%define	__prefix	/usr
cvsdist 1bdb862
%{expand:%%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
cvsdist 1bdb862
cvsdist 1bdb862
Summary: The Red Hat package management system.
cvsdist 1bdb862
Name: rpm
cvsdist 4370f61
%define version 4.0.3
cvsdist 1bdb862
Version: %{version}
cvsdist efcfd06
Release: 0.74
cvsdist 1bdb862
Group: System Environment/Base
cvsdist 96054ac
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{version}.tar.gz
cvsdist 1bdb862
Copyright: GPL
cvsdist 1bdb862
Conflicts: patch < 2.5
cvsdist 1bdb862
%ifos linux
cvsdist 4370f61
Prereq: gawk fileutils textutils mktemp shadow-utils
cvsdist 9eb5b26
%endif
cvsdist 5e3a15d
Requires: popt = 1.6.3
cvsdist 9eb5b26
cvsdist 4370f61
%if !%{with_internal_db}
cvsdist 9eb5b26
BuildRequires: db3-devel
cvsdist 9eb5b26
cvsdist 1bdb862
# XXX glibc-2.1.92 has incompatible locale changes that affect statically
cvsdist 1bdb862
# XXX linked binaries like /bin/rpm.
cvsdist 1bdb862
%ifnarch ia64
cvsdist 1bdb862
Requires: glibc >= 2.1.92
cvsdist 4370f61
%endif
cvsdist 1bdb862
%endif
cvsdist 9eb5b26
cvsdist 9eb5b26
# XXX Red Hat 5.2 has not bzip2 or python
cvsdist 9eb5b26
%if %{with_bzip2}
cvsdist 1bdb862
BuildRequires: bzip2 >= 0.9.0c-2
cvsdist 9eb5b26
%endif
cvsdist 9eb5b26
%if %{with_python_subpackage}
cvsdist 1bdb862
BuildRequires: python-devel >= 1.5.2
cvsdist 1bdb862
%endif
cvsdist 9eb5b26
cvsdist 1bdb862
BuildRoot: %{_tmppath}/%{name}-root
cvsdist 1bdb862
cvsdist 1bdb862
%description
cvsdist 1bdb862
The RPM Package Manager (RPM) is a powerful command line driven
cvsdist 1bdb862
package management system capable of installing, uninstalling,
cvsdist 1bdb862
verifying, querying, and updating software packages.  Each software
cvsdist 1bdb862
package consists of an archive of files along with information about
cvsdist 1bdb862
the package like its version, a description, etc.
cvsdist 1bdb862
cvsdist 1bdb862
%package devel
cvsdist 1bdb862
Summary: Development files for applications which will manipulate RPM packages.
cvsdist 1bdb862
Group: Development/Libraries
cvsdist 5e3a15d
Requires: rpm = %{version}, popt = 1.6.3
cvsdist 1bdb862
cvsdist 1bdb862
%description devel
cvsdist 1bdb862
This package contains the RPM C library and header files.  These
cvsdist 1bdb862
development files will simplify the process of writing programs which
cvsdist 1bdb862
manipulate RPM packages and databases. These files are intended to
cvsdist 1bdb862
simplify the process of creating graphical package managers or any
cvsdist 1bdb862
other tools that need an intimate knowledge of RPM packages in order
cvsdist 1bdb862
to function.
cvsdist 1bdb862
cvsdist 1bdb862
This package should be installed if you want to develop programs that
cvsdist 1bdb862
will manipulate RPM packages and databases.
cvsdist 1bdb862
cvsdist 1bdb862
%package build
cvsdist 1bdb862
Summary: Scripts and executable programs used to build packages.
cvsdist 1bdb862
Group: Development/Tools
cvsdist 1bdb862
Requires: rpm = %{version}
cvsdist 1bdb862
cvsdist 1bdb862
%description build
cvsdist 1bdb862
This package contains scripts and executable programs that are used to
cvsdist 1bdb862
build packages using RPM.
cvsdist 1bdb862
cvsdist 9eb5b26
%if %{with_python_subpackage}
cvsdist 1bdb862
%package python
cvsdist 1bdb862
Summary: Python bindings for apps which will manipulate RPM packages.
cvsdist 1bdb862
Group: Development/Libraries
cvsdist 9eb5b26
Requires: rpm = %{version}
cvsdist 1bdb862
Requires: python >= 1.5.2
cvsdist 5e3a15d
Requires: popt = 1.6.3
cvsdist 1bdb862
cvsdist 1bdb862
%description python
cvsdist 1bdb862
The rpm-python package contains a module which permits applications
cvsdist 1bdb862
written in the Python programming language to use the interface
cvsdist 1bdb862
supplied by RPM (RPM Package Manager) libraries.
cvsdist 1bdb862
cvsdist 1bdb862
This package should be installed if you want to develop Python
cvsdist 1bdb862
programs that will manipulate RPM packages and databases.
cvsdist 1bdb862
%endif
cvsdist 1bdb862
cvsdist 1bdb862
%package -n popt
cvsdist 1bdb862
Summary: A C library for parsing command line parameters.
cvsdist 1bdb862
Group: Development/Libraries
cvsdist 4370f61
Version: 1.6.3
cvsdist 1bdb862
cvsdist 1bdb862
%description -n popt
cvsdist 1bdb862
Popt is a C library for parsing command line parameters.  Popt was
cvsdist 1bdb862
heavily influenced by the getopt() and getopt_long() functions, but it
cvsdist 1bdb862
improves on them by allowing more powerful argument expansion.  Popt
cvsdist 1bdb862
can parse arbitrary argv[] style arrays and automatically set
cvsdist 1bdb862
variables based on command line arguments.  Popt allows command line
cvsdist 1bdb862
arguments to be aliased via configuration files and includes utility
cvsdist 1bdb862
functions for parsing arbitrary strings into argv[] arrays using
cvsdist 1bdb862
shell-like rules.
cvsdist 1bdb862
cvsdist 1bdb862
Install popt if you're a C programmer and you'd like to use its
cvsdist 1bdb862
capabilities.
cvsdist 1bdb862
cvsdist 1bdb862
%prep
cvsdist 1bdb862
%setup -q
cvsdist 1bdb862
cvsdist 1bdb862
%build
cvsdist 4370f61
cvsdist 4370f61
#
cvsdist 4370f61
# XXX work around a (possible) compiler problem on ia64
cvsdist 4370f61
%ifarch ia64
cvsdist 4370f61
RPM_OPT_FLAGS="-O0"
cvsdist 4370f61
%endif
cvsdist 4370f61
cvsdist 1bdb862
%ifos linux
cvsdist 1bdb862
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} --sysconfdir=/etc --localstatedir=/var --infodir='${prefix}%{__share}/info' --mandir='${prefix}%{__share}/man'
cvsdist 1bdb862
%else
cvsdist 1bdb862
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix}
cvsdist 1bdb862
%endif
cvsdist 1bdb862
cvsdist 1bdb862
make
cvsdist 1bdb862
cvsdist 1bdb862
%install
cvsdist 1bdb862
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb862
cvsdist 1bdb862
make DESTDIR="$RPM_BUILD_ROOT" install
cvsdist 9eb5b26
cvsdist 4370f61
%ifos linux
cvsdist 4370f61
cvsdist 4370f61
# Save list of packages through cron
cvsdist 4370f61
mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
cvsdist 4370f61
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
cvsdist 4370f61
cvsdist 4370f61
mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
cvsdist 4370f61
install -m 755 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
cvsdist 4370f61
cvsdist 1bdb862
mkdir -p $RPM_BUILD_ROOT/etc/rpm
cvsdist 9eb5b26
cat << E_O_F > $RPM_BUILD_ROOT/etc/rpm/macros.db1
cvsdist 9eb5b26
%%_dbapi		1
cvsdist 9eb5b26
E_O_F
cvsdist 9218268
cat << E_O_F > $RPM_BUILD_ROOT/etc/rpm/macros.cdb
cvsdist 9218268
%{?enable_cdb:#%%__dbi_cdb	%{enable_cdb}}
cvsdist 9218268
E_O_F
cvsdist 1bdb862
cvsdist 4370f61
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
cvsdist 4370f61
for dbi in \
cvsdist 4370f61
	Basenames Conflictname Dirnames Group Installtid Name Providename \
cvsdist 4370f61
	Provideversion Removetid Requirename Requireversion Triggername \
cvsdist 9218268
	Packages __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
cvsdist 9218268
	__db.008 __db.009
cvsdist 4370f61
do
cvsdist 4370f61
    touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
cvsdist 4370f61
done
cvsdist 4370f61
cvsdist 4370f61
%endif
cvsdist 4370f61
cvsdist 9eb5b26
%if %{with_apidocs}
cvsdist 9eb5b26
gzip -9n apidocs/man/man*/* || :
cvsdist 9eb5b26
%endif
cvsdist 9eb5b26
cvsdist 9eb5b26
%if %{strip_binaries}
cvsdist 1bdb862
{ cd $RPM_BUILD_ROOT
cvsdist 1bdb862
  strip ./bin/rpm
cvsdist 1bdb862
  strip .%{__prefix}/bin/rpm2cpio
cvsdist 1bdb862
}
cvsdist 9eb5b26
%endif
cvsdist 1bdb862
cvsdist 1bdb862
%clean
cvsdist 1bdb862
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb862
cvsdist 9eb5b26
%pre
cvsdist 4370f61
%ifos linux
cvsdist 9eb5b26
if [ -f /var/lib/rpm/Packages -a -f /var/lib/rpm/packages.rpm ]; then
cvsdist 4370f61
    echo "
cvsdist 4370f61
You have both
cvsdist 4370f61
	/var/lib/rpm/packages.rpm	db1 format installed package headers
cvsdist 4370f61
	/var/lib/rpm/Packages		db3 format installed package headers
cvsdist 4370f61
Please remove (or at least rename) one of those files, and re-install.
cvsdist 4370f61
"
cvsdist 9eb5b26
    exit 1
cvsdist 9eb5b26
fi
cvsdist 4370f61
/usr/sbin/groupadd -g 37 rpm				> /dev/null 2>&1
cvsdist 3d91ba0
/usr/sbin/useradd  -r -d /var/lib/rpm -u 37 -g 37 rpm	> /dev/null 2>&1
cvsdist 4370f61
%endif
cvsdist 9eb5b26
exit 0
cvsdist 9eb5b26
cvsdist 1bdb862
%post
cvsdist 1bdb862
%ifos linux
cvsdist 9eb5b26
/sbin/ldconfig
cvsdist 9eb5b26
if [ -f /var/lib/rpm/packages.rpm ]; then
cvsdist 4370f61
    /bin/chown rpm.rpm /var/lib/rpm/*.rpm
cvsdist 9eb5b26
elif [ -f /var/lib/rpm/Packages ]; then
cvsdist 9eb5b26
    # undo db1 configuration
cvsdist 9eb5b26
    rm -f /etc/rpm/macros.db1
cvsdist 4370f61
    /bin/chown rpm.rpm /var/lib/rpm/[A-Z]*
cvsdist 9eb5b26
else
cvsdist 9eb5b26
    # initialize db3 database
cvsdist 9eb5b26
    rm -f /etc/rpm/macros.db1
cvsdist 9eb5b26
    /bin/rpm --initdb
cvsdist 9eb5b26
fi
cvsdist 4370f61
%endif
cvsdist 4370f61
exit 0
cvsdist 1bdb862
cvsdist 9eb5b26
%ifos linux
cvsdist 4370f61
%postun
cvsdist 4370f61
/sbin/ldconfig
cvsdist 4370f61
if [ $1 == 0 ]; then
cvsdist 4370f61
    /usr/sbin/userdel rpm
cvsdist 4370f61
    /usr/sbin/groupdel rpm
cvsdist 4370f61
fi
cvsdist 4370f61
cvsdist 1bdb862
cvsdist 1bdb862
%post devel -p /sbin/ldconfig
cvsdist 1bdb862
%postun devel -p /sbin/ldconfig
cvsdist 1bdb862
cvsdist 1bdb862
%post -n popt -p /sbin/ldconfig
cvsdist 1bdb862
%postun -n popt -p /sbin/ldconfig
cvsdist 1bdb862
%endif
cvsdist 1bdb862
cvsdist 9eb5b26
%if %{with_python_subpackage}
cvsdist 1bdb862
%post python -p /sbin/ldconfig
cvsdist 1bdb862
%postun python -p /sbin/ldconfig
cvsdist 1bdb862
%endif
cvsdist 1bdb862
cvsdist 4370f61
%define	rpmattr		%attr(0755, rpm, rpm)
cvsdist 4370f61
cvsdist 1bdb862
%files
cvsdist 1bdb862
%defattr(-,root,root)
cvsdist 1bdb862
%doc RPM-PGP-KEY RPM-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
cvsdist 4370f61
%attr(0755, rpm, rpm)	/bin/rpm
cvsdist 4370f61
cvsdist 4370f61
%ifos linux
cvsdist 4370f61
%config(noreplace,missingok)	/etc/cron.daily/rpm
cvsdist 4370f61
%config(noreplace,missingok)	/etc/logrotate.d/rpm
cvsdist 4370f61
%dir				/etc/rpm
cvsdist 9218268
%config(noreplace,missingok)	/etc/rpm/macros.*
cvsdist 4370f61
%attr(0755, rpm, rpm)	%dir /var/lib/rpm
cvsdist 4370f61
cvsdist 4370f61
%define	rpmdbattr %attr(0644, rpm, rpm) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Basenames
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Conflictname
cvsdist 9218268
%rpmdbattr	/var/lib/rpm/__db.0*
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Dirnames
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Group
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Installtid
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Name
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Packages
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Providename
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Provideversion
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Removetid
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Requirename
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Requireversion
cvsdist 4370f61
%rpmdbattr	/var/lib/rpm/Triggername
cvsdist 4370f61
cvsdist 4370f61
%endif
cvsdist 4370f61
cvsdist 4370f61
%rpmattr	%{__prefix}/bin/rpm2cpio
cvsdist 4370f61
%rpmattr	%{__prefix}/bin/gendiff
cvsdist 4370f61
%rpmattr	%{__prefix}/bin/rpmdb
cvsdist 4370f61
#%rpmattr	%{__prefix}/bin/rpm[eiu]
cvsdist 4370f61
%rpmattr	%{__prefix}/bin/rpmsign
cvsdist 4370f61
%rpmattr	%{__prefix}/bin/rpmquery
cvsdist 4370f61
%rpmattr	%{__prefix}/bin/rpmverify
cvsdist 4370f61
cvsdist 21ad9a2
%{__prefix}/lib/librpm-4.0.3.so
cvsdist 21ad9a2
%{__prefix}/lib/librpmdb-4.0.3.so
cvsdist 21ad9a2
%{__prefix}/lib/librpmio-4.0.3.so
cvsdist 21ad9a2
%{__prefix}/lib/librpmbuild-4.0.3.so
cvsdist 1bdb862
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/config.guess
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/config.sub
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/convertrpmrc.sh
cvsdist 4370f61
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/macros
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/mkinstalldirs
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/rpm.*
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/rpm[deiukqv]
cvsdist 4370f61
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/rpmpopt*
cvsdist 4370f61
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/rpmrc
cvsdist 4370f61
cvsdist 4370f61
%ifarch i386 i486 i586 i686 athlon
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/i[3456]86*
cvsdist 698b80d
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/athlon*
cvsdist 1bdb862
%endif
cvsdist 1bdb862
%ifarch alpha
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/alpha*
cvsdist 1bdb862
%endif
cvsdist 1bdb862
%ifarch sparc sparc64
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/sparc*
cvsdist 1bdb862
%endif
cvsdist 1bdb862
%ifarch ia64
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/ia64*
cvsdist 1bdb862
%endif
cvsdist 1bdb862
%ifarch powerpc ppc
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/ppc*
cvsdist 4370f61
%endif
cvsdist 4370f61
%ifarch s390 s390x
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/s390*
cvsdist 1bdb862
%endif
cvsdist 9eb5b26
%ifarch armv3l armv4l
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/armv[34][lb]*
cvsdist 9eb5b26
%endif
cvsdist 4370f61
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/noarch*
cvsdist 9eb5b26
cvsdist 9eb5b26
%lang(cs)	%{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(da)	%{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(de)	%{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(fi)	%{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(fr)	%{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(is)	%{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(ja)	%{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(no)	%{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(pl)	%{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(pt)	%{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(pt_BR)	%{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(ro)	%{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(ru)	%{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(sk)	%{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(sl)	%{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(sr)	%{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(sv)	%{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
%lang(tr)	%{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b26
cvsdist 4370f61
%{__prefix}%{__share}/man/man1/gendiff.1*
cvsdist 4370f61
%{__prefix}%{__share}/man/man8/rpm.8*
cvsdist 4370f61
%{__prefix}%{__share}/man/man8/rpm2cpio.8*
cvsdist 9eb5b26
%lang(pl)	%{__prefix}%{__share}/man/pl/man[18]/*.[18]*
cvsdist 9eb5b26
%lang(ru)	%{__prefix}%{__share}/man/ru/man[18]/*.[18]*
cvsdist 9eb5b26
%lang(sk)	%{__prefix}%{__share}/man/sk/man[18]/*.[18]*
cvsdist 1bdb862
cvsdist 9eb5b26
%files build
cvsdist 9eb5b26
%defattr(-,root,root)
cvsdist 1bdb862
%dir %{__prefix}/src/redhat
cvsdist 1bdb862
%dir %{__prefix}/src/redhat/BUILD
cvsdist 1bdb862
%dir %{__prefix}/src/redhat/SPECS
cvsdist 1bdb862
%dir %{__prefix}/src/redhat/SOURCES
cvsdist 1bdb862
%dir %{__prefix}/src/redhat/SRPMS
cvsdist 1bdb862
%dir %{__prefix}/src/redhat/RPMS
cvsdist 1bdb862
%{__prefix}/src/redhat/RPMS/*
cvsdist 4370f61
%rpmattr	%{__prefix}/bin/rpmbuild
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/brp-*
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/check-prereqs
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/config.site
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/cpanflute
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/cross-build
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/find-lang.sh
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/find-prov.pl
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/find-provides
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/find-provides.perl
cvsdist 1f56f5f
%rpmattr	%{__prefix}/lib/rpm/find-req.pl
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/find-requires
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/find-requires.perl
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/get_magic.pl
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/getpo.sh
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/http.req
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/javadeps
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/magic.prov
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/magic.req
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/perl.prov
cvsdist 1f56f5f
cvsdist 1f56f5f
# XXX remove executable bit to disable autogenerated perl requires for now.
cvsdist 1f56f5f
#%rpmattr	%{__prefix}/lib/rpm/perl.req
cvsdist 1f56f5f
%attr(0644, rpm, rpm) %{__prefix}/lib/rpm/perl.req
cvsdist 1f56f5f
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/rpm[bt]
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/rpmdiff
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/rpmdiff.cgi
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/u_pkg.sh
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/vpkg-provides.sh
cvsdist 4370f61
%rpmattr	%{__prefix}/lib/rpm/vpkg-provides2.sh
cvsdist 4370f61
cvsdist 4370f61
%{__prefix}%{__share}/man/man8/rpmbuild.8*
cvsdist 1bdb862
cvsdist 9eb5b26
%if %{with_python_subpackage}
cvsdist 1bdb862
%files python
cvsdist 1bdb862
%defattr(-,root,root)
cvsdist 1bdb862
%{__prefix}/lib/python1.5/site-packages/rpmmodule.so
cvsdist c78bac4
%{__prefix}/lib/python1.5/site-packages/poptmodule.so
cvsdist 1bdb862
%endif
cvsdist 1bdb862
cvsdist 1bdb862
%files devel
cvsdist 1bdb862
%defattr(-,root,root)
cvsdist 9eb5b26
%if %{with_apidocs}
cvsdist 9eb5b26
%doc apidocs
cvsdist 9eb5b26
%endif
cvsdist 1bdb862
%{__prefix}/include/rpm
cvsdist 1bdb862
%{__prefix}/lib/librpm.a
cvsdist 1bdb862
%{__prefix}/lib/librpm.la
cvsdist 1bdb862
%{__prefix}/lib/librpm.so
cvsdist 4370f61
%{__prefix}/lib/librpmdb.a
cvsdist 4370f61
%{__prefix}/lib/librpmdb.la
cvsdist 4370f61
%{__prefix}/lib/librpmdb.so
cvsdist 1bdb862
%{__prefix}/lib/librpmio.a
cvsdist 1bdb862
%{__prefix}/lib/librpmio.la
cvsdist 1bdb862
%{__prefix}/lib/librpmio.so
cvsdist 1bdb862
%{__prefix}/lib/librpmbuild.a
cvsdist 1bdb862
%{__prefix}/lib/librpmbuild.la
cvsdist 1bdb862
%{__prefix}/lib/librpmbuild.so
cvsdist 1bdb862
cvsdist 1bdb862
%files -n popt
cvsdist 1bdb862
%defattr(-,root,root)
cvsdist 1bdb862
%{__prefix}/lib/libpopt.so.*
cvsdist 1bdb862
%{__prefix}%{__share}/man/man3/popt.3*
cvsdist 9eb5b26
%lang(cs)	%{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(da)	%{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(gl)	%{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(hu)	%{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(is)	%{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(no)	%{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(pt)	%{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(ro)	%{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(ru)	%{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(sk)	%{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(sl)	%{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(sv)	%{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(tr)	%{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(uk)	%{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(wa)	%{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
cvsdist 9eb5b26
%lang(zh_CN)	%{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
cvsdist 1bdb862
cvsdist 1bdb862
# XXX These may end up in popt-devel but it hardly seems worth the effort now.
cvsdist 1bdb862
%{__prefix}/lib/libpopt.a
cvsdist 1bdb862
%{__prefix}/lib/libpopt.la
cvsdist 1bdb862
%{__prefix}/lib/libpopt.so
cvsdist 1bdb862
%{__prefix}/include/popt.h
cvsdist 1bdb862
cvsdist 1bdb862
%changelog
cvsdist efcfd06
* Wed Jul 18 2001 Jeff Johnson <jbj@redhat.com>
cvsdist efcfd06
- fix: %%dev(...) needs to map rdev and mtime from metadata.
cvsdist efcfd06
cvsdist c78bac4
* Tue Jul 17 2001 Jeff Johnson <jbj@redhat.com>
cvsdist c78bac4
- python: "seal" immutable region for legacy headers in rhnUnload().
cvsdist c78bac4
- python: add poptmodule.so bindings.
cvsdist c78bac4
cvsdist 7669dfb
* Mon Jul 16 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 7669dfb
- fix: don't total hard linked file size multiple times (#46286).
cvsdist 7669dfb
- add %dev(type,major,minor) directive to permit non-root dev build.
cvsdist 8e584d8
- fix: _smp_flags macro broken.
cvsdist 8e584d8
- python: bind rhnUnload differently.
cvsdist 8e584d8
- fix: rescusitate --querytags.
cvsdist 8e584d8
- fix: short aliases broken (#49213).
cvsdist 7669dfb
cvsdist 9218268
* Fri Jul 13 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 9218268
- isolate cdb access configuration (experimental, use at your own risk).
cvsdist 9218268
- fix: hard fail on locked dbopen if CDB locking not in use.
cvsdist 9218268
- fix: dbconfig with mp_mmapsize=16Mb/mp_size=1Mb for
cvsdist 9218268
  "everything ENOSPC" failure check.
cvsdist 9218268
cvsdist 5e3a15d
* Thu Jul 12 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 5e3a15d
- fix: scope multi-mode options like --nodeps correctly (#48825).
cvsdist 5e3a15d
cvsdist 7328903
* Wed Jul 11 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 7328903
- fix: adjust arg count for --POPTdesc/--POPTargs deletion.
cvsdist 5e3a15d
- add linux per-platform macro %_smp_mflags <sopwith@redhat.com>.
cvsdist 5e3a15d
- document more popt aliases for --help usage.
cvsdist 5e3a15d
- remove --tarbuild from man page(s), use -t[abpcils] instead (#48666).
cvsdist 5e3a15d
- add explicit version to Requires: popt
cvsdist 7328903
cvsdist 54ffd02
* Tue Jul 10 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 54ffd02
- fix: -i CLI context broken Yet Again.
cvsdist 859ee68
- fix: --rebuild broken.
cvsdist 17ca795
- unlink all _db.nnn files before 1st db open.
cvsdist 8be94ec
- python bindings should not segfault when fed bad data.
cvsdist 54ffd02
cvsdist c8a63a0
* Mon Jul  9 2001 Jeff Johnson <jbj@redhat.com>
cvsdist c8a63a0
- package version now configureable, default v3.
cvsdist 21ad9a2
- rename rpm libraries to have version with libtool -release.
cvsdist 21ad9a2
- revert rpmqv.c change for now.
cvsdist c8a63a0
cvsdist 30ed571
* Sun Jul  8 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 30ed571
- python: rhnLoad/rhnUnload to check header digest.
cvsdist 30ed571
cvsdist 30ed571
* Sat Jul  7 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 30ed571
- expose rpmShowProgress() and rpmVerifyDigest() in rpmcli.h.
cvsdist 30ed571
- portability: avoid st_mtime, gendiff uses basename, etc (#47497).
cvsdist 30ed571
- glibc-2.0.x has not __va_copy().
cvsdist 30ed571
- popthelp.c: don't use stpcpy to avoid portability grief (#47500).
cvsdist 30ed571
- permit alias/exec description/arg text to be set from popt config.
cvsdist 30ed571
- use rpmqv.c, not rpm.c, as rpm's main() routine.
cvsdist 30ed571
cvsdist b442016
* Wed Jul  4 2001 Jeff Johnson <jbj@redhat.com>
cvsdist b442016
- add removetid to header during --repackage.
cvsdist b442016
cvsdist b442016
* Tue Jul  3 2001 Jeff Johnson <jbj@redhat.com>
cvsdist b442016
- fix: redundant entries in file manifests handled correctly (#46914).
cvsdist b442016
- map uid/gid from metadata into payload headers.
cvsdist b442016
cvsdist cd9fffd
* Sat Jun 30 2001 Jeff Johnson <jbj@redhat.com>
cvsdist cd9fffd
- update intl dirs to gettext-0.10.38.
cvsdist cd9fffd
- fix: sanity check for header size added in headerCopyLoad() (#46469).
cvsdist cd9fffd
cvsdist 3d91ba0
* Thu Jun 28 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 3d91ba0
- fix: sanity checks on #tags (<65K) and offset (<16Mb) in header.
cvsdist 3d91ba0
- fix: add -r to useradd to prevent /etc/skel glop (#46215).
cvsdist 3d91ba0
- fix: disambiguate typedef and struct name(s) for kpackage.
cvsdist 8877f4f
cvsdist 1f56f5f
* Mon Jun 25 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 1f56f5f
- fix: remove executable bit on perl.req, not find-req.pl.
cvsdist 1f56f5f
- fix: permit partially enumerated hardlink file sets during build.
cvsdist 1f56f5f
- fix: resurrect rpm signature modes.
cvsdist 1f56f5f
cvsdist ff1ae19
* Fri Jun 22 2001 Jeff Johnson <jbj@redhat.com>
cvsdist ff1ae19
- remove executable bit to disable autogenerated perl requires until
cvsdist ff1ae19
  perl provides can be vetted.
cvsdist ff1ae19
- disable per-platform %%configure use of %%_gnu until libtool package
cvsdist ff1ae19
  stabilizes.
cvsdist ff1ae19
cvsdist 698b80d
* Thu Jun 21 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 698b80d
- propagate %%{_gnu} to per-platform configuration.
cvsdist 698b80d
- fix: parameterized macros with massive mumber of options need
cvsdist 698b80d
  "optind = 1" "Dmitry V. Levin" <ldv@alt-linux.org>.
cvsdist 698b80d
- add athlon per-platform configuration.
cvsdist 698b80d
cvsdist 4370f61
* Wed Jun 20 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: partial sets of hardlinked files permitted in payload.
cvsdist 4370f61
- fix: mark rpmdb files with %config to prevent erasure on downgrade.
cvsdist 4370f61
- work around a (possible) compiler problem on ia64.
cvsdist 480b10d
- fix: rpm -qlv link count for directories dinna include '..'.
cvsdist 480b10d
- fix: rpm -qlv size for directories should be zero.
cvsdist 480b10d
- add --noghost to filter non-payload files from rpm -qlv output.
cvsdist 698b80d
- add %%{_gnu} macro to append "-gnu" to %%{_target_platform} to
cvsdist 698b80d
  support --target/--host flavored %%configure. Legacy behavior
cvsdist 698b80d
  available by undefining %%{_gnu}.
cvsdist 4370f61
cvsdist 4370f61
* Tue Jun 19 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- finalize per-header methods, accessing headerFoo through vector.
cvsdist 4370f61
- make package ordering loop messages debug, not warning.
cvsdist 4370f61
cvsdist 4370f61
* Mon Jun 18 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- preliminary abstraction to support per-header methods.
cvsdist 4370f61
cvsdist 4370f61
* Sun Jun 17 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- alpha: don't add "()(64bit)" dependency markers.
cvsdist 4370f61
- ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
cvsdist 4370f61
- add "rpmlib(ScriptletInterpreterArgs)" to track
cvsdist 4370f61
	%%post -p "/sbin/ldconfig -n /usr/lib"
cvsdist 4370f61
  incompatibilities.
cvsdist 4370f61
- linux.req needs exit 0
cvsdist 4370f61
- popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558).
cvsdist 4370f61
- popt: add POPT_CONTEXT_ARG_OPTS for all opts to return 1 (#30912).
cvsdist 4370f61
- fix: fsm reads/writes now return error on partial I/O.
cvsdist 4370f61
- fix: Ferror returned spurious error for gzdio/bzdio.
cvsdist 4370f61
- check for API/ABI creep, diddle up some compatibility.
cvsdist 4370f61
cvsdist 4370f61
* Thu Jun 14 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: db1 end-of-file not detected in legacy compatible way.
cvsdist 4370f61
- fix: remove (harmless) chown error message from %post.
cvsdist 4370f61
- add --target/--host to %%configure, add example cross-build/config.site
cvsdist 4370f61
  scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581).
cvsdist 4370f61
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
cvsdist 4370f61
- rpmdb iterator selectors permit negative matches.
cvsdist 4370f61
cvsdist 4370f61
* Wed Jun 13 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- add rpmdbSetIteratorRE() for regex matching in database iterators.
cvsdist 4370f61
- permit rpm -qa to take RE args applied to name tag.
cvsdist 4370f61
- permit dbiFindMatches() to use version/release patterns.
cvsdist 4370f61
- eliminate all uses of rpmdbSetIterator{Version,Release}.
cvsdist 4370f61
cvsdist 4370f61
* Tue Jun 12 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- remove rpmrc Provides: Yet Again, use virtual packages.
cvsdist 4370f61
- dump cursor debugging wrappers.
cvsdist 4370f61
- rpm --verify can disable rpmFileAttr checks.
cvsdist 4370f61
cvsdist 4370f61
* Mon Jun 11 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- remove dead code frpm popt table reorg.
cvsdist 4370f61
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h.
cvsdist 4370f61
- rpm --verify skips files in non-installed states.
cvsdist 4370f61
- rpm --verify skips content checks for %ghost files.
cvsdist 4370f61
- rpm --verify displays config/doc/gnost/license/readme atrrs for files.
cvsdist 4370f61
- rpm --verify checks immutable header region digest if available.
cvsdist 4370f61
- rpmbuild adds header region digest (SHA1 as string).
cvsdist 4370f61
- use rpmTag* typedefs in new hge/hae/hme/hre header vectors.
cvsdist 4370f61
cvsdist 4370f61
* Fri Jun  8 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: QUERY_FOR_LIST file count clobbered.
cvsdist 4370f61
- create top level rpmcli API, factor top level modes into popt tables.
cvsdist 4370f61
- popt: add POPT_BIT_SET/POPT_BIT_CLR to API.
cvsdist 4370f61
- autogen.sh checks for latest libtool-1.4 and automake-1.4-p2.
cvsdist 4370f61
- rpm --verify reports failure(s) if corresponding tag is not in header.
cvsdist 4370f61
- rpm --verify honors %config(missingok), add -v for legacy behavior.
cvsdist 4370f61
cvsdist 4370f61
* Wed Jun  6 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix typos in linux.{req,prov}.
cvsdist 4370f61
- always use db cursors.
cvsdist 4370f61
- permit duplicates for btree indices.
cvsdist 4370f61
- document build modes in rpmbuild.8, rpmbuild is born.
cvsdist 4370f61
- default to dbenv with mpool, --rebuilddb with nofsync is much faster.
cvsdist 4370f61
cvsdist 4370f61
* Fri Jun  1 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- merge sparc64/ia64 fiddles back into linux.{req,prov}.
cvsdist 4370f61
- automagically generate perl module dependencies always.
cvsdist 4370f61
- fix: lclint fiddles broke uCache initialization (#43139).
cvsdist 4370f61
cvsdist 4370f61
* Thu May 31 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).
cvsdist 4370f61
- fix: return suggested packages when using Depends cache.
cvsdist 4370f61
cvsdist 4370f61
* Wed May 30 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: for busted db1, attempt chain reconnection to following record.
cvsdist 4370f61
cvsdist 4370f61
* Tue May 29 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- eliminate db-1.85 and db-2.x configuration.
cvsdist 4370f61
- fix: popt arg sanity checks broken, optarg != optArg.
cvsdist 4370f61
- fix: popt range checks on floats/doubles broken.
cvsdist 4370f61
- popt: return POPT_ERROR_ERRNO on config open/read/close failure.
cvsdist 4370f61
- fix: popt exec doesn't add '--', --target et al no longer need '='.
cvsdist 4370f61
- fix: popt consume-next-arg "!#:+" w/o side effect (#41956).
cvsdist 4370f61
cvsdist 4370f61
* Fri May 25 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- perform db->verify when closing db files.
cvsdist 4370f61
cvsdist 4370f61
* Wed May 23 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- headerFree() returns NULL, _free is C++ safe.
cvsdist 4370f61
- remove all header region assertion failures, return NULL instead.
cvsdist 4370f61
cvsdist 4370f61
* Mon May 21 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: skip %ghost files when building packages (#38218).
cvsdist 4370f61
- refuse to install on systems using db1.
cvsdist 4370f61
cvsdist 4370f61
* Sun May 20 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: i18n strings need 1 on sucess return code (#41313).
cvsdist 4370f61
cvsdist 4370f61
* Wed May 16 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: filter duplicate package removals (#35828).
cvsdist 4370f61
- add armv3l arch.
cvsdist 4370f61
cvsdist 4370f61
* Mon May 14 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- upgrade to db-3.3.4.
cvsdist 4370f61
cvsdist 4370f61
* Sun May 13 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- add cron/logrotate scripts to save installed package filenames.
cvsdist 4370f61
cvsdist 4370f61
* Thu May 10 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- rpm database has rpm.rpm g+w permissions to share db3 mutexes.
cvsdist 4370f61
- expose more db3 macro configuration tokens.
cvsdist 4370f61
- move fprint.[ch] and hash.[ch] to rpmdb directory.
cvsdist 4370f61
- detect and fiddle incompatible mixtures of db3 env/open flags.
cvsdist 4370f61
- add DBI_WRITECURSOR to map to db3 flags with CDB database model.
cvsdist 4370f61
- add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes.
cvsdist 4370f61
- harden rpmdb iterators from damaged header instance segfaults.
cvsdist 4370f61
cvsdist 4370f61
* Mon May  7 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- use internal db-3.2.9 sources to build by default.
cvsdist 4370f61
- don't build db1 support by default.
cvsdist 4370f61
- create rpmdb.la so that linkage against rpm's db-3.2.9 is possible.
cvsdist 4370f61
cvsdist 4370f61
* Sun May  6 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: specfile queries with BuildArch: (#27589).
cvsdist 4370f61
cvsdist 4370f61
* Sat May  5 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- enough lclint annotations and fiddles already.
cvsdist 4370f61
cvsdist 4370f61
* Thu May  3 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- still more boring lclint annotations and fiddles.
cvsdist 4370f61
cvsdist 4370f61
* Sun Apr 29 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- transaction iterator(s) need to run in reverse order on pure erasures.
cvsdist 4370f61
- erasures not yet strict, warn & chug on unlink(2)/rmdir(2) failure.
cvsdist 4370f61
- more boring lclint annotations and fiddles.
cvsdist 4370f61
cvsdist 4370f61
* Sat Apr 28 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
cvsdist 4370f61
- internalize locale insensitive ctype(3) in rpmio.h
cvsdist 4370f61
- boring lclint annotations and fiddles.
cvsdist 4370f61
cvsdist 4370f61
* Thu Apr 26 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: ineeded count wrong for overlapped, created files.
cvsdist 4370f61
cvsdist 4370f61
* Wed Apr 25 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: readlink return value clobbered by header write.
cvsdist 4370f61
cvsdist 4370f61
* Mon Apr 23 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- regenerate rpm.8 man page from docbook glop (in max-rpm).
cvsdist 4370f61
- lib/depends.c: diddle debugging messages.
cvsdist 4370f61
cvsdist 4370f61
* Sat Apr 21 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER (#28645).
cvsdist 4370f61
- fix: Fwrite's are optimized out by aggressive compiler(irix) (#34711).
cvsdist 4370f61
- portability: vsnprintf/snprintf wrappers for those without (#34657).
cvsdist 4370f61
- more info provided by rpmdepOrder() debugging messages.
cvsdist 4370f61
- merge (compatible) changes from top-of-stack into rpmlib.h.
cvsdist 4370f61
- cpio mappings carry dirname/basename, not absolute path.
cvsdist 9eb5b26
- fix: check waitpid return code.
cvsdist 4370f61
- remove support for v1 src rpm's.
cvsdist 4370f61
- re-position callbacks with ts/fi in cpio payload layer.
cvsdist 4370f61
- state machines for packages (psm.c) and payloads (fsm.c)
cvsdist 4370f61
- add --repackage option to put erased bits back into a package.
cvsdist 4370f61
cvsdist 4370f61
* Tue Apr 17 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER (#28645).
cvsdist 4370f61
- fix: Fwrite's are optimized out by aggressive compiler(irix) (#34711).
cvsdist 4370f61
- portability: vsnprintf/snprintf wrappers for those without (#34657).
cvsdist 4370f61
- don't build with db1 support, don't install with packages.rpm present.
cvsdist 4370f61
cvsdist 4370f61
* Wed Apr  4 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- fix: parameterized macro segfault (Jakub Bogusz <qboosh@pld.org.pl>)
cvsdist 4370f61
- fix: i18n tags in rpm-2.5.x had wrong offset/length (#33478).
cvsdist 4370f61
- fix: AIX has sizeof(uint_16) != sizeof(mode_t) verify cast needed.
cvsdist 4370f61
- fix: zero length hard links unpacked incorrectly (#34211).
cvsdist 4370f61
- fix: --relocate missing trailing slash (#28874,#25876).
cvsdist 4370f61
- fix: --excludedoc shouldn't create empty doc dir (#14531).
cvsdist 4370f61
- fix: %_netsharedpath needs to look at basenames (#26561).
cvsdist 4370f61
- fix: --excludepath was broken (#24434).
cvsdist 4370f61
cvsdist 4370f61
* Thu Mar 22 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- update per-interpreter dependency scripts, add sql/tcl (#20295).
cvsdist 4370f61
- fix: rpmvercmp("1.a", "1.") returned -1, not +1 (#21392).
cvsdist 4370f61
- add %exclude support (i.e. "everything but") to %files.
cvsdist 4370f61
	(Michael (Micksa) Slade" <micksa@knobbits.org>)
cvsdist 4370f61
- add --with/--without popt glue for conditional builds(Tomasz Kloczko).
cvsdist 4370f61
- python: strip header regions during unload.
cvsdist 4370f61
- add -g to optflags in per-platform config.
cvsdist 4370f61
- permit confgure/compile with db3-3.2.9.
cvsdist 4370f61
- permit manifest files as args to query/verify modes.
cvsdist 4370f61
cvsdist 4370f61
* Thu Mar 15 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 4370f61
- start rpm-4.0.3.
cvsdist 4370f61
- add cpuid asm voodoo to detect athlon processors.