From 54890eb757edfe58d1832829b700fac95df2b380b8d088f91abfae7f028fa82e Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 7 Mar 2022 12:24:25 +0000 Subject: [PATCH] - Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from packages provided by older GCC work. Add a requires from that package to the corresponding libstc++6 package to keep those at the same version. [bsc#1196107] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=382 --- cross-aarch64-gcc11-bootstrap.changes | 8 ++++++++ cross-aarch64-gcc11.changes | 8 ++++++++ cross-amdgcn-gcc11.changes | 8 ++++++++ cross-arm-gcc11.changes | 8 ++++++++ cross-arm-none-gcc11-bootstrap.changes | 8 ++++++++ cross-arm-none-gcc11.changes | 8 ++++++++ cross-avr-gcc11-bootstrap.changes | 8 ++++++++ cross-avr-gcc11.changes | 8 ++++++++ cross-epiphany-gcc11-bootstrap.changes | 8 ++++++++ cross-epiphany-gcc11.changes | 8 ++++++++ cross-hppa-gcc11.changes | 8 ++++++++ cross-m68k-gcc11.changes | 8 ++++++++ cross-mips-gcc11.changes | 8 ++++++++ cross-nvptx-gcc11.changes | 8 ++++++++ cross-ppc64-gcc11.changes | 8 ++++++++ cross-ppc64le-gcc11.changes | 8 ++++++++ cross-riscv64-elf-gcc11-bootstrap.changes | 8 ++++++++ cross-riscv64-elf-gcc11.changes | 8 ++++++++ cross-riscv64-gcc11-bootstrap.changes | 8 ++++++++ cross-riscv64-gcc11.changes | 8 ++++++++ cross-rx-gcc11-bootstrap.changes | 8 ++++++++ cross-rx-gcc11.changes | 8 ++++++++ cross-s390x-gcc11.changes | 8 ++++++++ cross-sparc-gcc11.changes | 8 ++++++++ cross-sparc64-gcc11.changes | 8 ++++++++ cross-x86_64-gcc11.changes | 8 ++++++++ gcc.spec.in | 5 +++++ gcc11-testresults.changes | 8 ++++++++ gcc11.changes | 8 ++++++++ gcc11.spec | 15 +++++++++++++++ 30 files changed, 244 insertions(+) diff --git a/cross-aarch64-gcc11-bootstrap.changes b/cross-aarch64-gcc11-bootstrap.changes index a6b550f..d17cdc8 100644 --- a/cross-aarch64-gcc11-bootstrap.changes +++ b/cross-aarch64-gcc11-bootstrap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-aarch64-gcc11.changes b/cross-aarch64-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-aarch64-gcc11.changes +++ b/cross-aarch64-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-amdgcn-gcc11.changes b/cross-amdgcn-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-amdgcn-gcc11.changes +++ b/cross-amdgcn-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-arm-gcc11.changes b/cross-arm-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-arm-gcc11.changes +++ b/cross-arm-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-arm-none-gcc11-bootstrap.changes b/cross-arm-none-gcc11-bootstrap.changes index a6b550f..d17cdc8 100644 --- a/cross-arm-none-gcc11-bootstrap.changes +++ b/cross-arm-none-gcc11-bootstrap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-arm-none-gcc11.changes b/cross-arm-none-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-arm-none-gcc11.changes +++ b/cross-arm-none-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-avr-gcc11-bootstrap.changes b/cross-avr-gcc11-bootstrap.changes index a6b550f..d17cdc8 100644 --- a/cross-avr-gcc11-bootstrap.changes +++ b/cross-avr-gcc11-bootstrap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-avr-gcc11.changes b/cross-avr-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-avr-gcc11.changes +++ b/cross-avr-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-epiphany-gcc11-bootstrap.changes b/cross-epiphany-gcc11-bootstrap.changes index a6b550f..d17cdc8 100644 --- a/cross-epiphany-gcc11-bootstrap.changes +++ b/cross-epiphany-gcc11-bootstrap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-epiphany-gcc11.changes b/cross-epiphany-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-epiphany-gcc11.changes +++ b/cross-epiphany-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-hppa-gcc11.changes b/cross-hppa-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-hppa-gcc11.changes +++ b/cross-hppa-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-m68k-gcc11.changes b/cross-m68k-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-m68k-gcc11.changes +++ b/cross-m68k-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-mips-gcc11.changes b/cross-mips-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-mips-gcc11.changes +++ b/cross-mips-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-nvptx-gcc11.changes b/cross-nvptx-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-nvptx-gcc11.changes +++ b/cross-nvptx-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-ppc64-gcc11.changes b/cross-ppc64-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-ppc64-gcc11.changes +++ b/cross-ppc64-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-ppc64le-gcc11.changes b/cross-ppc64le-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-ppc64le-gcc11.changes +++ b/cross-ppc64le-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-riscv64-elf-gcc11-bootstrap.changes b/cross-riscv64-elf-gcc11-bootstrap.changes index a6b550f..d17cdc8 100644 --- a/cross-riscv64-elf-gcc11-bootstrap.changes +++ b/cross-riscv64-elf-gcc11-bootstrap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-riscv64-elf-gcc11.changes b/cross-riscv64-elf-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-riscv64-elf-gcc11.changes +++ b/cross-riscv64-elf-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-riscv64-gcc11-bootstrap.changes b/cross-riscv64-gcc11-bootstrap.changes index a6b550f..d17cdc8 100644 --- a/cross-riscv64-gcc11-bootstrap.changes +++ b/cross-riscv64-gcc11-bootstrap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-riscv64-gcc11.changes b/cross-riscv64-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-riscv64-gcc11.changes +++ b/cross-riscv64-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-rx-gcc11-bootstrap.changes b/cross-rx-gcc11-bootstrap.changes index a6b550f..d17cdc8 100644 --- a/cross-rx-gcc11-bootstrap.changes +++ b/cross-rx-gcc11-bootstrap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-rx-gcc11.changes b/cross-rx-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-rx-gcc11.changes +++ b/cross-rx-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-s390x-gcc11.changes b/cross-s390x-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-s390x-gcc11.changes +++ b/cross-s390x-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-sparc-gcc11.changes b/cross-sparc-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-sparc-gcc11.changes +++ b/cross-sparc-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-sparc64-gcc11.changes b/cross-sparc64-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-sparc64-gcc11.changes +++ b/cross-sparc64-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/cross-x86_64-gcc11.changes b/cross-x86_64-gcc11.changes index a6b550f..d17cdc8 100644 --- a/cross-x86_64-gcc11.changes +++ b/cross-x86_64-gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/gcc.spec.in b/gcc.spec.in index 87fc47f..4b91280 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -520,8 +520,13 @@ library. It is needed for compiling C++ code. Summary: GDB pretty printers for the C++ standard library License: GPL-3.0-or-later Group: Development/Languages/C and C++ +# The -pp packages are tied to a specific shared library +Requires: libstdc++%{libstdcxx_sover}@variant@ = %{version}-%{release} Requires: libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix} = %{version}-%{release} Provides: libstdc++%{libstdcxx_sover}-pp@variant@ = %{version}-%{release} +# To allow updates from libstdc++6-pp-gccM to libstdc++6-pp-gccN we need +# enumerates Obsoletes, the separate -pp package was introduced with GCC9. +Obsoletes: libstdc++6-pp-gcc9@variant@ libstdc++6-pp-gcc10@variant@ # Only one package may provide this - allows multiple gcc versions # to co-exist without an overly large list of provides/obsoletes Conflicts: %selfconflict libstdc++%{libstdcxx_sover}-pp@variant@ diff --git a/gcc11-testresults.changes b/gcc11-testresults.changes index a6b550f..d17cdc8 100644 --- a/gcc11-testresults.changes +++ b/gcc11-testresults.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/gcc11.changes b/gcc11.changes index a6b550f..d17cdc8 100644 --- a/gcc11.changes +++ b/gcc11.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 2 09:14:45 UTC 2022 - Richard Biener + +- Add a list of Obsoletes to libstdc++6-pp-gcc11 so updates from + packages provided by older GCC work. Add a requires from that + package to the corresponding libstc++6 package to keep those + at the same version. [bsc#1196107] + ------------------------------------------------------------------- Thu Feb 10 12:31:01 UTC 2022 - Richard Biener diff --git a/gcc11.spec b/gcc11.spec index c500a84..951af02 100644 --- a/gcc11.spec +++ b/gcc11.spec @@ -551,8 +551,13 @@ library. It is needed for compiling C++ code. Summary: GDB pretty printers for the C++ standard library License: GPL-3.0-or-later Group: Development/Languages/C and C++ +# The -pp packages are tied to a specific shared library +Requires: libstdc++%{libstdcxx_sover} = %{version}-%{release} Requires: libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix} = %{version}-%{release} Provides: libstdc++%{libstdcxx_sover}-pp = %{version}-%{release} +# To allow updates from libstdc++6-pp-gccM to libstdc++6-pp-gccN we need +# enumerates Obsoletes, the separate -pp package was introduced with GCC9. +Obsoletes: libstdc++6-pp-gcc9 libstdc++6-pp-gcc10 # Only one package may provide this - allows multiple gcc versions # to co-exist without an overly large list of provides/obsoletes Conflicts: %selfconflict libstdc++%{libstdcxx_sover}-pp @@ -570,8 +575,13 @@ from GDB. Summary: GDB pretty printers for the C++ standard library License: GPL-3.0-or-later Group: Development/Languages/C and C++ +# The -pp packages are tied to a specific shared library +Requires: libstdc++%{libstdcxx_sover}-32bit = %{version}-%{release} Requires: libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix} = %{version}-%{release} Provides: libstdc++%{libstdcxx_sover}-pp-32bit = %{version}-%{release} +# To allow updates from libstdc++6-pp-gccM to libstdc++6-pp-gccN we need +# enumerates Obsoletes, the separate -pp package was introduced with GCC9. +Obsoletes: libstdc++6-pp-gcc9-32bit libstdc++6-pp-gcc10-32bit # Only one package may provide this - allows multiple gcc versions # to co-exist without an overly large list of provides/obsoletes Conflicts: %selfconflict libstdc++%{libstdcxx_sover}-pp-32bit @@ -589,8 +599,13 @@ from GDB. Summary: GDB pretty printers for the C++ standard library License: GPL-3.0-or-later Group: Development/Languages/C and C++ +# The -pp packages are tied to a specific shared library +Requires: libstdc++%{libstdcxx_sover}-64bit = %{version}-%{release} Requires: libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix} = %{version}-%{release} Provides: libstdc++%{libstdcxx_sover}-pp-64bit = %{version}-%{release} +# To allow updates from libstdc++6-pp-gccM to libstdc++6-pp-gccN we need +# enumerates Obsoletes, the separate -pp package was introduced with GCC9. +Obsoletes: libstdc++6-pp-gcc9-64bit libstdc++6-pp-gcc10-64bit # Only one package may provide this - allows multiple gcc versions # to co-exist without an overly large list of provides/obsoletes Conflicts: %selfconflict libstdc++%{libstdcxx_sover}-pp-64bit