forked from pool/obs-service-kiwi_metainfo_helper
Accepting request 800063 from home:favogt:servicetest
- Strip service prefix from the recipe name to work with enabled services in OBS OBS-URL: https://build.opensuse.org/request/show/800063 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-kiwi_metainfo_helper?expand=0&rev=7
This commit is contained in:
parent
0d225907de
commit
8af2e23907
@ -9,6 +9,9 @@ fi
|
||||
BUILD_DATA="${BUILD_DIST/.dist/.data}"
|
||||
. "${BUILD_DATA}"
|
||||
|
||||
# The build script renames the recipe (to strip _service:foo:), but doesn't update .data
|
||||
RECIPEFILE="${RECIPEFILE##*:}"
|
||||
|
||||
if [ "${RECIPEFILE##*.}" != "kiwi" ]; then
|
||||
echo "Recipe is not a kiwi file - exiting"
|
||||
exit 0
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 4 13:40:20 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Strip service prefix from the recipe name to work with enabled
|
||||
services in OBS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 15:42:38 UTC 2019 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package obs-service-kiwi_metainfo_helper
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ Release: 0
|
||||
Summary: Service for substituting various variables in kiwi recipes
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Url: https://build.opensuse.org
|
||||
URL: https://build.opensuse.org
|
||||
Source0: kiwi_metainfo_helper.service
|
||||
Source1: kiwi_metainfo_helper
|
||||
Source2: README
|
||||
|
Loading…
Reference in New Issue
Block a user