[control-center/f17] fix build on s390(x) without Bluetooth

Dan Horák sharkcz at fedoraproject.org
Mon Jul 2 15:03:57 UTC 2012


commit 506ce00cd1a68535f986f05a7e62ccb2d44850e5
Author: Dan Horák <dan at danny.cz>
Date:   Mon Jul 2 17:03:54 2012 +0200

    fix build on s390(x) without Bluetooth

 control-center.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/control-center.spec b/control-center.spec
index f70e88f..4deca9b 100644
--- a/control-center.spec
+++ b/control-center.spec
@@ -17,7 +17,7 @@
 Summary: Utilities to configure the GNOME desktop
 Name: control-center
 Version: 3.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 License: GPLv2+ and GFDL
 Group: User Interface/Desktops
@@ -198,7 +198,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 %{_datadir}/gnome-control-center/pixmaps
 %{_datadir}/gnome-control-center/datetime/
 %{_datadir}/gnome-control-center/sounds/gnome-sounds-default.xml
+%ifnarch s390 s390x
 %{_datadir}/gnome-control-center/bluetooth.ui
+%endif
 %{_datadir}/applications/*.desktop
 %{_datadir}/desktop-directories/*
 %{_datadir}/icons/hicolor/*/*/*
@@ -213,7 +215,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 %{_sysconfdir}/xdg/menus/gnomecc.menu
 %dir %{_libdir}/control-center-1
 %{_libdir}/control-center-1/panels/libbackground.so
+%ifnarch s390 s390x
 %{_libdir}/control-center-1/panels/libbluetooth.so
+%endif
 %{_libdir}/control-center-1/panels/libcolor.so
 %{_libdir}/control-center-1/panels/libdate_time.so
 %{_libdir}/control-center-1/panels/libdisplay.so
@@ -239,6 +243,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 
 
 %changelog
+* Mon Jul 02 2012 Dan Horák <dan[at]danny.cz> - 1:3.4.2-2
+- fix build on s390(x) without Bluetooth
+
 * Tue May 15 2012 Richard Hughes <hughsient at gmail.com> - 1:3.4.2-1
 - Update to 3.4.2
 


More information about the scm-commits mailing list