瀏覽代碼

Add workaround for rpmbuild 4.4.2 with tar 1.15.91 to make rpm target.

git-svn-id: file:///var/svn/tigccpp/trunk@884 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 年之前
父節點
當前提交
2ff50a0d35
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 1 0
      ktigcc/NEWS
  2. 3 1
      ktigcc/ktigcc.pro

+ 1 - 0
ktigcc/NEWS

@@ -4,6 +4,7 @@ KTIGCC 1.03 (2006-09-17):
 
 * Don't show symbol info for reserved keywords even in the case of an exact
   match (fixes unhelpful prototype help for "asm").
+* Added workaround for rpmbuild 4.4.2 with tar 1.15.91 to make rpm target.
 
 
 KTIGCC 1.02 (2006-09-05):

+ 3 - 1
ktigcc/ktigcc.pro

@@ -174,6 +174,8 @@ distbz2.target = dist-bzip2
 distbz2.commands = zcat ktigcc.tar.gz | bzip2 --best -c > ktigcc.tar.bz2
 distbz2.depends = dist
 rpm.target = rpm
-rpm.commands = rpmbuild -ta ktigcc.tar.bz2
+# The TAR_OPTIONS=--wildcards is a workaround for rpmbuild 4.4.2 being
+# incompatible with tar 1.15.91 (Fedora bug #206841).
+rpm.commands = TAR_OPTIONS=--wildcards rpmbuild -ta ktigcc.tar.bz2
 rpm.depends = distbz2
 QMAKE_EXTRA_UNIX_TARGETS += distbz2 rpm