diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-10-11 17:57:10 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-10-11 17:57:10 +0300 |
commit | 90dd51743200055f30d9e0e0337173118b4ae756 (patch) | |
tree | 70a3ed36852f228697e864b82d001c8858270d87 /installplatform | |
parent | d763c09e285c004ac85f17b537f23f7cac85ff3b (diff) | |
download | rpm-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-x | installplatform | 2 |
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 |