Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc for openSUSE:Factory checked in 
at 2022-02-17 00:30:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc (Old)
 and      /work/SRC/openSUSE:Factory/.gcc.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc"

Thu Feb 17 00:30:20 2022 rev:71 rq:953382 version:11

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc/gcc.changes  2021-10-04 18:40:18.722091350 
+0200
+++ /work/SRC/openSUSE:Factory/.gcc.new.1956/gcc.changes        2022-02-17 
00:31:13.593426102 +0100
@@ -1,0 +2,6 @@
+Thu Feb 10 12:33:25 UTC 2022 - Richard Biener <[email protected]>
+
+- Move gcc-PIE contents to gccVER-PIE and only require that from
+  the gcc-PIE package.  [bsc#1195628]
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gcc.spec ++++++
--- /var/tmp/diff_new_pack.6g73xG/_old  2022-02-17 00:31:14.273425985 +0100
+++ /var/tmp/diff_new_pack.6g73xG/_new  2022-02-17 00:31:14.277425984 +0100
@@ -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 @@
 
 
 # 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 @@
 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 @@
 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 <<EOF
-*default_spec:
-%%{pie|fpic|fPIC|fpie|fPIE|no-pie|fno-pic|fno-PIC|fno-pie|fno-PIE|shared|static|nostdlib|nodefaultlibs|nostartfiles:;:-fPIE}%%{fno-pic|fno-PIC|fno-pie|fno-PIE|pie|no-pie|shared|static|nostdlib|nodefaultlibs|nostartfiles:;:
 -pie}
-EOF
-
 %post -n gcc-go
 # we don't want a BuildRequires on gccN-go but otherwise the install
 # step of the build fails, so simply skip the script when gccN-go isn't there
@@ -544,7 +537,7 @@
 
 %files -n gcc-PIE
 %defattr(-,root,root)
-/usr/lib*/gcc/*-suse-linux*/*/defaults.spec
+# empty - only for the dependency
 
 %files -n gcc-locale
 %defattr(-,root,root)

Reply via email to