Patch to fix spaces in files used in filtering macros
https://bugzilla.redhat.com/show_bug.cgi?id=783932
This commit is contained in:
parent
5c4ec180bc
commit
62a6fd7d9f
13
redhat-rpm-config-9.1.0-filtering-spaces-in-filename.patch
Normal file
13
redhat-rpm-config-9.1.0-filtering-spaces-in-filename.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: redhat-rpm-config-9.1.0/macros
|
||||
===================================================================
|
||||
--- redhat-rpm-config-9.1.0.orig/macros
|
||||
+++ redhat-rpm-config-9.1.0/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}" \
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
Summary: Red Hat specific rpm configuration files
|
||||
Name: redhat-rpm-config
|
||||
Version: 9.1.0
|
||||
Release: 35%{?dist}
|
||||
Release: 36%{?dist}
|
||||
# No version specified.
|
||||
License: GPL+
|
||||
Group: Development/System
|
||||
@ -41,6 +41,8 @@ Patch13: redhat-rpm-config-9.1.0-kernel-source.patch
|
||||
Patch14: redhat-rpm-config-9.1.0-java-repack-order.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=741089
|
||||
Patch15: 0001-Drop-un-setting-LANG-and-DISPLAY-in-various-build-st.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=783932
|
||||
Patch16: redhat-rpm-config-9.1.0-filtering-spaces-in-filename.patch
|
||||
BuildArch: noarch
|
||||
Requires: coreutils
|
||||
Requires: perl-srpm-macros
|
||||
@ -70,6 +72,7 @@ Red Hat specific rpm configuration files.
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -91,6 +94,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_sysconfdir}/rpm/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 9 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 9.1.0-36
|
||||
- Patch to fix spaces in files used in filtering macros
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=783932
|
||||
|
||||
* Wed Oct 3 2012 Ville Skyttä <ville.skytta@iki.fi> - 9.1.0-35
|
||||
- Drop (un)setting LANG and DISPLAY in build stages, require rpm >= 4.8.0.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user