--- /dev/null
+--- rpm-5.4.10/lib/verify.c.orig 2012-09-22 18:33:59.791810053 +0200
++++ rpm-5.4.10/lib/verify.c 2012-09-22 18:33:34.921810920 +0200
+@@ -594,7 +594,7 @@
+
+ /* If not verifying %ghost, skip ghost files. */
+ /* XXX the broken!!! logic disables %ghost queries always. */
+- if (!(FF_ISSET(qva->qva_fflags, GHOST) && FF_ISSET(fflags, GHOST)))
++ if (FF_ISSET(qva->qva_fflags, GHOST) && FF_ISSET(fflags, GHOST))
+ continue;
+
+ /* Gather per-file data into a carrier. */
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 5.4.10
-Release: 4
+Release: 5
License: LGPL
Group: Base
# http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.10-0.20120706.src.rpm
Patch45: %{name}-remove-misleading-missing-patch-message.patch
Patch46: %{name}-file-magic-can-be-mixed-case.patch
Patch47: %{name}-query-file-always-noisy.patch
+Patch48: %{name}-verify-ghosts-broken-logic.patch
# Patches imported from Mandriva
%patch45 -p1
%patch46 -p1
%patch47 -p1
+%patch48 -p1
%patch1000 -p1
%patch1001 -p1