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
This commit is contained in:
Pavol Rusnak 2011-11-21 17:11:07 +00:00 committed by Git OBS Bridge
parent 8148c16d8d
commit ad4c555804
2 changed files with 22 additions and 1 deletions

View File

@ -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 Sat Jul 2 11:53:37 UTC 2011 - jengelh@medozas.de

View File

@ -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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define capname MYGUI %define capname MYGUI
%define _major 3.0 %define _major 3.0
%define _minor 1 %define _minor 1
@ -241,7 +255,9 @@ done
# remove unwanted files # remove unwanted files
rm -r %{buildroot}%{_datadir}/%{capname}/Media/UnitTests rm -r %{buildroot}%{_datadir}/%{capname}/Media/UnitTests
rm -r %{buildroot}%{_datadir}/%{capname}/Media/Wrapper/WrapperBaseApp 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} %fdupes -s %{buildroot}