From 5d985c424b757b5f4fc17aa3d745a29bf0e74164 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 16 Feb 2006 13:31:10 +0000 Subject: [PATCH] Add %{?dist} to Release. --- contrib/crossrpms/gcc/gccnewlib.add | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index 8b318b1490..67c9770cdf 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -17,7 +17,7 @@ Summary: @tool_target@ gcc Group: %{rpmgroup} Version: %gcc_rpmvers -Release: @GCC_RPMREL@ +Release: @GCC_RPMREL@%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -64,6 +64,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define _fortran 0 %endif +%if "@tool_target@" == "i686-pc-mingw32" +%define _cxx 0 +%endif # Allow the user to build arbitrary languages %{?_with_cxx:%define _cxx 1}