!39 Delete GCC pkgversion

From: @eastb233
Reviewed-by: @jdkboy
Signed-off-by: @jdkboy
This commit is contained in:
openeuler-ci-bot 2020-09-22 21:30:03 +08:00 committed by Gitee
commit e8bb799608

View File

@ -1,8 +1,7 @@
%global DATE 20200921
%global DATE 20200922
%global gcc_version 9.3.1
%global gcc_major 9.3.1
%global gcc_pkgversion "build 300b011"
%global _unpackaged_files_terminate_build 0
%global _performance_build 1
@ -60,7 +59,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
Release: %{DATE}.10
Release: %{DATE}.11
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Source0: gcc-9.3.0.tar.xz
%global isl_version 0.16.1
@ -768,7 +767,6 @@ CC="$CC" CFLAGS="$OPT_FLAGS" \
--enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-plugin \
--enable-initfini-array --disable-libgcj --without-isl --without-cloog \
--enable-gnu-indirect-function --build=%{gcc_target_platform} \
--with-pkgversion=%{gcc_pkgversion} \
--with-stage1-ldflags="$OPT_LDFLAGS" \
--with-boot-ldflags="$OPT_LDFLAGS" \
%ifarch x86_64
@ -2629,6 +2627,9 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog
* Tue Sep 22 2020 eastb233 <xiezhiheng@huawei.com> - 9.3.1-20200922.11
- gcc.spec: Delete pkgversion
* Mon Sep 21 2020 eastb233 <xiezhiheng@huawei.com> - 9.3.1-20200921.10
- complete-struct-reorg.patch: Fix secure coding
- ipa-struct-reorg-bugfix.patch: Likewise