From 3d5ba3b914297cfdc9e34ee84afa7973c02f23aa Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 5 May 2018 19:13:29 +0200 Subject: [PATCH] switch to release version --- gcc8/gcc8.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gcc8/gcc8.spec b/gcc8/gcc8.spec index 89ba83282a..0a5e15575a 100644 --- a/gcc8/gcc8.spec +++ b/gcc8/gcc8.spec @@ -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' \