mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 17:20:16 +08:00
Eliminate %{newlib_release}.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
Release: @NEWLIB_RPMREL@
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
%if %build_newlib
|
||||
%define newlib_pkgvers @NEWLIB_PKGVERS@
|
||||
%define newlib_version @NEWLIB_VERS@
|
||||
%define newlib_release @NEWLIB_RPMREL@
|
||||
%endif
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
@@ -73,7 +72,7 @@ Requires: @rpmprefix@@tool_target@-binutils
|
||||
Requires: @rpmprefix@@tool_target@-sys-root
|
||||
Requires: @rpmprefix@@tool_target@-w32api-sys-root
|
||||
%if %build_newlib
|
||||
Requires: @rpmprefix@@tool_target@-newlib = %{newlib_version}-%{newlib_release}
|
||||
Requires: @rpmprefix@@tool_target@-newlib = %{newlib_version}-@NEWLIB_RPMREL@
|
||||
%endif
|
||||
|
||||
%if %build_gcj
|
||||
@@ -83,7 +82,7 @@ BuildRequires: zlib-devel
|
||||
# Building gnat requires gnat
|
||||
# This really isn't available until RedHat 8.0. How to conditionalize this?
|
||||
BuildRequires: gcc-gnat
|
||||
BuildRequires: @rpmprefix@@tool_target@-newlib < %{newlib_version}-%{newlib_release}
|
||||
BuildRequires: @rpmprefix@@tool_target@-newlib < %{newlib_version}-@NEWLIB_RPMREL@
|
||||
%endif
|
||||
%if %build_f95
|
||||
BuildRequires: gmp-devel
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: @rpmprefix@@tool_target@-binutils
|
||||
# Requires: @rpmprefix@@tool_target@-newlib = %{newlib_version}-%{newlib_release}
|
||||
# Requires: @rpmprefix@@tool_target@-newlib = @NEWLIB_RPMREL@
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
|
||||
@@ -7,7 +7,7 @@ Summary: C Library (newlib) for @tool_target@
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
Release: @NEWLIB_RPMREL@
|
||||
|
||||
%if %build_infos
|
||||
Requires: @rpmprefix@newlib-common
|
||||
|
||||
Reference in New Issue
Block a user