summaryrefslogtreecommitdiff
path: root/installplatform
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-10-11 17:57:10 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-10-11 17:57:10 +0300
commit90dd51743200055f30d9e0e0337173118b4ae756 (patch)
tree70a3ed36852f228697e864b82d001c8858270d87 /installplatform
parentd763c09e285c004ac85f17b537f23f7cac85ff3b (diff)
downloadrpm-90dd51743200055f30d9e0e0337173118b4ae756.tar.gz
rpm-90dd51743200055f30d9e0e0337173118b4ae756.tar.bz2
rpm-90dd51743200055f30d9e0e0337173118b4ae756.zip
Fix noarch __isa_* macro filter in installplatform (RhBug:865436)
- The filter wasn't doing what it was supposed to due to extra single quotes getting inserted, causing "rpmbuild --target noarch foo.spec" to whine about empty macro bodies. This is a regression introduced in rpm 4.10, commit 07ec480c180e4005a629242b8f9f8ab640e3e950 to be precise.
Diffstat (limited to 'installplatform')
-rwxr-xr-xinstallplatform2
1 files changed, 1 insertions, 1 deletions
diff --git a/installplatform b/installplatform
index f7ae24128..a68b3c06a 100755
--- a/installplatform
+++ b/installplatform
@@ -104,7 +104,7 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
noarch)
CANONARCH=noarch
CANONCOLOR=0
- FILTER="grep -v -E '^(%optflag|%__isa)'"
+ FILTER="grep -v -E ^(%optflag|%__isa)"
;;
esac