cbac7f3
# rawhide doesn't have new enough lzma yet
cbac7f3
%bcond_with lzma
cbac7f3
# sqlite backend is broken atm, disabled for now
cbac7f3
%bcond_with sqlite
cbac7f3
# just for giggles, option to build with internal Berkeley DB
cbac7f3
%bcond_with int_bdb
9ea2c1d
# run internal testsuite?
9ea2c1d
%bcond_without check
cbac7f3
7c29032
# switch rpm itself back to md5 file digests until the dust settles a bit
7c29032
%define _source_filedigest_algorithm 0
7c29032
%define _binary_filedigest_algorithm 0
7c29032
cbac7f3
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
cvsdist 9218268
f780b84
%define rpmhome /usr/lib/rpm
cvsdist 02edfd6
b60210f
%define rpmver 4.7.0
60eb94b
%define snapver {nil}
60eb94b
%define srcver %{rpmver}
cbac7f3
61eecfc
%define bdbver 4.7.25
61eecfc
%define dbprefix db
cbac7f3
Paul Nasrat b1ecfff
Summary: The RPM package management system
cvsdist 1bdb862
Name: rpm
cbac7f3
Version: %{rpmver}
c149608
Release: 2%{?dist}
cvsdist 1bdb862
Group: System Environment/Base
Paul Nasrat b1ecfff
Url: http://www.rpm.org/
b60210f
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
cbac7f3
%if %{with int_bdb}
cbac7f3
Source1: db-%{bdbver}.tar.gz
cbac7f3
%endif
c66608c
Source10: desktop-file.prov
0a87f6d
Source11: fontconfig.prov
cbac7f3
b60210f
Patch0: rpm-4.7.0-devel-autodep.patch
cbac7f3
Patch1: rpm-4.5.90-pkgconfig-path.patch
9ba3bc7
Patch2: rpm-4.5.90-gstreamer-provides.patch
4b92b80
# Fedora specspo is setup differently than what rpm expects, considering
4b92b80
# this as Fedora-specific patch for now
4b92b80
Patch3: rpm-4.6.0-fedora-specspo.patch
cbac7f3
57f2a13
# Patches already in upstream
57f2a13
3bb32d6
# These are not yet upstream
b60210f
Patch300: rpm-4.7.0-extra-provides.patch
c859c61
Patch301: rpm-4.6.0-niagara.patch
ac1dcaa
cbac7f3
# Partially GPL/LGPL dual-licensed and some bits with BSD
cbac7f3
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD 
412a63f
License: GPLv2+
412a63f
2c9332a
Requires(post): coreutils
e0e4c4e
%if %{without int_bdb}
61eecfc
# db recovery tools, rpmdb_util symlinks
61eecfc
Requires: db4-utils = %{bdbver}
e0e4c4e
%endif
e910076
Requires: popt >= 1.10.2.1
Paul Nasrat c4acc09
Requires: crontabs
1c9fae5
Requires: logrotate
cbac7f3
Requires: curl
cbac7f3
cbac7f3
%if %{without int_bdb}
61eecfc
BuildRequires: db4-devel = %{bdbver}
cbac7f3
%endif
cvsdist 9eb5b26
b60210f
%if %{with check}
b60210f
BuildRequires: fakechroot
b60210f
%endif
b60210f
f780b84
# XXX generally assumed to be installed but make it explicit as rpm
f780b84
# is a bit special...
f780b84
BuildRequires: redhat-rpm-config
223b2f6
BuildRequires: gawk
Paul Nasrat a5c9d47
BuildRequires: elfutils-devel >= 0.112
cbac7f3
BuildRequires: elfutils-libelf-devel
Paul Nasrat b1ecfff
BuildRequires: readline-devel zlib-devel
34fad67
BuildRequires: nss-devel
cbac7f3
# The popt version here just documents an older known-good version
cbac7f3
BuildRequires: popt-devel >= 1.10.2
cbac7f3
BuildRequires: file-devel
Paul Nasrat 5d7ac97
BuildRequires: gettext-devel
Paul Nasrat 1d8748c
BuildRequires: libselinux-devel
Paul Nasrat 534eb1d
BuildRequires: ncurses-devel
jbj abbbabb
BuildRequires: bzip2-devel >= 0.9.0c-2
cbac7f3
BuildRequires: python-devel >= 2.2
cbac7f3
BuildRequires: lua-devel >= 5.1
cbac7f3
%if %{with lzma}
cbac7f3
BuildRequires: lzma-devel >= 4.42
cbac7f3
%endif
cbac7f3
%if %{with sqlite}
cbac7f3
BuildRequires: sqlite-devel
cbac7f3
%endif
b60210f
# Not enabling these yet
b60210f
# BuildRequires: libcap-devel libacl-devel
412a63f
2c9332a
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 1bdb862
cvsdist 1bdb862
%description
cvsdist 73bf5cf
The RPM Package Manager (RPM) is a powerful command line driven
cvsdist 1bdb862
package management system capable of installing, uninstalling,
cvsdist b1db194
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 98655b4
%package libs
Paul Nasrat b1ecfff
Summary:  Libraries for manipulating RPM packages
cvsdist 98655b4
Group: Development/Libraries
412a63f
License: GPLv2+ and LGPLv2+ with exceptions
c0e8155
Requires: rpm = %{version}-%{release}
cvsdist 98655b4
cvsdist 98655b4
%description libs
cvsdist 98655b4
This package contains the RPM shared libraries.
cvsdist 98655b4
cvsdist 1bdb862
%package devel
Paul Nasrat b1ecfff
Summary:  Development files for manipulating RPM packages
cvsdist 1bdb862
Group: Development/Libraries
412a63f
License: GPLv2+ and LGPLv2+ with exceptions
c0e8155
Requires: rpm = %{version}-%{release}
cbac7f3
Requires: pkgconfig
34fad67
Requires: nss-devel 
Paul Nasrat 6a92fd0
Requires: libselinux-devel
Paul Nasrat b691d60
Requires: elfutils-libelf-devel
e3543e0
Requires: popt-devel
cbac7f3
%if %{with lzma}
cbac7f3
Requires: lzma-devel >= 4.42
cbac7f3
%endif
cbac7f3
%if %{with sqlite}
cbac7f3
Requires: sqlite-devel
cbac7f3
%endif
cvsdist 1bdb862
cvsdist 1bdb862
%description devel
cvsdist b1db194
This package contains the RPM C library and header files. These
cvsdist b1db194
development files will simplify the process of writing programs that
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
Paul Nasrat b1ecfff
Summary: Scripts and executable programs used to build packages
cvsdist 1bdb862
Group: Development/Tools
61cb76a
Requires: rpm = %{version}-%{release}
61cb76a
Requires: elfutils >= 0.128 binutils
44830ae
Requires: findutils sed grep gawk diffutils file patch >= 2.5
cbac7f3
Requires: unzip gzip bzip2 cpio lzma
8f38dac
Requires: pkgconfig
cvsdist 1bdb862
cvsdist 1bdb862
%description build
cvsdist b1db194
The rpm-build package contains the scripts and executable programs
cvsdist b1db194
that are used to build packages using the RPM Package Manager.
cvsdist 1bdb862
cvsdist a37c64e
%package python
Paul Nasrat b1ecfff
Summary: Python bindings for apps which will manipulate RPM packages
cvsdist a37c64e
Group: Development/Libraries
c0e8155
Requires: rpm = %{version}-%{release}
cvsdist a37c64e
cvsdist a37c64e
%description python
cvsdist b1db194
The rpm-python package contains a module that permits applications
cvsdist a37c64e
written in the Python programming language to use the interface
cvsdist 02edfd6
supplied by RPM Package Manager libraries.
cvsdist a37c64e
cvsdist a37c64e
This package should be installed if you want to develop Python
cvsdist a37c64e
programs that will manipulate RPM packages and databases.
cvsdist b60fd6b
f780b84
%package apidocs
f780b84
Summary: API documentation for RPM libraries
f780b84
Group: Documentation
3c64bcf
BuildArch: noarch
f780b84
f780b84
%description apidocs
f780b84
This package contains API documentation for developing applications
f780b84
that will manipulate RPM packages and databases.
f780b84
cvsdist 1bdb862
%prep
cbac7f3
%setup -q -n %{name}-%{srcver} %{?with_int_bdb:-a 1}
cbac7f3
%patch0 -p1 -b .devel-autodep
cbac7f3
%patch1 -p1 -b .pkgconfig-path
9ba3bc7
%patch2 -p1 -b .gstreamer-prov
4b92b80
%patch3 -p1 -b .fedora-specspo
7c8e009
c66608c
%patch300 -p1 -b .extra-prov
c859c61
%patch301 -p1 -b .niagara
cbac7f3
cbac7f3
%if %{with int_bdb}
cbac7f3
ln -s db-%{bdbver} db
cbac7f3
%endif
6d40e7b
f780b84
%build
cbac7f3
%if %{without int_bdb}
61eecfc
#CPPFLAGS=-I%{_includedir}/db%{bdbver} 
61eecfc
#LDFLAGS=-L%{_libdir}/db%{bdbver}
cbac7f3
%endif
353e517
CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
20231bf
CFLAGS="$RPM_OPT_FLAGS"
20231bf
export CPPFLAGS CFLAGS LDFLAGS
20231bf
20231bf
# Using configure macro has some unwanted side-effects on rpm platform
20231bf
# setup, use the old-fashioned way for now only defining minimal paths.
20231bf
./configure \
20231bf
    --prefix=%{_usr} \
20231bf
    --sysconfdir=%{_sysconfdir} \
20231bf
    --localstatedir=%{_var} \
1fe0077
    --sharedstatedir=%{_var}/lib \
20231bf
    --libdir=%{_libdir} \
cbac7f3
    %{!?with_int_bdb: --with-external-db} \
cbac7f3
    %{?with_sqlite: --enable-sqlite3} \
cbac7f3
    --with-lua \
cbac7f3
    --with-selinux \
cbac7f3
    --enable-python
cvsdist 87eb98f
jbj 80c00d2
make %{?_smp_mflags}
cvsdist 1bdb862
cvsdist 1bdb862
%install
cvsdist 1bdb862
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb862
cvsdist 65b2a01
make DESTDIR="$RPM_BUILD_ROOT" install
cvsdist 9eb5b26
cvsdist 4370f61
# Save list of packages through cron
f780b84
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
f780b84
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
cvsdist 4370f61
f780b84
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
f780b84
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
cvsdist 4370f61
0a87f6d
install -p -m 755 %{SOURCE10} %{SOURCE11} ${RPM_BUILD_ROOT}%{rpmhome}/
c66608c
f780b84
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
cvsdist 1bdb862
cvsdist 4370f61
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
cvsdist 4370f61
for dbi in \
cbac7f3
    Basenames Conflictname Dirnames Group Installtid Name Packages \
cbac7f3
    Providename Provideversion Requirename Requireversion Triggername \
cbac7f3
    Filedigests Pubkeys Sha1header Sigmd5 \
cbac7f3
    __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
cbac7f3
    __db.008 __db.009
cvsdist 4370f61
do
cvsdist 4370f61
    touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
cvsdist 4370f61
done
cvsdist 4370f61
1fe0077
# plant links to db utils as rpmdb_foo so existing documantion is usable
1fe0077
%if %{without int_bdb}
1fe0077
for dbutil in \
1fe0077
    archive deadlock dump load printlog \
0b7fe47
    recover stat upgrade verify
1fe0077
do
61eecfc
    ln -s ../../bin/%{dbprefix}_${dbutil} $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_${dbutil}
1fe0077
done
61eecfc
ln -s ../../bin/berkeley_%{dbprefix}_svc $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_svc
1fe0077
%endif
1fe0077
2c9332a
%find_lang %{name}
2c9332a
cbac7f3
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
f780b84
353e517
# avoid dragging in tonne of perl libs for an unused script
353e517
chmod 0644 $RPM_BUILD_ROOT/%{rpmhome}/perldeps.pl
353e517
1a5c9c2
# compress our ChangeLog, it's fairly big...
1a5c9c2
bzip2 -9 ChangeLog
1a5c9c2
cvsdist 1bdb862
%clean
cvsdist 1bdb862
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb862
b60210f
%if %{with check}
b60210f
%check
60eb94b
make check
b60210f
%endif
b60210f
b914fc5
%post libs -p /sbin/ldconfig
b914fc5
%postun libs -p /sbin/ldconfig
b914fc5
cbac7f3
%posttrans
cbac7f3
# XXX this is klunky and ugly, rpm itself should handle this
cbac7f3
dbstat=/usr/lib/rpm/rpmdb_stat
cbac7f3
if [ -x "$dbstat" ]; then
353e517
    if "$dbstat" -e -h /var/lib/rpm 2>&1 | grep -q "doesn't match environment version \| Invalid argument"; then
cbac7f3
        rm -f /var/lib/rpm/__db.* 
cbac7f3
    fi
cbac7f3
fi
cbac7f3
exit 0
cvsdist 4370f61
2c9332a
%files -f %{name}.lang
Paul Nasrat b1ecfff
%defattr(-,root,root,-)
1a5c9c2
%doc GROUPS COPYING CREDITS ChangeLog.bz2 doc/manual/[a-z]*
Paul Nasrat b1ecfff
f780b84
%{_sysconfdir}/cron.daily/rpm
f780b84
%config(noreplace,missingok)    %{_sysconfdir}/logrotate.d/rpm
f780b84
%dir                            %{_sysconfdir}/rpm
Paul Nasrat b1ecfff
cbac7f3
%attr(0755, root, root)   %dir /var/lib/rpm
cbac7f3
%attr(0644, rpm, rpm) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/rpm/*
cbac7f3
%attr(0755, root, root) %dir %{rpmhome}
3fd5536
3fd5536
/bin/rpm
3fd5536
%{_bindir}/rpm2cpio
3fd5536
%{_bindir}/rpmdb
3fd5536
%{_bindir}/rpmsign
3fd5536
%{_bindir}/rpmquery
3fd5536
%{_bindir}/rpmverify
3fd5536
f780b84
%{_mandir}/man8/rpm.8*
f780b84
%{_mandir}/man8/rpm2cpio.8*
Paul Nasrat b1ecfff
f780b84
# XXX this places translated manuals to wrong package wrt eg rpmbuild
cbac7f3
%lang(fr) %{_mandir}/fr/man[18]/*.[18]*
cbac7f3
%lang(ko) %{_mandir}/ko/man[18]/*.[18]*
f780b84
%lang(ja) %{_mandir}/ja/man[18]/*.[18]*
f780b84
%lang(pl) %{_mandir}/pl/man[18]/*.[18]*
f780b84
%lang(ru) %{_mandir}/ru/man[18]/*.[18]*
f780b84
%lang(sk) %{_mandir}/sk/man[18]/*.[18]*
cvsdist 1bdb862
cbac7f3
%{rpmhome}/macros
cbac7f3
%{rpmhome}/rpmpopt*
cbac7f3
%{rpmhome}/rpmrc
cbac7f3
cbac7f3
%{rpmhome}/rpmdb_*
cbac7f3
%{rpmhome}/rpm.daily
cbac7f3
%{rpmhome}/rpm.log
cbac7f3
%{rpmhome}/rpm.xinetd
cbac7f3
%{rpmhome}/rpm2cpio.sh
cbac7f3
%{rpmhome}/tgpg
cbac7f3
cbac7f3
%{rpmhome}/platform
cbac7f3
cvsdist 98655b4
%files libs
cvsdist 98655b4
%defattr(-,root,root)
b60210f
%{_libdir}/librpm*.so.*
cvsdist 98655b4
cvsdist 9eb5b26
%files build
cvsdist 9eb5b26
%defattr(-,root,root)
3fd5536
%{_bindir}/rpmbuild
cbac7f3
%{_bindir}/gendiff
cbac7f3
cbac7f3
%{_mandir}/man1/gendiff.1*
cbac7f3
3fd5536
%{rpmhome}/brp-*
3fd5536
%{rpmhome}/check-buildroot
3fd5536
%{rpmhome}/check-files
3fd5536
%{rpmhome}/check-prereqs
3fd5536
%{rpmhome}/check-rpaths*
3fd5536
%{rpmhome}/debugedit
3fd5536
%{rpmhome}/find-debuginfo.sh
3fd5536
%{rpmhome}/find-lang.sh
3fd5536
%{rpmhome}/find-provides
3fd5536
%{rpmhome}/find-requires
3fd5536
%{rpmhome}/javadeps
3fd5536
%{rpmhome}/mono-find-provides
3fd5536
%{rpmhome}/mono-find-requires
3fd5536
%{rpmhome}/osgideps.pl
3fd5536
%{rpmhome}/perldeps.pl
cbac7f3
%{rpmhome}/libtooldeps.sh
cbac7f3
%{rpmhome}/pkgconfigdeps.sh
3fd5536
%{rpmhome}/perl.prov
3fd5536
%{rpmhome}/perl.req
cbac7f3
%{rpmhome}/tcl.req
3fd5536
%{rpmhome}/pythondeps.sh
3fd5536
%{rpmhome}/rpmdeps
cbac7f3
%{rpmhome}/config.guess
cbac7f3
%{rpmhome}/config.sub
cbac7f3
%{rpmhome}/mkinstalldirs
cbac7f3
%{rpmhome}/rpmdiff*
c66608c
%{rpmhome}/desktop-file.prov
0a87f6d
%{rpmhome}/fontconfig.prov
3fd5536
cbac7f3
%{rpmhome}/macros.perl
cbac7f3
%{rpmhome}/macros.python
cbac7f3
%{rpmhome}/macros.php
f780b84
f780b84
%{_mandir}/man8/rpmbuild.8*
f780b84
%{_mandir}/man8/rpmdeps.8*
cvsdist 1bdb862
cvsdist 1bdb862
%files python
cvsdist 1bdb862
%defattr(-,root,root)
cbac7f3
%{python_sitearch}/rpm
cvsdist b60fd6b
cvsdist 1bdb862
%files devel
cvsdist 1bdb862
%defattr(-,root,root)
f780b84
%{_includedir}/rpm
68e66c4
%{_libdir}/librp*[a-z].so
f780b84
%{_mandir}/man8/rpmgraph.8*
3fd5536
%{_bindir}/rpmgraph
f780b84
cbac7f3
%{_libdir}/pkgconfig/rpm.pc
cbac7f3
f780b84
%files apidocs
f780b84
%defattr(-,root,root)
cbac7f3
%doc doc/librpm/html/*
cvsdist 1bdb862
cvsdist 1bdb862
%changelog
c149608
* Fri Apr 17 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-2
c149608
- file classification tweaks for text files (#494817)
c149608
  - disable libmagic text token checks, it's way too error-prone
c149608
  - consistently classify all text as such and include description
c149608
60eb94b
* Thu Apr 16 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-1
60eb94b
- update to 4.7.0 final (http://rpm.org/wiki/Releases/4.7.0)
60eb94b
- fixes #494049, #495429
60eb94b
- dont permit test-suite failure anymore
60eb94b
c859c61
* Thu Apr 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.rc1.1
c859c61
- update to 4.7.0-rc1
c859c61
- fixes #493157, #493777, #493696, #491388, #487597, #493162
c859c61
1a5c9c2
* Fri Apr 03 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.9
1a5c9c2
- fix recorded file state of otherwise skipped files (#492947)
1a5c9c2
- compress ChangeLog, drop old CHANGES file (#492440)
1a5c9c2
58f7f15
* Thu Apr  2 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 4.7.0-0.beta1.8
58f7f15
- Fix sparcv9v and sparc64v targets
58f7f15
daefcbd
* Tue Mar 24 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.7
daefcbd
- prefer more specific types over generic "text" in classification (#491349)
daefcbd
ba1a13e
* Mon Mar 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.6
ba1a13e
- with the fd leak gone, let libmagic look into compressed files again (#491596)
ba1a13e
2a17871
* Mon Mar 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.5
daefcbd
- fix font provide generation on filenames with whitespace (#491597)
2a17871
9ea2c1d
* Thu Mar 12 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.4
9ea2c1d
- handle RSA V4 signatures (#436812)
9ea2c1d
- add alpha arch ISA-bits
9ea2c1d
- enable internal testsuite on build
9ea2c1d
e15b005
* Mon Mar 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.3
e15b005
- fix _install_langs behavior (#489235)
e15b005
- fix recording of file states into rpmdb on install
e15b005
fc85648
* Sun Mar 08 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.2
fc85648
- load macros before creating directories on src.rpm install (#489104)
fc85648
b60210f
* Fri Mar 06 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.1
b60210f
- update to 4.7.0-beta1 (http://rpm.org/wiki/Releases/4.7.0)
b60210f
7c29032
* Fri Feb 27 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-11
7c29032
- build rpm itself with md5 file digests for now to ensure upgradability
7c29032
d05ecc6
* Thu Feb 26 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-10
d05ecc6
- handle NULL passed as EVR in rpmdsSingle() again (#485616)
d05ecc6
3bc5beb
* Wed Feb 25 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-9
3bc5beb
- pull out python byte-compile syntax check for now
3bc5beb
3c64bcf
* Mon Feb 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-8
3c64bcf
- make -apidocs sub-package noarch
3c64bcf
- fix source URL
3c64bcf
3f11e35
* Sat Feb 21 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-7
3f11e35
- loosen up restrictions on dependency names (#455119)
3f11e35
- handle inter-dependent pkg-config files for requires too (#473814)
3f11e35
- error/warn on elf binaries in noarch package in build
3f11e35
86a7924
* Fri Feb 20 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-6
86a7924
- error out on uncompilable python code (Tim Waugh)
86a7924
aa38a18
* Tue Feb 17 2009 Jindrich Novy <jnovy@redhat.com> - 4.6.0-5
aa38a18
- remove two offending hunks from anyarch patch causing that
aa38a18
  RPMTAG_BUILDARCHS isn't written to SRPMs
aa38a18
84fa912
* Mon Feb 16 2009 Jindrich Novy <jnovy@redhat.com> - 4.6.0-4
84fa912
- inherit group tag from the main package (#470714)
84fa912
- ignore BuildArch tags for anyarch actions (#442105)
84fa912
- don't check package BuildRequires when doing --rmsource (#452477)
84fa912
- don't fail because of missing sources when only spec removal
84fa912
  is requested (#472427)
84fa912
0d875cb
* Mon Feb 16 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-3
0d875cb
- updated fontconfig provide script - fc-query does all the hard work now
0d875cb
61eecfc
* Mon Feb 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-2
61eecfc
- build against db 4.7.x
61eecfc
cef0937
* Fri Feb 06 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-1
cef0937
- update to 4.6.0 final
cef0937
- revert libmagic looking into compressed files for now, breaks ooffice build
cef0937
0a87f6d
* Fri Feb 06 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.5
0a87f6d
- enable fontconfig provides generation
0a87f6d
4b92b80
* Thu Feb 05 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.4
4b92b80
- fixup rpm translation lookup to match Fedora specspo (#436941)
4b92b80
c66608c
* Wed Feb 04 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.3
c66608c
- extract mimehandler provides from .desktop files
c66608c
- preliminaries for extracting font provides (not enabled yet)
c66608c
- dont classify font metrics data as fonts
c66608c
- only run script dep extraction once per file, duh
c66608c
c66608c
* Sat Jan 31 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.2
1fe0077
- change platform sharedstatedir to something more sensible (#185862)
1fe0077
- add rpmdb_foo links to db utils for documentation compatibility
1fe0077
76dfec7
* Fri Jan 30 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.1
76dfec7
- update to 4.6.0-rc4
76dfec7
- fixes #475582, #478907, #476737, #479869, #476201
76dfec7
43b33fe
* Fri Dec 12 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.2
43b33fe
- add back defaultdocdir patch which hadn't been applied on 4.6.x branch yet
43b33fe
afa5773
* Fri Dec 12 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.1
afa5773
- add dist-tag, rebuild
afa5773
c542e5e
* Tue Dec 09 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.1
c542e5e
- update to rpm 4.6.0-rc3
c542e5e
- fixes #475214, #474550, #473239
c542e5e
cbb5072
* Wed Dec  3 2008 Jeremy Katz <katzj@redhat.com> - 4.6.0-0.rc2.9
cbb5072
- I built into the wrong place
cbb5072
34510a0
* Wed Dec  3 2008 Jeremy Katz <katzj@redhat.com> - 4.6.0-0.rc2.8
34510a0
- python 2.6 rebuild again
34510a0
8f38dac
* Wed Dec 03 2008 Panu Matilainen <pmatilai@redhat.com>
8f38dac
- make rpm-build require pkgconfig (#473978)
8f38dac
dd1fdd8
* Tue Dec 02 2008 Panu Matilainen <pmatilai@redhat.com>
dd1fdd8
- fix pkg-config provide generation when pc's depend on each other (#473814)
dd1fdd8
e603aec
* Mon Dec 01 2008 Jindrich Novy <jnovy@redhat.com>
e603aec
- include rpmfileutil.h from rpmmacro.h, unbreaks
e603aec
  net-snmp (#473420)
e603aec
f81e004
* Sun Nov 30 2008 Panu Matilainen <pmatilai@redhat.com>
f81e004
- rebuild for python 2.6
f81e004
ae7c31e
* Sat Nov 29 2008 Panu Matilainen <pmatilai@redhat.com>
ae7c31e
- update to 4.6.0-rc2
ae7c31e
- fixes #471820, #473167, #469355, #468319, #472507, #247374, #426672, #444661
7d4388a
- enable automatic generation of pkg-config and libtool dependencies #465377
ae7c31e
97c9ccb
* Fri Oct 31 2008 Panu Matilainen <pmatilai@redhat.com>
97c9ccb
- adjust find-debuginfo for "file" output change (#468129)
97c9ccb
18c8687
* Tue Oct 28 2008 Panu Matilainen <pmatilai@redhat.com>
18c8687
- Florian's improved fingerprinting hash algorithm from upstream
18c8687
b94c245
* Sat Oct 25 2008 Panu Matilainen <pmatilai@redhat.com>
b94c245
- Make noarch sub-packages actually work
b94c245
- Fix defaultdocdir logic in installplatform to avoid hardwiring mandir
b94c245
e0e4c4e
* Fri Oct 24 2008 Jindrich Novy <jnovy@redhat.com>
e0e4c4e
- update compat-db dependencies (#459710)
e0e4c4e
13dcfbe
* Wed Oct 22 2008 Panu Matilainen <pmatilai@redhat.com>
13dcfbe
- never add identical NEVRA to transaction more than once (#467822)
13dcfbe
57f2a13
* Sun Oct 19 2008 Panu Matilainen <pmatilai@redhat.com>
57f2a13
- permit tab as macro argument separator (#467567)
57f2a13
20231bf
* Thu Oct 16 2008 Panu Matilainen <pmatilai@redhat.com>
20231bf
- update to 4.6.0-rc1 
20231bf
- fixes #465586, #466597, #465409, #216221, #466503, #466009, #463447...
20231bf
- avoid using %%configure macro for now, it has unwanted side-effects on rpm
20231bf
353e517
* Wed Oct 01 2008 Panu Matilainen <pmatilai@redhat.com>
353e517
- update to official 4.5.90 alpha tarball 
353e517
- a big pile of misc bugfixes + translation updates
353e517
- isa-macro generation fix for ppc (#464754)
353e517
- avoid pulling in pile of perl dependencies for an unused script
353e517
- handle both "invalid argument" and clear env version mismatch on posttrans
353e517
ff9e0e6
* Thu Sep 25 2008 Jindrich Novy <jnovy@redhat.com>
ff9e0e6
- don't treat %patch numberless if -P parameter is present (#463942)
ff9e0e6
9ba3bc7
* Thu Sep 11 2008 Panu Matilainen <pmatilai@redhat.com>
9ba3bc7
- add hack to support extracting gstreamer plugin provides (#438225)
9ba3bc7
- fix another macro argument handling regression (#461180)
9ba3bc7
507434f
* Thu Sep 11 2008 Jindrich Novy <jnovy@redhat.com>
507434f
- create directory structure for rpmbuild prior to build if it doesn't exist (#455387)
507434f
- create _topdir if it doesn't exist when installing SRPM
507434f
- don't generate broken cpio in case of hardlink pointing on softlink,
507434f
  thanks to pixel@mandriva.com
507434f
2b2e2bf
* Sat Sep 06 2008 Jindrich Novy <jnovy@redhat.com>
2b2e2bf
- fail hard if patch isn't found (#461347)
2b2e2bf
d125466
* Mon Sep 01 2008 Jindrich Novy <jnovy@redhat.com>
d125466
- fix parsing of boolean expressions in spec (#456103)
d125466
  (unbreaks pam, jpilot and maybe other builds)
d125466
42d9f1a
* Tue Aug 26 2008 Jindrich Novy <jnovy@redhat.com>
42d9f1a
- add support for noarch subpackages
42d9f1a
- fix segfault in case of insufficient disk space detected (#460146)
42d9f1a
05d01ee
* Wed Aug 13 2008 Panu Matilainen <pmatilai@redhat.com>
05d01ee
- 4.5.90-0.git8461.2
05d01ee
- fix archivesize tag generation on ppc (#458817)
05d01ee
e6ae279
* Fri Aug 08 2008 Panu Matilainen <pmatilai@redhat.com>
e6ae279
- 4.5.90-0.git8461.1
e6ae279
- new snapshot from upstream
e6ae279
- fixes #68290, #455972, #446202, #453364, #456708, #456103, #456321, #456913,
e6ae279
  #458260, #458261
e6ae279
- partial fix for #457360
e6ae279
3bb32d6
* Thu Jul 31 2008 Florian Festi <ffesti@redhat.com>
e6ae279
- 4.5.90-0.git8427.1
3bb32d6
- new snapshot from upstream
3bb32d6
3bb32d6
* Thu Jul 31 2008 Florian Festi <ffesti@redhat.com>
3bb32d6
- 4.5.90-0.git8426.10
3bb32d6
- rpm-4.5.90-posttrans.patch
3bb32d6
- use header from rpmdb in posttrans to make anaconda happy
3bb32d6
e62394b
* Sat Jul 19 2008 Panu Matilainen <pmatilai@redhat.com>
e62394b
- 4.5.90-0.git8426.9
e62394b
- fix regression in patch number handling (#455872)
e62394b
469c1cf
* Tue Jul 15 2008 Panu Matilainen <pmatilai@redhat.com>
469c1cf
- 4.5.90-0.git8426.8
469c1cf
- fix regression in macro argument handling (#455333)
469c1cf
7c8e009
* Mon Jul 14 2008 Panu Matilainen <pmatilai@redhat.com>
7c8e009
- 4.5.90-0.git8426.7
7c8e009
- fix mono dependency extraction (adjust for libmagic string change)
7c8e009
ac1dcaa
* Sat Jul 12 2008 Panu Matilainen <pmatilai@redhat.com>
ac1dcaa
- 4.5.90-0.git8426.6
ac1dcaa
- fix type mismatch causing funky breakage on ppc64
ac1dcaa
cbac7f3
* Fri Jul 11 2008 Panu Matilainen <pmatilai@redhat.com>
cbac7f3
- 4.5.90-0.git8426.5
cbac7f3
- flip back to external bdb
cbac7f3
- fix tab vs spaces complaints from rpmlint
cbac7f3
- add dep for lzma and require unzip instead of zip in build (#310694)
cbac7f3
- add pkgconfig dependency to rpm-devel
cbac7f3
- drop ISA-dependencies for initial introduction
cbac7f3
- new snapshot from upstream for documentation fixes
cbac7f3
cbac7f3
* Thu Jul 10 2008 Panu Matilainen <pmatilai@redhat.com>
cbac7f3
- 4.5.90-0.git8424.4
cbac7f3
- handle int vs external db in posttrans too
cbac7f3
cbac7f3
* Wed Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
cbac7f3
- 4.5.90-0.git8424.3
cbac7f3
- require curl as external url helper
cbac7f3
cbac7f3
* Wed Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
cbac7f3
- 4.5.90-0.git8424.2
cbac7f3
- add support for building with or without internal db
cbac7f3
cbac7f3
* Wed Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
cbac7f3
- rpm 4.5.90-0.git8424.1 (alpha snapshot)
cbac7f3
- adjust to build against Berkeley DB 4.5.20 from compat-db for now
cbac7f3
- add posttrans to clean up db environment mismatch after upgrade
cbac7f3
- forward-port devel autodeps patch
cbac7f3
cbac7f3
* Tue Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
cbac7f3
- adjust for rpmdb index name change
cbac7f3
- drop unnecessary vendor-macro patch for real
cbac7f3
- add ISA-dependencies among rpm subpackages
cbac7f3
- make lzma and sqlite deps conditional and disabled by default for now
cbac7f3
cbac7f3
* Fri Feb 01 2008 Panu Matilainen <pmatilai@redhat.com>
cbac7f3
- spec largely rewritten, truncating changelog