|
|
|
@ -22,9 +22,8 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_full 8 |
|
|
|
|
%define V_full 8.1.0 |
|
|
|
|
%define V_comp 8 |
|
|
|
|
%define V_snap 20180504 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: gcc8 |
|
|
|
@ -36,7 +35,7 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Compiler |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_full}s%{V_snap} |
|
|
|
|
Version: %{V_full} |
|
|
|
|
Release: 20180505 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
@ -53,7 +52,7 @@ Release: 20180505
|
|
|
|
|
%option with_gcc no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://gcc.gnu.org/pub/gcc/snapshots/%{V_full}-%{V_snap}/gcc-%{V_full}-%{V_snap}.tar.xz |
|
|
|
|
Source0: https://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-%{V_full}.tar.xz |
|
|
|
|
Patch0: gcc8.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
@ -96,13 +95,13 @@ Provides: gcc::with_gcc = %{with_gcc}
|
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog gcc8 = { |
|
|
|
|
version = %{V_full}-%{V_snap} |
|
|
|
|
url = https://gcc.gnu.org/pub/gcc/snapshots/ |
|
|
|
|
regex = (%{V_full}-\d{8}) |
|
|
|
|
version = %{V_full} |
|
|
|
|
url = https://gcc.gnu.org/pub/gcc/releases/ |
|
|
|
|
regex = gcc-(8\.\d+\.\d+) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n gcc-%{V_full}-%{V_snap} |
|
|
|
|
%setup -q -n gcc-%{V_full} |
|
|
|
|
%patch -p0 |
|
|
|
|
%{l_shtool} subst -v -s \ |
|
|
|
|
-e 's;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g' \ |
|
|
|
|