From 1891cc0aebda414429e4f6080fb96a1ac04e056a Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 9 Nov 2012 03:40:39 -0800 Subject: [PATCH] Patch to fix spaces in files used in filtering macros https://bugzilla.redhat.com/show_bug.cgi?id=783932 --- macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros b/macros index 4cb4f2b..86d75e4 100644 --- a/macros +++ b/macros @@ -262,7 +262,7 @@ kernel_module_package_release 1 # actually set up the filtering bits %filter_setup %{expand: \ %global _use_internal_dependency_generator 0 \ -%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u \ +%global __deploop() while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -%{1}; done | /bin/sort -u \ %global __find_provides /bin/sh -c "%{?__filter_prov_cmd} %{__deploop P} %{?__filter_from_prov}" \ %global __find_requires /bin/sh -c "%{?__filter_req_cmd} %{__deploop R} %{?__filter_from_req}" \ }