Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc13 for openSUSE:Factory checked 
in at 2022-12-22 16:21:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc13 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc13.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc13"

Thu Dec 22 16:21:52 2022 rev:2 rq:1043900 version:13.0.0+git197351

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc13/gcc13.changes      2022-12-15 
19:24:48.963923465 +0100
+++ /work/SRC/openSUSE:Factory/.gcc13.new.1835/gcc13.changes    2022-12-22 
16:21:53.593621886 +0100
@@ -1,0 +2,10 @@
+Mon Dec 19 14:59:32 UTC 2022 - Dirk Müller <[email protected]>
+
+- update floatn fixinclude pickup to check each header separately (bsc#1206480)
+
+-------------------------------------------------------------------
+Wed Dec 14 07:52:36 UTC 2022 - Richard Biener <[email protected]>
+
+- Redo floatn fixinclude pick-up to simply keep what is there. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
cross-aarch64-gcc13.spec: same change
cross-amdgcn-gcc13.spec: same change
cross-arm-gcc13.spec: same change
cross-arm-none-gcc13-bootstrap.spec: same change
cross-arm-none-gcc13.spec: same change
cross-avr-gcc13-bootstrap.spec: same change
cross-avr-gcc13.spec: same change
cross-epiphany-gcc13-bootstrap.spec: same change
cross-epiphany-gcc13.spec: same change
cross-hppa-gcc13-bootstrap.spec: same change
cross-hppa-gcc13.spec: same change
cross-m68k-gcc13.spec: same change
cross-mips-gcc13.spec: same change
cross-nvptx-gcc13.spec: same change
cross-ppc64-gcc13.spec: same change
cross-ppc64le-gcc13.spec: same change
cross-riscv64-elf-gcc13-bootstrap.spec: same change
cross-riscv64-elf-gcc13.spec: same change
cross-riscv64-gcc13-bootstrap.spec: same change
cross-riscv64-gcc13.spec: same change
cross-rx-gcc13-bootstrap.spec: same change
cross-rx-gcc13.spec: same change
cross-s390x-gcc13.spec: same change
cross-sparc-gcc13.spec: same change
cross-sparc64-gcc13.spec: same change
cross-x86_64-gcc13.spec: same change
++++++ gcc13-testresults.spec ++++++
--- /var/tmp/diff_new_pack.YR2U6l/_old  2022-12-22 16:21:55.785634494 +0100
+++ /var/tmp/diff_new_pack.YR2U6l/_new  2022-12-22 16:21:55.789634517 +0100
@@ -134,15 +134,6 @@
 %define build_jit 0
 %endif
 
-%if 0%{suse_version} >= 1599 || 0%{?sle_version:%sle_version} >= 150300
-# FIXME: more once glibc 2.37 is released
-%define glibc_version %(rpm -q glibc --qf '%%{VERSION}')
-%define floatn_fixed_glibc %(case " %{glibc_version} " in (*9000*) echo 1;; 
(*) echo 0;; esac)
-%else
-# The headers are not present in earlier glibc
-%define floatn_fixed_glibc 1
-%endif
-
 # Shared library SONAME versions
 %ifarch hppa
 %define libgcc_s 4

++++++ gcc13.spec ++++++
--- /var/tmp/diff_new_pack.YR2U6l/_old  2022-12-22 16:21:55.841634816 +0100
+++ /var/tmp/diff_new_pack.YR2U6l/_new  2022-12-22 16:21:55.849634862 +0100
@@ -113,15 +113,6 @@
 %define build_jit 0
 %endif
 
-%if 0%{suse_version} >= 1599 || 0%{?sle_version:%sle_version} >= 150300
-# FIXME: more once glibc 2.37 is released
-%define glibc_version %(rpm -q glibc --qf '%%{VERSION}')
-%define floatn_fixed_glibc %(case " %{glibc_version} " in (*9000*) echo 1;; 
(*) echo 0;; esac)
-%else
-# The headers are not present in earlier glibc
-%define floatn_fixed_glibc 1
-%endif
-
 # Shared library SONAME versions
 %ifarch hppa
 %define libgcc_s 4
@@ -2707,6 +2698,23 @@
 rm -f %{buildroot}/%{libsubdir}/include-fixed/bits/statx.h
 rm -f %{buildroot}/%{libsubdir}/include-fixed/pthread.h
 rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/rseq.h
+echo > ../floatn-fixes.list
+# Whether floatn.h is fixed depends on the glibc version and architecture.
+# For now keep it if it's there but in the end we want to fix glibc itself
+# everywhere.
+if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn.h; then
+  cat >> ../floatn-fixes.list <<EOF
+%dir %{libsubdir}/include-fixed/bits
+%{libsubdir}/include-fixed/bits/floatn.h
+EOF
+fi
+if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn-common.h; then
+  cat >> ../floatn-fixes.list <<EOF
+%dir %{libsubdir}/include-fixed/bits
+%{libsubdir}/include-fixed/bits/floatn-common.h
+EOF
+fi
+
 %if !%{enable_plugins}
 # no plugins
 rm -rf %{buildroot}/%{libsubdir}/plugin
@@ -2800,16 +2808,13 @@
 %install_info_delete --info-dir=%{_infodir} 
%{_infodir}/gnat_ugn%{binsuffix}.info.gz
 %endif
 
-%files
+%files -f floatn-fixes.list
 %defattr(-,root,root)
 %dir %{_libdir}/gcc
 %dir %{_libdir}/gcc/%{GCCDIST}
 %dir %{libsubdir}
 %dir %{libsubdir}/include
 %dir %{libsubdir}/include-fixed
-%if !%{floatn_fixed_glibc}
-%dir %{libsubdir}/include-fixed/bits
-%endif
 %if %{biarch}
 %if %{build_primary_64bit}
 %dir %{libsubdir}/32
@@ -2832,11 +2837,6 @@
 %{libsubdir}/liblto_plugin.so*
 %{libsubdir}/include/limits.h
 %{libsubdir}/include/syslimits.h
-%if !%{floatn_fixed_glibc}
-%{libsubdir}/include-fixed/README
-%{libsubdir}/include-fixed/bits/floatn-common.h
-%{libsubdir}/include-fixed/bits/floatn.h
-%endif
 %{libsubdir}/include-fixed/README
 %{libsubdir}/include/omp.h
 %{libsubdir}/include/float.h

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.YR2U6l/_old  2022-12-22 16:21:56.193636841 +0100
+++ /var/tmp/diff_new_pack.YR2U6l/_new  2022-12-22 16:21:56.201636887 +0100
@@ -114,15 +114,6 @@
 %define build_jit 0
 %endif
 
-%if 0%{suse_version} >= 1599 || 0%{?sle_version:%sle_version} >= 150300
-# FIXME: more once glibc 2.37 is released
-%define glibc_version %(rpm -q glibc --qf '%%{VERSION}')
-%define floatn_fixed_glibc %(case " %{glibc_version} " in (*9000*) echo 1;; 
(*) echo 0;; esac)
-%else
-# The headers are not present in earlier glibc
-%define floatn_fixed_glibc 1
-%endif
-
 # Shared library SONAME versions
 %ifarch hppa
 %define libgcc_s 4
@@ -1900,6 +1891,23 @@
 rm -f %{buildroot}/%{libsubdir}/include-fixed/bits/statx.h
 rm -f %{buildroot}/%{libsubdir}/include-fixed/pthread.h
 rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/rseq.h
+echo > ../floatn-fixes.list
+# Whether floatn.h is fixed depends on the glibc version and architecture.
+# For now keep it if it's there but in the end we want to fix glibc itself
+# everywhere.
+if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn.h; then
+  cat >> ../floatn-fixes.list <<EOF
+%dir %{libsubdir}/include-fixed/bits
+%{libsubdir}/include-fixed/bits/floatn.h
+EOF
+fi
+if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn-common.h; then
+  cat >> ../floatn-fixes.list <<EOF
+%dir %{libsubdir}/include-fixed/bits
+%{libsubdir}/include-fixed/bits/floatn-common.h
+EOF
+fi
+
 %if !%{enable_plugins}
 # no plugins
 rm -rf %{buildroot}/%{libsubdir}/plugin
@@ -1995,16 +2003,13 @@
 %install_info_delete --info-dir=%{_infodir} 
%{_infodir}/gnat_ugn%{binsuffix}.info.gz
 %endif
 
-%files
+%files -f floatn-fixes.list
 %defattr(-,root,root)
 %dir %{_libdir}/gcc
 %dir %{_libdir}/gcc/%{GCCDIST}
 %dir %{libsubdir}
 %dir %{libsubdir}/include
 %dir %{libsubdir}/include-fixed
-%if !%{floatn_fixed_glibc}
-%dir %{libsubdir}/include-fixed/bits
-%endif
 %if %{biarch}
 %if %{build_primary_64bit}
 %dir %{libsubdir}/32
@@ -2027,11 +2032,6 @@
 %{libsubdir}/liblto_plugin.so*
 %{libsubdir}/include/limits.h
 %{libsubdir}/include/syslimits.h
-%if !%{floatn_fixed_glibc}
-%{libsubdir}/include-fixed/README
-%{libsubdir}/include-fixed/bits/floatn-common.h
-%{libsubdir}/include-fixed/bits/floatn.h
-%endif
 %{libsubdir}/include-fixed/README
 %{libsubdir}/include/omp.h
 %{libsubdir}/include/float.h

Reply via email to