Hello community, here is the log from the commit of package unison for openSUSE:Factory checked in at 2013-03-08 09:55:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unison (Old) and /work/SRC/openSUSE:Factory/.unison.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unison", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/unison/unison.changes 2013-01-14 12:04:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.unison.new/unison.changes 2013-03-08 09:55:10.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Jan 16 16:40:46 CET 2013 - [email protected] + +- disable strip and /usr/lib/rpm/find-debuginfo.sh for non-opt builds + it destroys bytecode binaries + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unison.spec ++++++ --- /var/tmp/diff_new_pack.BLFXNW/_old 2013-03-08 09:55:11.000000000 +0100 +++ /var/tmp/diff_new_pack.BLFXNW/_new 2013-03-08 09:55:11.000000000 +0100 @@ -16,6 +16,14 @@ # +%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) +%if !%opt +# get rid of /usr/lib/rpm/find-debuginfo.sh +# strip kills the bytecode part of ELF binaries +# see also NO_BRP_STRIP_DEBUG in install section +%undefine _build_create_debug +%endif + Name: unison Version: 2.40.102 Release: 0 @@ -51,23 +59,25 @@ # This package failed when testing with -Wl,-as-needed being default. # So we disable it here, if you want to retest, just delete this comment and the line below. export SUSE_ASNEEDED=0 -%ifarch s390 s390x -make UISTYLE=gtk2 NATIVE=false THREADS=false +%if %opt +NATIVE=true %else -make UISTYLE=gtk2 NATIVE=true THREADS=true +NATIVE=false %endif +make UISTYLE=gtk2 NATIVE=$NATIVE THREADS=true %install +%if !%opt +# get rid of /usr/lib/rpm/brp-strip-debug +# strip kills the bytecode part of ELF binaries +export NO_BRP_STRIP_DEBUG=true +%endif install -m 755 -d %{buildroot}/%{_bindir} install -m 755 %name %{buildroot}%{_bindir} install -m 755 -d %{buildroot}/%{_prefix}/share/pixmaps install -m 644 %{SOURCE3} %{buildroot}/%{_prefix}/share/pixmaps install -m 644 %{SOURCE1} unison-manual.html %suse_update_desktop_file -i %name Utility SyncUtility -%ifarch s390 s390x -# do not strip non-optimized builds -export NO_BRP_STRIP_DEBUG=true -%endif %files %defattr(-,root,root) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
