Exclude the obexftp package from s390 builds

This commit is contained in:
Tomas Bzatek 2012-02-03 14:32:28 +01:00
parent c950acb912
commit b440bc51f5
1 changed files with 14 additions and 8 deletions

View File

@ -3,7 +3,7 @@
Summary: Backends for the gio framework in GLib Summary: Backends for the gio framework in GLib
Name: gvfs Name: gvfs
Version: 1.11.3 Version: 1.11.3
Release: 0.3.%{alphatag}%{?dist} Release: 0.4.%{alphatag}%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.gtk.org URL: http://www.gtk.org
@ -89,6 +89,7 @@ This package provides support for accessing files inside Zip and Tar archives,
as well as ISO images, to applications using gvfs. as well as ISO images, to applications using gvfs.
%ifnarch s390 s390x
%package obexftp %package obexftp
Summary: ObexFTP support for gvfs Summary: ObexFTP support for gvfs
Group: System Environment/Libraries Group: System Environment/Libraries
@ -100,6 +101,7 @@ Obsoletes: gnome-vfs2-obexftp <= 0.4
%description obexftp %description obexftp
This package provides support for reading files on Bluetooth mobile phones This package provides support for reading files on Bluetooth mobile phones
and devices through ObexFTP to applications using gvfs. and devices through ObexFTP to applications using gvfs.
%endif
%package gphoto2 %package gphoto2
@ -115,6 +117,7 @@ This package provides support for reading and writing files on
PTP based cameras (Picture Transfer Protocol) and MTP based PTP based cameras (Picture Transfer Protocol) and MTP based
media players (Media Transfer Protocol) to applications using gvfs. media players (Media Transfer Protocol) to applications using gvfs.
%ifnarch s390 s390x %ifnarch s390 s390x
%package afc %package afc
Summary: AFC support for gvfs Summary: AFC support for gvfs
@ -128,6 +131,7 @@ This package provides support for reading files on mobile devices
including phones and music players to applications using gvfs. including phones and music players to applications using gvfs.
%endif %endif
%package afp %package afp
Summary: AFP support for gvfs Summary: AFP support for gvfs
Group: System Environment/Libraries Group: System Environment/Libraries
@ -193,11 +197,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
killall -USR1 gvfsd >&/dev/null || : killall -USR1 gvfsd >&/dev/null || :
%post archive %post archive
killall -USR1 gvfsd >&/dev/null || : killall -USR1 gvfsd >&/dev/null || :
%post obexftp
killall -USR1 gvfsd >&/dev/null || :
%post gphoto2 %post gphoto2
killall -USR1 gvfsd >&/dev/null || : killall -USR1 gvfsd >&/dev/null || :
%ifnarch s390 s390x %ifnarch s390 s390x
%post obexftp
killall -USR1 gvfsd >&/dev/null || :
%post afc %post afc
killall -USR1 gvfsd >&/dev/null || : killall -USR1 gvfsd >&/dev/null || :
%endif %endif
@ -288,11 +292,6 @@ killall -USR1 gvfsd >&/dev/null || :
%{_datadir}/gvfs/mounts/archive.mount %{_datadir}/gvfs/mounts/archive.mount
%files obexftp
%{_libexecdir}/gvfsd-obexftp
%{_datadir}/gvfs/mounts/obexftp.mount
%files gphoto2 %files gphoto2
%{_libexecdir}/gvfsd-gphoto2 %{_libexecdir}/gvfsd-gphoto2
%{_datadir}/gvfs/mounts/gphoto2.mount %{_datadir}/gvfs/mounts/gphoto2.mount
@ -301,6 +300,10 @@ killall -USR1 gvfsd >&/dev/null || :
%{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor %{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor
%ifnarch s390 s390x %ifnarch s390 s390x
%files obexftp
%{_libexecdir}/gvfsd-obexftp
%{_datadir}/gvfs/mounts/obexftp.mount
%files afc %files afc
%{_libexecdir}/gvfsd-afc %{_libexecdir}/gvfsd-afc
%{_datadir}/gvfs/mounts/afc.mount %{_datadir}/gvfs/mounts/afc.mount
@ -316,6 +319,9 @@ killall -USR1 gvfsd >&/dev/null || :
%{_datadir}/gvfs/mounts/afp-browse.mount %{_datadir}/gvfs/mounts/afp-browse.mount
%changelog %changelog
* Fri Feb 3 2012 Tomas Bzatek <tbzatek@redhat.com> - 1.11.3-0.4.20120120
- Exclude the obexftp package from s390 builds
* Wed Jan 25 2012 Tomas Bzatek <tbzatek@redhat.com> - 1.11.3-0.3.20120120 * Wed Jan 25 2012 Tomas Bzatek <tbzatek@redhat.com> - 1.11.3-0.3.20120120
- Rebuilt for new libarchive - Rebuilt for new libarchive