diff options
author | Chan Lee <chan45.lee@samsung.com> | 2016-02-02 14:44:14 +0900 |
---|---|---|
committer | Chan Lee <chan45.lee@samsung.com> | 2016-02-16 23:00:03 -0800 |
commit | f70af95242b405dd0c0a4be271861aaae49d21da (patch) | |
tree | e8060adf3320b7e526c66dd8d7efed5005d49f9d /packaging | |
parent | e6ea1268cfb6490ce152b6af62ea828c094b5d92 (diff) | |
download | linaro-gcc-f70af95242b405dd0c0a4be271861aaae49d21da.tar.gz linaro-gcc-f70af95242b405dd0c0a4be271861aaae49d21da.tar.bz2 linaro-gcc-f70af95242b405dd0c0a4be271861aaae49d21da.zip |
packaging: change pkgversion for Tizen/Linarosubmit/tizen_base/20160217.071142
change pkgversion like "Tizen/Linaro GCC [version] [release]" like
Tizen 2.4.
and remove prerelease string.
You can see this by typing 'gcc --version' or 'gcc -v'.
Change-Id: I27f9320f4e625d9219f0669d7ec85a38f83c8373
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/gcc-aarch64.spec | 6 | ||||
-rw-r--r-- | packaging/gcc-armv7l.spec | 6 | ||||
-rw-r--r-- | packaging/linaro-gcc.spec | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec index c096b94f008..f26a20ba083 100644 --- a/packaging/gcc-aarch64.spec +++ b/packaging/gcc-aarch64.spec @@ -598,6 +598,10 @@ ln -sf isl-0.12.2 isl tar xf %{SOURCE14} ln -sf cloog-0.18.1 cloog +echo "" > gcc/DEV-PHASE + +%global gcc_release `sed -e 's/^.*-//g' %{_builddir}/gcc-%{version}/gcc/LINARO-VERSION` + %build rm -rf obj mkdir obj @@ -683,7 +687,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ --disable-libitm \ } \ --with-bugurl="http://bugs.tizen.org/" \ - --with-pkgversion="Tizen" \ + --with-pkgversion="Tizen/Linaro GCC %{version} %{gcc_release}" \ --target=%{target_arch} \ --host=%{host_arch} \ --build=%{host_arch} diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec index dc48dd98db0..43a4ea3cebc 100644 --- a/packaging/gcc-armv7l.spec +++ b/packaging/gcc-armv7l.spec @@ -598,6 +598,10 @@ ln -sf isl-0.12.2 isl tar xf %{SOURCE14} ln -sf cloog-0.18.1 cloog +echo "" > gcc/DEV-PHASE + +%global gcc_release `sed -e 's/^.*-//g' %{_builddir}/gcc-%{version}/gcc/LINARO-VERSION` + %build rm -rf obj mkdir obj @@ -683,7 +687,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ --disable-libitm \ } \ --with-bugurl="http://bugs.tizen.org/" \ - --with-pkgversion="Tizen" \ + --with-pkgversion="Tizen/Linaro GCC %{version} %{gcc_release}" \ --target=%{target_arch} \ --host=%{host_arch} \ --build=%{host_arch} diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec index d3a4ff26868..3fc34deaf4f 100644 --- a/packaging/linaro-gcc.spec +++ b/packaging/linaro-gcc.spec @@ -595,6 +595,10 @@ ln -sf isl-0.12.2 isl tar xf %{SOURCE14} ln -sf cloog-0.18.1 cloog +echo "" > gcc/DEV-PHASE + +%global gcc_release `sed -e 's/^.*-//g' %{_builddir}/gcc-%{version}/gcc/LINARO-VERSION` + %build rm -rf obj mkdir obj @@ -680,7 +684,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ --disable-libitm \ } \ --with-bugurl="http://bugs.tizen.org/" \ - --with-pkgversion="Tizen" \ + --with-pkgversion="Tizen/Linaro GCC %{version} %{gcc_release}" \ --target=%{target_arch} \ --host=%{host_arch} \ --build=%{host_arch} |