From c21eae0daafcb1b6cfc2a536d9e15e3780920e06 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Oct 01 2004 20:29:15 +0000 Subject: filter out library Provides: and internal Requires: on those. fixes depsolver confusion between mozilla/firefox/thunderbird copies of libraries. --- diff --git a/find-external-requires b/find-external-requires new file mode 100755 index 0000000..d79db1d --- /dev/null +++ b/find-external-requires @@ -0,0 +1,23 @@ +#!/bin/sh + +# Finds requirements provided outside of the current file set + +filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` + +provides=`echo $filelist | /usr/lib/rpm/find-provides` + +{ +for f in $filelist ; do + echo $f | /usr/lib/rpm/find-requires | while read req ; do + found=0 + for p in $provides ; do + if [ "$req" = "$p" ]; then + found=1 + fi + done + if [ "$found" = "0" ]; then + echo $req + fi + done +done +} | sort -u \ No newline at end of file diff --git a/thunderbird.spec b/thunderbird.spec index 70af54a..c2968f6 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -8,7 +8,7 @@ ExclusiveArch: i386 x86_64 ia64 ppc Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 0.8.0 -Release: 2 +Release: 3 Epoch: 0 URL: http://www.mozilla.org/projects/thunderbird/ License: MPL @@ -22,6 +22,7 @@ Source4: thunderbird-mozconfig Source5: release-notes.html Source6: thunderbird-open-browser.sh Source7: thunderbird-prefs +Source100: find-external-requires Patch1: thunderbird-0.7.3-em-register.patch Patch2: thunderbird-0.7.3-em-fileuri.patch Patch3: thunderbird-0.7.3-enigmail-debian.patch @@ -45,6 +46,10 @@ Provides: MozillaThunderbird = %{epoch}:%{version} %define tbdir %{_libdir}/thunderbird-%{version} +AutoProv: 0 +%define _use_internal_dependency_generator 0 +%define __find_requires %{SOURCE100} + %description Mozilla Thunderbird is a standalone mail and newsgroup client. @@ -133,6 +138,9 @@ rm -rf %{buildroot}/%{tbdir}/chrome/{classic,comm,embed-sample,en-{mac,win},help #=============================================================================== %changelog +* Fri Oct 1 2004 Bill Nottingham 0.8.0-3 +- filter out library Provides: and internal Requires: + * Tue Sep 28 2004 Christopher Aillon 0.8.0-2 - Backport the GTK+ File Chooser. - Add fix for JS math on x86_64 systems