From 0a9294bf7f52d919f5693696e620f05f26f58706 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 2 Jul 2010 10:22:11 +0000 Subject: [PATCH] - ugh, braindamaged reversed condition in the font provide extractor "fix" --- rpm-4.8.1-eat-stdin.patch | 2 +- rpm.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rpm-4.8.1-eat-stdin.patch b/rpm-4.8.1-eat-stdin.patch index 83af219..1edfc9a 100644 --- a/rpm-4.8.1-eat-stdin.patch +++ b/rpm-4.8.1-eat-stdin.patch @@ -19,7 +19,7 @@ index 8638680..594851d 100755 fcquery=/usr/bin/fc-query -[ -x $fcquery ] || exit 0 -+if [ -x $fcquery ]; then ++if [ ! -x $fcquery ]; then + cat > /dev/null + exit 0 +fi diff --git a/rpm.spec b/rpm.spec index b666603..3a1e853 100644 --- a/rpm.spec +++ b/rpm.spec @@ -21,7 +21,7 @@ Summary: The RPM package management system Name: rpm Version: %{rpmver} -Release: 2%{?dist} +Release: 3%{?dist} Group: System Environment/Base Url: http://www.rpm.org/ Source0: http://rpm.org/releases/rpm-4.8.x/%{name}-%{srcver}.tar.bz2 @@ -414,6 +414,9 @@ exit 0 %doc doc/librpm/html/* %changelog +* Fri Jul 02 2010 Panu Matilainen - 4.8.1-3 +- ugh, reversed condition braindamage in the font provide extractor "fix" + * Wed Jun 30 2010 Panu Matilainen - 4.8.1-2 - fix a potential getOutputFrom() error from font provide extraction - debug-friendlier message to aid finding other similar cases (#565223)