diff --git a/cross-aarch64-gcc7.changes b/cross-aarch64-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-aarch64-gcc7.changes +++ b/cross-aarch64-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-aarch64-gcc7.spec b/cross-aarch64-gcc7.spec index 79ea2b7..2d052ea 100644 --- a/cross-aarch64-gcc7.spec +++ b/cross-aarch64-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-arm-gcc7.changes b/cross-arm-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-arm-gcc7.changes +++ b/cross-arm-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-arm-gcc7.spec b/cross-arm-gcc7.spec index bc6ce1f..8a06fe9 100644 --- a/cross-arm-gcc7.spec +++ b/cross-arm-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-avr-gcc7.changes b/cross-avr-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-avr-gcc7.changes +++ b/cross-avr-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-avr-gcc7.spec b/cross-avr-gcc7.spec index e701027..b98a746 100644 --- a/cross-avr-gcc7.spec +++ b/cross-avr-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-epiphany-gcc7-bootstrap.changes b/cross-epiphany-gcc7-bootstrap.changes index 453f010..80e3f53 100644 --- a/cross-epiphany-gcc7-bootstrap.changes +++ b/cross-epiphany-gcc7-bootstrap.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-epiphany-gcc7-bootstrap.spec b/cross-epiphany-gcc7-bootstrap.spec index 1b22a88..2803e41 100644 --- a/cross-epiphany-gcc7-bootstrap.spec +++ b/cross-epiphany-gcc7-bootstrap.spec @@ -648,7 +648,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -663,7 +663,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-epiphany-gcc7.changes b/cross-epiphany-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-epiphany-gcc7.changes +++ b/cross-epiphany-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-epiphany-gcc7.spec b/cross-epiphany-gcc7.spec index e4d6621..d4ed2ba 100644 --- a/cross-epiphany-gcc7.spec +++ b/cross-epiphany-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-hppa-gcc7.changes b/cross-hppa-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-hppa-gcc7.changes +++ b/cross-hppa-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-hppa-gcc7.spec b/cross-hppa-gcc7.spec index 59d6cc4..3e9449a 100644 --- a/cross-hppa-gcc7.spec +++ b/cross-hppa-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-i386-gcc7.changes b/cross-i386-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-i386-gcc7.changes +++ b/cross-i386-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-i386-gcc7.spec b/cross-i386-gcc7.spec index 79beead..d5f7ab4 100644 --- a/cross-i386-gcc7.spec +++ b/cross-i386-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-m68k-gcc7.changes b/cross-m68k-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-m68k-gcc7.changes +++ b/cross-m68k-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-m68k-gcc7.spec b/cross-m68k-gcc7.spec index 7a8d607..201b00f 100644 --- a/cross-m68k-gcc7.spec +++ b/cross-m68k-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-mips-gcc7.changes b/cross-mips-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-mips-gcc7.changes +++ b/cross-mips-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-mips-gcc7.spec b/cross-mips-gcc7.spec index 47a6229..68f1e88 100644 --- a/cross-mips-gcc7.spec +++ b/cross-mips-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-nvptx-gcc7.changes b/cross-nvptx-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-nvptx-gcc7.changes +++ b/cross-nvptx-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-nvptx-gcc7.spec b/cross-nvptx-gcc7.spec index d978af4..2722fc9 100644 --- a/cross-nvptx-gcc7.spec +++ b/cross-nvptx-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-ppc64-gcc7.changes b/cross-ppc64-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-ppc64-gcc7.changes +++ b/cross-ppc64-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-ppc64-gcc7.spec b/cross-ppc64-gcc7.spec index d0b4f8d..2f6d93d 100644 --- a/cross-ppc64-gcc7.spec +++ b/cross-ppc64-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-ppc64le-gcc7.changes b/cross-ppc64le-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-ppc64le-gcc7.changes +++ b/cross-ppc64le-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-ppc64le-gcc7.spec b/cross-ppc64le-gcc7.spec index dd6de56..0c230bd 100644 --- a/cross-ppc64le-gcc7.spec +++ b/cross-ppc64le-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-rx-gcc7-bootstrap.changes b/cross-rx-gcc7-bootstrap.changes index 453f010..80e3f53 100644 --- a/cross-rx-gcc7-bootstrap.changes +++ b/cross-rx-gcc7-bootstrap.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-rx-gcc7-bootstrap.spec b/cross-rx-gcc7-bootstrap.spec index f26886b..148d821 100644 --- a/cross-rx-gcc7-bootstrap.spec +++ b/cross-rx-gcc7-bootstrap.spec @@ -648,7 +648,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -663,7 +663,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-rx-gcc7.changes b/cross-rx-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-rx-gcc7.changes +++ b/cross-rx-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-rx-gcc7.spec b/cross-rx-gcc7.spec index eb07b0e..922dca9 100644 --- a/cross-rx-gcc7.spec +++ b/cross-rx-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-s390x-gcc7.changes b/cross-s390x-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-s390x-gcc7.changes +++ b/cross-s390x-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-s390x-gcc7.spec b/cross-s390x-gcc7.spec index 9dc7663..f77a16a 100644 --- a/cross-s390x-gcc7.spec +++ b/cross-s390x-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-sparc-gcc7.changes b/cross-sparc-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-sparc-gcc7.changes +++ b/cross-sparc-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-sparc-gcc7.spec b/cross-sparc-gcc7.spec index 873e9fa..6de119e 100644 --- a/cross-sparc-gcc7.spec +++ b/cross-sparc-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-sparc64-gcc7.changes b/cross-sparc64-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-sparc64-gcc7.changes +++ b/cross-sparc64-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-sparc64-gcc7.spec b/cross-sparc64-gcc7.spec index 8d3f21c..4c2b5da 100644 --- a/cross-sparc64-gcc7.spec +++ b/cross-sparc64-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross-x86_64-gcc7.changes b/cross-x86_64-gcc7.changes index 453f010..80e3f53 100644 --- a/cross-x86_64-gcc7.changes +++ b/cross-x86_64-gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-x86_64-gcc7.spec b/cross-x86_64-gcc7.spec index c5107a1..c164fae 100644 --- a/cross-x86_64-gcc7.spec +++ b/cross-x86_64-gcc7.spec @@ -647,7 +647,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -662,7 +662,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/cross.spec.in b/cross.spec.in index 55f4487..87007ee 100644 --- a/cross.spec.in +++ b/cross.spec.in @@ -241,7 +241,7 @@ rm -r env %endif %post -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} @base_ver@ \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -256,7 +256,7 @@ rm -r env %endif %postun -%if 0%{?gcc_accel} +%if 0%{!?gcc_accel:1} if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi diff --git a/gcc7-testresults.changes b/gcc7-testresults.changes index 453f010..80e3f53 100644 --- a/gcc7-testresults.changes +++ b/gcc7-testresults.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/gcc7.changes b/gcc7.changes index 453f010..80e3f53 100644 --- a/gcc7.changes +++ b/gcc7.changes @@ -6,6 +6,7 @@ Thu Apr 20 11:17:21 UTC 2017 - rguenther@suse.com - Fix libada provides/conflicts. - Package gcov.h. - Add #!BuildIgnore: gcc-PIE. +- Fix update-alternatives. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz