Hello community, here is the log from the commit of package gcc47 for openSUSE:Factory checked in at 2013-12-03 10:29:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc47 (Old) and /work/SRC/openSUSE:Factory/.gcc47.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gcc47" Changes: -------- --- /work/SRC/openSUSE:Factory/gcc47/cross-armv5tel-gcc47-icecream-backend.changes 2013-07-08 07:25:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gcc47.new/cross-armv5tel-gcc47-icecream-backend.changes 2013-12-03 10:29:32.000000000 +0100 @@ -1,0 +2,17 @@ +Thu Nov 28 11:07:56 UTC 2013 - rguenther@suse.com + +- Enhance suffixing of shared library packages to individual + packages via %product_libs_gcc_ver_$shlib$sover. + +------------------------------------------------------------------- +Thu Oct 17 14:12:57 UTC 2013 - rguenther@suse.com + +- Avoid /bin/sh pre-requirement in shared library packages by + using %post[un] -p. [bnc#843331] + +------------------------------------------------------------------- +Tue Sep 24 11:58:26 UTC 2013 - dmueller@suse.com + +- exclude build on aarch64, it is not going to work anyway + +------------------------------------------------------------------- cross-armv7hl-gcc47-icecream-backend.changes: same change cross-hppa-gcc47-icecream-backend.changes: same change cross-i386-gcc47-icecream-backend.changes: same change cross-ia64-gcc47-icecream-backend.changes: same change cross-ppc-gcc47-icecream-backend.changes: same change cross-ppc64-gcc47-icecream-backend.changes: same change cross-s390-gcc47-icecream-backend.changes: same change cross-s390x-gcc47-icecream-backend.changes: same change cross-x86_64-gcc47-icecream-backend.changes: same change gcc47-testresults.changes: same change --- /work/SRC/openSUSE:Factory/gcc47/gcc47.changes 2013-09-25 14:30:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gcc47.new/gcc47.changes 2013-12-03 10:29:32.000000000 +0100 @@ -1,0 +2,12 @@ +Thu Nov 28 11:07:56 UTC 2013 - rguenther@suse.com + +- Enhance suffixing of shared library packages to individual + packages via %product_libs_gcc_ver_$shlib$sover. + +------------------------------------------------------------------- +Thu Oct 17 14:12:57 UTC 2013 - rguenther@suse.com + +- Avoid /bin/sh pre-requirement in shared library packages by + using %post[un] -p. [bnc#843331] + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/gcc47/libffi47.changes 2013-07-08 07:25:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gcc47.new/libffi47.changes 2013-12-03 10:29:32.000000000 +0100 @@ -1,0 +2,17 @@ +Thu Nov 28 11:07:56 UTC 2013 - rguenther@suse.com + +- Enhance suffixing of shared library packages to individual + packages via %product_libs_gcc_ver_$shlib$sover. + +------------------------------------------------------------------- +Thu Oct 17 14:12:57 UTC 2013 - rguenther@suse.com + +- Avoid /bin/sh pre-requirement in shared library packages by + using %post[un] -p. [bnc#843331] + +------------------------------------------------------------------- +Tue Sep 24 11:58:26 UTC 2013 - dmueller@suse.com + +- exclude build on aarch64, it is not going to work anyway + +------------------------------------------------------------------- libgcj47.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ cross-armv7hl-gcc47-icecream-backend.spec: same change cross-hppa-gcc47-icecream-backend.spec: same change cross-i386-gcc47-icecream-backend.spec: same change cross-ia64-gcc47-icecream-backend.spec: same change cross-ppc-gcc47-icecream-backend.spec: same change cross-ppc64-gcc47-icecream-backend.spec: same change cross-s390-gcc47-icecream-backend.spec: same change cross-s390x-gcc47-icecream-backend.spec: same change cross-x86_64-gcc47-icecream-backend.spec: same change ++++++ gcc47-testresults.spec ++++++ --- /var/tmp/diff_new_pack.s0Y7A7/_old 2013-12-03 10:29:35.000000000 +0100 +++ /var/tmp/diff_new_pack.s0Y7A7/_new 2013-12-03 10:29:35.000000000 +0100 @@ -102,26 +102,25 @@ # provide un-suffixed shared library packages following the shared-library # policy. Even suffixed variants should provide the shared-library policy # mandated names and ensure they conflict with each other. -# Note that on SONAME changes of any library the %product_libs_gcc_ver -# define needs to be either split or the newest GCC version still providing -# the old SONAME needs to unconditionally produce an un-suffixed library -# if %product_libs_gcc_ver is newer than it. Similar the _oldest_ GCC -# version first providing a new SONAME needs to unconditionally produce -# an un-suffixed library if %product_libs_gcc_ver is lower that it. -%if %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} != 47 -%define pne 1 -%endif -%define libgcc_s_suffix %{?pne:-gcc47} +# Individual shared libraries can be directed to be built from individual +# gcc versions by defining %product_libs_gcc_ver_libgcc_s1 for example, +# generally %product_libs_gcc_ver_%name%sover, similarly. + +%define itsme47 1 +%define plv_ %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} +%define plv() %{expand:%%{!?itsme%{expand:%%{!?product_libs_gcc_ver_%{1}%{2}:%%{plv_}}%%{?product_libs_gcc_ver_%{1}%{2}}}:-gcc47}} + +%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}} # libgcj SONAME changes with every GCC version %define libgcj_suffix %nil -%define libgcj_bc_suffix %{?pne:-gcc47} -%define libffi_suffix %{?pne:-gcc47} -%define libmudflap_suffix %{?pne:-gcc47} -%define libgomp_suffix %{?pne:-gcc47} -%define libstdcxx_suffix %{?pne:-gcc47} -%define libobjc_suffix %{?pne:-gcc47} -%define libgfortran_suffix %{?pne:-gcc47} -%define libquadmath_suffix %{?pne:-gcc47} +%define libgcj_bc_suffix %{plv libgcj_bc %{libgc_bc_sover}} +%define libffi_suffix %{plv libffi %{libffi_sover}} +%define libmudflap_suffix %{plv libmudflap %{libmudflap_sover}} +%define libgomp_suffix %{plv libgomp %{libgomp_sover}} +%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}} +%define libobjc_suffix %{plv libobjc %{libobjc_sover}} +%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}} +%define libquadmath_suffix %{plv libquadmath %{libquadmath_sover}} %if %{suse_version} >= 1220 %define selfconflict() %1 ++++++ gcc47.spec ++++++ --- /var/tmp/diff_new_pack.s0Y7A7/_old 2013-12-03 10:29:35.000000000 +0100 +++ /var/tmp/diff_new_pack.s0Y7A7/_new 2013-12-03 10:29:35.000000000 +0100 @@ -84,26 +84,25 @@ # provide un-suffixed shared library packages following the shared-library # policy. Even suffixed variants should provide the shared-library policy # mandated names and ensure they conflict with each other. -# Note that on SONAME changes of any library the %product_libs_gcc_ver -# define needs to be either split or the newest GCC version still providing -# the old SONAME needs to unconditionally produce an un-suffixed library -# if %product_libs_gcc_ver is newer than it. Similar the _oldest_ GCC -# version first providing a new SONAME needs to unconditionally produce -# an un-suffixed library if %product_libs_gcc_ver is lower that it. -%if %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} != 47 -%define pne 1 -%endif -%define libgcc_s_suffix %{?pne:-gcc47} +# Individual shared libraries can be directed to be built from individual +# gcc versions by defining %product_libs_gcc_ver_libgcc_s1 for example, +# generally %product_libs_gcc_ver_%name%sover, similarly. + +%define itsme47 1 +%define plv_ %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} +%define plv() %{expand:%%{!?itsme%{expand:%%{!?product_libs_gcc_ver_%{1}%{2}:%%{plv_}}%%{?product_libs_gcc_ver_%{1}%{2}}}:-gcc47}} + +%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}} # libgcj SONAME changes with every GCC version %define libgcj_suffix %nil -%define libgcj_bc_suffix %{?pne:-gcc47} -%define libffi_suffix %{?pne:-gcc47} -%define libmudflap_suffix %{?pne:-gcc47} -%define libgomp_suffix %{?pne:-gcc47} -%define libstdcxx_suffix %{?pne:-gcc47} -%define libobjc_suffix %{?pne:-gcc47} -%define libgfortran_suffix %{?pne:-gcc47} -%define libquadmath_suffix %{?pne:-gcc47} +%define libgcj_bc_suffix %{plv libgcj_bc %{libgc_bc_sover}} +%define libffi_suffix %{plv libffi %{libffi_sover}} +%define libmudflap_suffix %{plv libmudflap %{libmudflap_sover}} +%define libgomp_suffix %{plv libgomp %{libgomp_sover}} +%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}} +%define libobjc_suffix %{plv libobjc %{libobjc_sover}} +%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}} +%define libquadmath_suffix %{plv libquadmath %{libquadmath_sover}} %if %{suse_version} >= 1220 %define selfconflict() %1 @@ -399,11 +398,9 @@ %description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} Libgcc is needed for dynamically linked C programs. -%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -/sbin/ldconfig +%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -p /sbin/ldconfig -%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -/sbin/ldconfig +%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -422,11 +419,9 @@ %description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit Libgcc is needed for dynamically linked C programs. -%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -/sbin/ldconfig +%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -p /sbin/ldconfig -%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -/sbin/ldconfig +%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -445,11 +440,9 @@ %description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit Libgcc is needed for dynamically linked C programs. -%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit -/sbin/ldconfig +%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit -p /sbin/ldconfig -%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit -/sbin/ldconfig +%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -470,11 +463,9 @@ option. -%post -n libgomp%{libgomp_sover}%{libgomp_suffix} -/sbin/ldconfig +%post -n libgomp%{libgomp_sover}%{libgomp_suffix} -p /sbin/ldconfig -%postun -n libgomp%{libgomp_sover}%{libgomp_suffix} -/sbin/ldconfig +%postun -n libgomp%{libgomp_sover}%{libgomp_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -494,11 +485,9 @@ option. -%post -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -/sbin/ldconfig +%post -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -p /sbin/ldconfig -%postun -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -/sbin/ldconfig +%postun -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -518,11 +507,9 @@ option. -%post -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit -/sbin/ldconfig +%post -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit -p /sbin/ldconfig -%postun -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit -/sbin/ldconfig +%postun -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -541,11 +528,9 @@ The standard C++ library, needed for dynamically linked C++ programs. -%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -/sbin/ldconfig +%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -p /sbin/ldconfig -%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -/sbin/ldconfig +%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -563,11 +548,9 @@ The standard C++ library, needed for dynamically linked C++ programs. -%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -/sbin/ldconfig +%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -p /sbin/ldconfig -%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -/sbin/ldconfig +%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -585,11 +568,9 @@ The standard C++ library, needed for dynamically linked C++ programs. -%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit -/sbin/ldconfig +%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit -p /sbin/ldconfig -%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit -/sbin/ldconfig +%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale @@ -676,11 +657,9 @@ %description -n libobjc%{libobjc_sover}%{libobjc_suffix} The library for the GNU Objective C compiler. -%post -n libobjc%{libobjc_sover}%{libobjc_suffix} -/sbin/ldconfig +%post -n libobjc%{libobjc_sover}%{libobjc_suffix} -p /sbin/ldconfig -%postun -n libobjc%{libobjc_sover}%{libobjc_suffix} -/sbin/ldconfig +%postun -n libobjc%{libobjc_sover}%{libobjc_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -696,11 +675,9 @@ %description -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit The library for the GNU Objective C compiler. -%post -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -/sbin/ldconfig +%post -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -p /sbin/ldconfig -%postun -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -/sbin/ldconfig +%postun -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -716,11 +693,9 @@ %description -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit The library for the GNU Objective C compiler. -%post -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit -/sbin/ldconfig +%post -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit -p /sbin/ldconfig -%postun -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit -/sbin/ldconfig +%postun -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END %package obj-c++ @@ -811,11 +786,9 @@ implementation of Distributed Systems Programming (GLADE) and the Posix 1003.5 Binding (Florist). -%post -n libada47 -/sbin/ldconfig +%post -n libada47 -p /sbin/ldconfig -%postun -n libada47 -/sbin/ldconfig +%postun -n libada47 -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -836,11 +809,9 @@ implementation of Distributed Systems Programming (GLADE) and the Posix 1003.5 Binding (Florist). -%post -n libada47-32bit -/sbin/ldconfig +%post -n libada47-32bit -p /sbin/ldconfig -%postun -n libada47-32bit -/sbin/ldconfig +%postun -n libada47-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -861,11 +832,9 @@ implementation of Distributed Systems Programming (GLADE) and the Posix 1003.5 Binding (Florist). -%post -n libada47-64bit -/sbin/ldconfig +%post -n libada47-64bit -p /sbin/ldconfig -%postun -n libada47-64bit -/sbin/ldconfig +%postun -n libada47-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -932,11 +901,9 @@ The runtime library needed to run programs compiled with the Fortran compiler of the GNU Compiler Collection (GCC). -%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -/sbin/ldconfig +%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -p /sbin/ldconfig -%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -/sbin/ldconfig +%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -956,11 +923,9 @@ The runtime library needed to run programs compiled with the Fortran compiler of the GNU Compiler Collection (GCC). -%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -/sbin/ldconfig +%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -p /sbin/ldconfig -%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -/sbin/ldconfig +%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -980,11 +945,9 @@ The runtime library needed to run programs compiled with the Fortran compiler of the GNU Compiler Collection (GCC). -%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit -/sbin/ldconfig +%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit -p /sbin/ldconfig -%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit -/sbin/ldconfig +%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -1003,11 +966,9 @@ of the GNU Compiler Collection (GCC) and quadruple precision floating point operations. -%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -/sbin/ldconfig +%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -p /sbin/ldconfig -%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -/sbin/ldconfig +%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -1025,11 +986,9 @@ of the GNU Compiler Collection (GCC) and quadruple precision floating point operations. -%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -/sbin/ldconfig +%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -p /sbin/ldconfig -%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -/sbin/ldconfig +%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -1047,11 +1006,9 @@ of the GNU Compiler Collection (GCC) and quadruple precision floating point operations. -%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit -/sbin/ldconfig +%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit -p /sbin/ldconfig -%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit -/sbin/ldconfig +%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -1068,11 +1025,9 @@ %description -n libmudflap47 This is the Mudflap Extension Runtime Library. -%post -n libmudflap47 -/sbin/ldconfig +%post -n libmudflap47 -p /sbin/ldconfig -%postun -n libmudflap47 -/sbin/ldconfig +%postun -n libmudflap47 -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -1088,11 +1043,9 @@ %description -n libmudflap47-32bit This is the Mudflap Extension Runtime Library. -%post -n libmudflap47-32bit -/sbin/ldconfig +%post -n libmudflap47-32bit -p /sbin/ldconfig -%postun -n libmudflap47-32bit -/sbin/ldconfig +%postun -n libmudflap47-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -1108,11 +1061,9 @@ %description -n libmudflap47-64bit This is the Mudflap Extension Runtime Library. -%post -n libmudflap47-64bit -/sbin/ldconfig +%post -n libmudflap47-64bit -p /sbin/ldconfig -%postun -n libmudflap47-64bit -/sbin/ldconfig +%postun -n libmudflap47-64bit -p /sbin/ldconfig # PACKAGE-END %package -n libgcj47 @@ -1134,11 +1085,9 @@ This library is needed if you want to use the GNU Java compiler, gcj. Source code for this package is in gcc. -%post -n libgcj47 -/sbin/ldconfig +%post -n libgcj47 -p /sbin/ldconfig -%postun -n libgcj47 -/sbin/ldconfig +%postun -n libgcj47 -p /sbin/ldconfig %package -n gcc47-java Summary: The GNU Java Compiler @@ -1230,11 +1179,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix} A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix} -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix} -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -1250,11 +1197,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix}-32bit A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix}-32bit -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix}-32bit -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -1270,11 +1215,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix}-64bit A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix}-64bit -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix}-64bit -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN ++++++ libffi47.spec ++++++ --- /var/tmp/diff_new_pack.s0Y7A7/_old 2013-12-03 10:29:35.000000000 +0100 +++ /var/tmp/diff_new_pack.s0Y7A7/_new 2013-12-03 10:29:35.000000000 +0100 @@ -101,26 +101,25 @@ # provide un-suffixed shared library packages following the shared-library # policy. Even suffixed variants should provide the shared-library policy # mandated names and ensure they conflict with each other. -# Note that on SONAME changes of any library the %product_libs_gcc_ver -# define needs to be either split or the newest GCC version still providing -# the old SONAME needs to unconditionally produce an un-suffixed library -# if %product_libs_gcc_ver is newer than it. Similar the _oldest_ GCC -# version first providing a new SONAME needs to unconditionally produce -# an un-suffixed library if %product_libs_gcc_ver is lower that it. -%if %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} != 47 -%define pne 1 -%endif -%define libgcc_s_suffix %{?pne:-gcc47} +# Individual shared libraries can be directed to be built from individual +# gcc versions by defining %product_libs_gcc_ver_libgcc_s1 for example, +# generally %product_libs_gcc_ver_%name%sover, similarly. + +%define itsme47 1 +%define plv_ %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} +%define plv() %{expand:%%{!?itsme%{expand:%%{!?product_libs_gcc_ver_%{1}%{2}:%%{plv_}}%%{?product_libs_gcc_ver_%{1}%{2}}}:-gcc47}} + +%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}} # libgcj SONAME changes with every GCC version %define libgcj_suffix %nil -%define libgcj_bc_suffix %{?pne:-gcc47} -%define libffi_suffix %{?pne:-gcc47} -%define libmudflap_suffix %{?pne:-gcc47} -%define libgomp_suffix %{?pne:-gcc47} -%define libstdcxx_suffix %{?pne:-gcc47} -%define libobjc_suffix %{?pne:-gcc47} -%define libgfortran_suffix %{?pne:-gcc47} -%define libquadmath_suffix %{?pne:-gcc47} +%define libgcj_bc_suffix %{plv libgcj_bc %{libgc_bc_sover}} +%define libffi_suffix %{plv libffi %{libffi_sover}} +%define libmudflap_suffix %{plv libmudflap %{libmudflap_sover}} +%define libgomp_suffix %{plv libgomp %{libgomp_sover}} +%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}} +%define libobjc_suffix %{plv libobjc %{libobjc_sover}} +%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}} +%define libquadmath_suffix %{plv libquadmath %{libquadmath_sover}} %if %{suse_version} >= 1220 %define selfconflict() %1 @@ -293,11 +292,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix} A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix} -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix} -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -313,11 +310,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix}-32bit A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix}-32bit -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix}-32bit -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -333,11 +328,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix}-64bit A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix}-64bit -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix}-64bit -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN ++++++ libgcj47.spec ++++++ --- /var/tmp/diff_new_pack.s0Y7A7/_old 2013-12-03 10:29:35.000000000 +0100 +++ /var/tmp/diff_new_pack.s0Y7A7/_new 2013-12-03 10:29:35.000000000 +0100 @@ -101,26 +101,25 @@ # provide un-suffixed shared library packages following the shared-library # policy. Even suffixed variants should provide the shared-library policy # mandated names and ensure they conflict with each other. -# Note that on SONAME changes of any library the %product_libs_gcc_ver -# define needs to be either split or the newest GCC version still providing -# the old SONAME needs to unconditionally produce an un-suffixed library -# if %product_libs_gcc_ver is newer than it. Similar the _oldest_ GCC -# version first providing a new SONAME needs to unconditionally produce -# an un-suffixed library if %product_libs_gcc_ver is lower that it. -%if %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} != 47 -%define pne 1 -%endif -%define libgcc_s_suffix %{?pne:-gcc47} +# Individual shared libraries can be directed to be built from individual +# gcc versions by defining %product_libs_gcc_ver_libgcc_s1 for example, +# generally %product_libs_gcc_ver_%name%sover, similarly. + +%define itsme47 1 +%define plv_ %{!?product_libs_gcc_ver:47}%{?product_libs_gcc_ver} +%define plv() %{expand:%%{!?itsme%{expand:%%{!?product_libs_gcc_ver_%{1}%{2}:%%{plv_}}%%{?product_libs_gcc_ver_%{1}%{2}}}:-gcc47}} + +%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}} # libgcj SONAME changes with every GCC version %define libgcj_suffix %nil -%define libgcj_bc_suffix %{?pne:-gcc47} -%define libffi_suffix %{?pne:-gcc47} -%define libmudflap_suffix %{?pne:-gcc47} -%define libgomp_suffix %{?pne:-gcc47} -%define libstdcxx_suffix %{?pne:-gcc47} -%define libobjc_suffix %{?pne:-gcc47} -%define libgfortran_suffix %{?pne:-gcc47} -%define libquadmath_suffix %{?pne:-gcc47} +%define libgcj_bc_suffix %{plv libgcj_bc %{libgc_bc_sover}} +%define libffi_suffix %{plv libffi %{libffi_sover}} +%define libmudflap_suffix %{plv libmudflap %{libmudflap_sover}} +%define libgomp_suffix %{plv libgomp %{libgomp_sover}} +%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}} +%define libobjc_suffix %{plv libobjc %{libobjc_sover}} +%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}} +%define libquadmath_suffix %{plv libquadmath %{libquadmath_sover}} %if %{suse_version} >= 1220 %define selfconflict() %1 @@ -284,11 +283,9 @@ This library is needed if you want to use the GNU Java compiler, gcj. Source code for this package is in gcc. -%post -/sbin/ldconfig +%post -n libgcj47 -p /sbin/ldconfig -%postun -/sbin/ldconfig +%postun -n libgcj47 -p /sbin/ldconfig %package -n gcc47-java Summary: The GNU Java Compiler @@ -380,11 +377,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix} A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix} -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix} -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -400,11 +395,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix}-32bit A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix}-32bit -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix}-32bit -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN # PACKAGE-BEGIN @@ -420,11 +413,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix}-64bit A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix}-64bit -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix}-64bit -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.s0Y7A7/_old 2013-12-03 10:29:35.000000000 +0100 +++ /var/tmp/diff_new_pack.s0Y7A7/_new 2013-12-03 10:29:35.000000000 +0100 @@ -86,26 +86,25 @@ # provide un-suffixed shared library packages following the shared-library # policy. Even suffixed variants should provide the shared-library policy # mandated names and ensure they conflict with each other. -# Note that on SONAME changes of any library the %product_libs_gcc_ver -# define needs to be either split or the newest GCC version still providing -# the old SONAME needs to unconditionally produce an un-suffixed library -# if %product_libs_gcc_ver is newer than it. Similar the _oldest_ GCC -# version first providing a new SONAME needs to unconditionally produce -# an un-suffixed library if %product_libs_gcc_ver is lower that it. -%if %{!?product_libs_gcc_ver:@base_ver@}%{?product_libs_gcc_ver} != @base_ver@ -%define pne 1 -%endif -%define libgcc_s_suffix %{?pne:-gcc@base_ver@} +# Individual shared libraries can be directed to be built from individual +# gcc versions by defining %product_libs_gcc_ver_libgcc_s1 for example, +# generally %product_libs_gcc_ver_%name%sover, similarly. + +%define itsme@base_ver@ 1 +%define plv_ %{!?product_libs_gcc_ver:@base_ver@}%{?product_libs_gcc_ver} +%define plv() %{expand:%%{!?itsme%{expand:%%{!?product_libs_gcc_ver_%{1}%{2}:%%{plv_}}%%{?product_libs_gcc_ver_%{1}%{2}}}:-gcc@base_ver@}} + +%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}} # libgcj SONAME changes with every GCC version %define libgcj_suffix %nil -%define libgcj_bc_suffix %{?pne:-gcc@base_ver@} -%define libffi_suffix %{?pne:-gcc@base_ver@} -%define libmudflap_suffix %{?pne:-gcc@base_ver@} -%define libgomp_suffix %{?pne:-gcc@base_ver@} -%define libstdcxx_suffix %{?pne:-gcc@base_ver@} -%define libobjc_suffix %{?pne:-gcc@base_ver@} -%define libgfortran_suffix %{?pne:-gcc@base_ver@} -%define libquadmath_suffix %{?pne:-gcc@base_ver@} +%define libgcj_bc_suffix %{plv libgcj_bc %{libgc_bc_sover}} +%define libffi_suffix %{plv libffi %{libffi_sover}} +%define libmudflap_suffix %{plv libmudflap %{libmudflap_sover}} +%define libgomp_suffix %{plv libgomp %{libgomp_sover}} +%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}} +%define libobjc_suffix %{plv libobjc %{libobjc_sover}} +%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}} +%define libquadmath_suffix %{plv libquadmath %{libquadmath_sover}} %if %{suse_version} >= 1220 @@ -366,11 +365,9 @@ %description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@ Libgcc is needed for dynamically linked C programs. -%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@ -/sbin/ldconfig +%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@ -p /sbin/ldconfig -%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@ -/sbin/ldconfig +%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@ -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -390,11 +387,9 @@ option. -%post -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@ -/sbin/ldconfig +%post -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@ -p /sbin/ldconfig -%postun -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@ -/sbin/ldconfig +%postun -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@ -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -412,11 +407,9 @@ The standard C++ library, needed for dynamically linked C++ programs. -%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@ -/sbin/ldconfig +%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@ -p /sbin/ldconfig -%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@ -/sbin/ldconfig +%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@ -p /sbin/ldconfig # PACKAGE-END %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale @@ -473,11 +466,9 @@ %description -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@ The library for the GNU Objective C compiler. -%post -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@ -/sbin/ldconfig +%post -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@ -p /sbin/ldconfig -%postun -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@ -/sbin/ldconfig +%postun -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@ -p /sbin/ldconfig # PACKAGE-END %package obj-c++ @@ -536,11 +527,9 @@ implementation of Distributed Systems Programming (GLADE) and the Posix 1003.5 Binding (Florist). -%post -n libada@base_ver@@variant@ -/sbin/ldconfig +%post -n libada@base_ver@@variant@ -p /sbin/ldconfig -%postun -n libada@base_ver@@variant@ -/sbin/ldconfig +%postun -n libada@base_ver@@variant@ -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -575,11 +564,9 @@ The runtime library needed to run programs compiled with the Fortran compiler of the GNU Compiler Collection (GCC). -%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@ -/sbin/ldconfig +%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@ -p /sbin/ldconfig -%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@ -/sbin/ldconfig +%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@ -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -597,11 +584,9 @@ of the GNU Compiler Collection (GCC) and quadruple precision floating point operations. -%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@ -/sbin/ldconfig +%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@ -p /sbin/ldconfig -%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@ -/sbin/ldconfig +%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@ -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN @@ -617,11 +602,9 @@ %description -n libmudflap@base_ver@@variant@ This is the Mudflap Extension Runtime Library. -%post -n libmudflap@base_ver@@variant@ -/sbin/ldconfig +%post -n libmudflap@base_ver@@variant@ -p /sbin/ldconfig -%postun -n libmudflap@base_ver@@variant@ -/sbin/ldconfig +%postun -n libmudflap@base_ver@@variant@ -p /sbin/ldconfig # PACKAGE-END @@ -644,11 +627,9 @@ This library is needed if you want to use the GNU Java compiler, gcj. Source code for this package is in gcc. -%post -n libgcj@base_ver@ -/sbin/ldconfig +%post -n libgcj@base_ver@ -p /sbin/ldconfig -%postun -n libgcj@base_ver@ -/sbin/ldconfig +%postun -n libgcj@base_ver@ -p /sbin/ldconfig %package -n gcc@base_ver@-java @@ -741,11 +722,9 @@ %description -n libffi%{libffi_sover}%{libffi_suffix}@variant@ A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. -%post -n libffi%{libffi_sover}%{libffi_suffix}@variant@ -/sbin/ldconfig +%post -n libffi%{libffi_sover}%{libffi_suffix}@variant@ -p /sbin/ldconfig -%postun -n libffi%{libffi_sover}%{libffi_suffix}@variant@ -/sbin/ldconfig +%postun -n libffi%{libffi_sover}%{libffi_suffix}@variant@ -p /sbin/ldconfig # PACKAGE-END # PACKAGE-BEGIN -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org