From ad4c555804fff38d72cd3efec4e5f1f198da8168e5eda26a377c61966dee3f03 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 21 Nov 2011 17:11:07 +0000 Subject: [PATCH] Accepting request 92869 from home:seife:branches:games - fix build on 12.1+ by ignoring error removing non-existant file OBS-URL: https://build.opensuse.org/request/show/92869 OBS-URL: https://build.opensuse.org/package/show/games/MyGUI?expand=0&rev=4 --- MyGUI.changes | 5 +++++ MyGUI.spec | 18 +++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/MyGUI.changes b/MyGUI.changes index 85ae947..8e740f1 100644 --- a/MyGUI.changes +++ b/MyGUI.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 20 14:05:20 UTC 2011 - seife+obs@b1-systems.com + +- fix build on 12.1+ by ignoring error removing non-existant file + ------------------------------------------------------------------- Sat Jul 2 11:53:37 UTC 2011 - jengelh@medozas.de diff --git a/MyGUI.spec b/MyGUI.spec index 4a9e775..6ed7947 100644 --- a/MyGUI.spec +++ b/MyGUI.spec @@ -1,7 +1,21 @@ # +# spec file for package MyGUI +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define capname MYGUI %define _major 3.0 %define _minor 1 @@ -241,7 +255,9 @@ done # remove unwanted files rm -r %{buildroot}%{_datadir}/%{capname}/Media/UnitTests rm -r %{buildroot}%{_datadir}/%{capname}/Media/Wrapper/WrapperBaseApp -rm Docs/html/installdox +# don't ask me where this file went, it vanished with 12.1... +# for now simply ignore the error... :-) +rm Docs/html/installdox || true %fdupes -s %{buildroot}