Patch to fix spaces in files used in filtering macros

https://bugzilla.redhat.com/show_bug.cgi?id=783932
This commit is contained in:
Toshio Kuratomi 2012-11-09 03:40:39 -08:00 committed by Ville Skyttä
parent e8199cfec5
commit 1891cc0aeb
1 changed files with 1 additions and 1 deletions

2
macros
View File

@ -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}" \
}