Accepting request 577279 from devel:openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/577279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-test-trivial?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-02-18 10:43:05 +00:00 committed by Git OBS Bridge
commit ec2ed56ff8
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 8 15:37:23 UTC 2018 - mkravec@suse.com
- Fix broken subpackage failing condition for Kubic
-------------------------------------------------------------------
Wed Dec 20 14:45:28 UTC 2017 - bbrunner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package update-test-trivial
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -134,7 +134,7 @@ An update for this package should fail.
%pre -n update-test-broken
if [ $1 -ne 1 ]; then
if [[ "$(cat /etc/YaST2/build)" == *"SUSE-CaaS-Platform-"* ]]; then
if [[ "$(cat /etc/YaST2/build)" =~ -(CaaS-Platform|Tumbleweed-Kubic)- ]]; then
sed -i -e 's,foo\t,bar\t,g' /some/none/existing/file
fi
fi