Add support for --with noarch_subpackages.

This commit is contained in:
Ralf Corsepius
2009-08-28 10:25:32 +00:00
parent 2abefd710f
commit e51a1063a9
4 changed files with 4 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
Summary: Base package for rtems gcc and newlib C Library
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: GPL
Requires(post): /sbin/install-info

View File

@@ -6,6 +6,7 @@
%package -n @rpmprefix@gcc-gfortran-common
Summary: Base package for RTEMS gcc/gfortran compiler
Group: Development/Tools
%{?_with_noarch_subpackages:BuildArch: noarch}
License: GPL
Requires(post): /sbin/install-info

View File

@@ -8,6 +8,7 @@ Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
Release: @NEWLIB_RPMREL@
${_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
Requires(post): /sbin/install-info

View File

@@ -8,6 +8,7 @@ Group: Development/Tools
License: Distributable
Version: %{newlib_version}
Release: @NEWLIB_RPMREL@
%{?_with_noarch_subpackages:BuildArch: noarch}
%if %build_infos
Requires: @rpmprefix@newlib-common