Accepting request 157800 from network
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/157800 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unison?expand=0&rev=29
This commit is contained in:
parent
53bdbe4c60
commit
65122b381e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 16 16:40:46 CET 2013 - ohering@suse.de
|
||||||
|
|
||||||
|
- disable strip and /usr/lib/rpm/find-debuginfo.sh for non-opt builds
|
||||||
|
it destroys bytecode binaries
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 14 08:05:03 UTC 2013 - saschpe@suse.de
|
Mon Jan 14 08:05:03 UTC 2013 - saschpe@suse.de
|
||||||
|
|
||||||
|
24
unison.spec
24
unison.spec
@ -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
|
Name: unison
|
||||||
Version: 2.40.102
|
Version: 2.40.102
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -51,23 +59,25 @@ replica to the other.
|
|||||||
# This package failed when testing with -Wl,-as-needed being default.
|
# 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.
|
# So we disable it here, if you want to retest, just delete this comment and the line below.
|
||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
%ifarch s390 s390x
|
%if %opt
|
||||||
make UISTYLE=gtk2 NATIVE=false THREADS=false
|
NATIVE=true
|
||||||
%else
|
%else
|
||||||
make UISTYLE=gtk2 NATIVE=true THREADS=true
|
NATIVE=false
|
||||||
%endif
|
%endif
|
||||||
|
make UISTYLE=gtk2 NATIVE=$NATIVE THREADS=true
|
||||||
|
|
||||||
%install
|
%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 -d %{buildroot}/%{_bindir}
|
||||||
install -m 755 %name %{buildroot}%{_bindir}
|
install -m 755 %name %{buildroot}%{_bindir}
|
||||||
install -m 755 -d %{buildroot}/%{_prefix}/share/pixmaps
|
install -m 755 -d %{buildroot}/%{_prefix}/share/pixmaps
|
||||||
install -m 644 %{SOURCE3} %{buildroot}/%{_prefix}/share/pixmaps
|
install -m 644 %{SOURCE3} %{buildroot}/%{_prefix}/share/pixmaps
|
||||||
install -m 644 %{SOURCE1} unison-manual.html
|
install -m 644 %{SOURCE1} unison-manual.html
|
||||||
%suse_update_desktop_file -i %name Utility SyncUtility
|
%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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user