summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-04-02 06:10:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-04-02 06:10:53 +0000
commit60d34868c7a116bef8dbb05e6c2bffd8c0160aff (patch)
tree9621d569c723f22348ca3f6367291bf1cfbc5f0b /contrib
parent2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-60d34868c7a116bef8dbb05e6c2bffd8c0160aff.tar.bz2
Add %build_go.
Cosmetics.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/crossrpms/specstrip24
1 files changed, 13 insertions, 11 deletions
diff --git a/contrib/crossrpms/specstrip b/contrib/crossrpms/specstrip
index f7fbb9cbf5..fb741e6b78 100755
--- a/contrib/crossrpms/specstrip
+++ b/contrib/crossrpms/specstrip
@@ -81,12 +81,13 @@ my @npatterns = (
"(\"%\{_prefix\}\" (!=|==) \"/usr\")",
"(%build_cxx)",
- "(%build_gnat)",
- "(%build_objc)",
+ "(%build_fortran)",
"(%build_gcj)",
+ "(%build_gnat)",
+ "(%build_go)",
"(%build_libgcj)",
- "(%build_fortran)",
"(%build_newlib)",
+ "(%build_objc)",
"(%build_infos)"
);
@@ -95,15 +96,16 @@ my @ppatterns = (
push @ppatterns, "(\"%\{_prefix\}\" " . (("$prefix" eq '/usr') ? '!=' : '==' ) . " \"/usr\")";
-push @ppatterns, "(%build_gnat " . ( ($langs{gnat}) ? "==" : "!=" ) . " 0)";
-push @ppatterns, "(%build_cxx " . ( ($langs{cxx}) ? "==" : "!=" ) . " 0)";
-push @ppatterns, "(%build_objc " . ( ($langs{objc}) ? "==" : "!=" ) . " 0)";
-push @ppatterns, "(%build_gcj " . ( ($langs{gcj}) ? "==" : "!=" ) . " 0)";
-push @ppatterns, "(%build_libgcj " . ( ($langs{libgcj}) ? "==" : "!=" ) . " 0)";
-push @ppatterns, "(%build_fortran " . ( ($langs{fortran}) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_cxx " . ( ($langs{cxx}) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_fortran " . ( ($langs{fortran}) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_objc " . ( ($langs{objc}) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_gcj " . ( ($langs{gcj}) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_gnat " . ( ($langs{gnat}) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_go " . ( ($langs{go}) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_libgcj " . ( ($langs{libgcj}) ? "==" : "!=" ) . " 0)";
-push @ppatterns, "(%build_newlib " . ( ($newlib) ? "==" : "!=" ) . " 0)";
-push @ppatterns, "(%build_infos " . ( ($infos) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_newlib " . ( ($newlib) ? "==" : "!=" ) . " 0)";
+push @ppatterns, "(%build_infos " . ( ($infos) ? "==" : "!=" ) . " 0)";
my $npat = join('|',@npatterns);
my $ppat = join('|',@ppatterns);