diff --git a/gcc.changes b/gcc.changes index 5f8a2cd..41af717 100644 --- a/gcc.changes +++ b/gcc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 10 12:33:25 UTC 2022 - Richard Biener + +- Move gcc-PIE contents to gccVER-PIE and only require that from + the gcc-PIE package. [bsc#1195628] + ------------------------------------------------------------------- Wed Sep 29 13:02:30 UTC 2021 - Richard Biener diff --git a/gcc.spec b/gcc.spec index a69f456..86baca6 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,7 +1,7 @@ # # spec file for package gcc # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -133,6 +133,7 @@ The system GNU Compiler documentation. # install / update the entries + %post -n gcc-info %install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz %install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz @@ -287,7 +288,7 @@ The system GNU Objective C++ Compiler. Summary: A default configuration to build all binaries in PIE mode License: GPL-3.0-or-later Group: Development/Languages/Other -Requires: gcc +Requires: gcc%{gcc_version}-PIE %description -n gcc-PIE This package contains a configuration file (spec) that changes the @@ -465,14 +466,6 @@ ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz mkdir -p $RPM_BUILD_ROOT%{_libdir}/bfd-plugins ln -s `gcc-%{gcc_suffix} -print-file-name=liblto_plugin.so` $RPM_BUILD_ROOT%{_libdir}/bfd-plugins/liblto_plugin.so -dir=`gcc-%{gcc_suffix} -print-prog-name=cc1` -dir=${dir%/cc1} -mkdir -p $RPM_BUILD_ROOT/$dir -cat > $RPM_BUILD_ROOT/$dir/defaults.spec <