!141 [SPEC] Remove DATE in release info
From: @benniaobufeijiushiji Reviewed-by: @eastb233 Signed-off-by: @eastb233
This commit is contained in:
commit
a0e2855fa8
18
gcc.spec
18
gcc.spec
@ -1,5 +1,3 @@
|
||||
%global DATE 20220223
|
||||
|
||||
%global gcc_version 10.3.1
|
||||
%global gcc_major 10.3.1
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
@ -63,7 +61,7 @@
|
||||
Summary: Various compilers (C, C++, Objective-C, ...)
|
||||
Name: gcc
|
||||
Version: %{gcc_version}
|
||||
Release: %{DATE}.7
|
||||
Release: 8
|
||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||
URL: https://gcc.gnu.org
|
||||
|
||||
@ -914,9 +912,9 @@ mv %{buildroot}%{_prefix}/%{_lib}/libsanitizer.spec $FULLPATH/
|
||||
%endif
|
||||
|
||||
mkdir -p %{buildroot}/%{_lib}
|
||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcc_s.so.1 %{buildroot}/%{_lib}/libgcc_s-%{gcc_major}-%{DATE}.so.1
|
||||
chmod 755 %{buildroot}/%{_lib}/libgcc_s-%{gcc_major}-%{DATE}.so.1
|
||||
ln -sf libgcc_s-%{gcc_major}-%{DATE}.so.1 %{buildroot}/%{_lib}/libgcc_s.so.1
|
||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcc_s.so.1 %{buildroot}/%{_lib}/libgcc_s-%{gcc_major}.so.1
|
||||
chmod 755 %{buildroot}/%{_lib}/libgcc_s-%{gcc_major}.so.1
|
||||
ln -sf libgcc_s-%{gcc_major}.so.1 %{buildroot}/%{_lib}/libgcc_s.so.1
|
||||
%ifarch %{ix86} x86_64 ppc ppc64 ppc64p7 ppc64le %{arm} aarch64 riscv64
|
||||
rm -f $FULLPATH/libgcc_s.so
|
||||
echo '/* GNU ld script
|
||||
@ -1936,7 +1934,7 @@ end
|
||||
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cc1
|
||||
|
||||
%files -n libgcc
|
||||
/%{_lib}/libgcc_s-%{gcc_major}-%{DATE}.so.1
|
||||
/%{_lib}/libgcc_s-%{gcc_major}.so.1
|
||||
/%{_lib}/libgcc_s.so.1
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license gcc/COPYING* COPYING.RUNTIME
|
||||
@ -2577,6 +2575,12 @@ end
|
||||
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 1 2022 benniaobufeijiushiji <linda7@huawei.com> - 10.3.1-8
|
||||
- Type:SPEC
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Remove date in release
|
||||
|
||||
* Wed Feb 23 2022 benniaobufeijiushiji <linda7@huawei.com> - 10.3.1-20220223.7
|
||||
- Type:Sync
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user