Accepting request 625014 from home:okurz:branches:Cloud:Tools

Add package installation and post-install self-test

OBS-URL: https://build.opensuse.org/request/show/625014
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cf-cli?expand=0&rev=46
This commit is contained in:
Tim Hardeck 2018-07-31 15:16:39 +00:00 committed by Git OBS Bridge
parent a3494001b6
commit c8c9dd1c1d
3 changed files with 51 additions and 1 deletions

44
cf-cli-test.spec Normal file
View File

@ -0,0 +1,44 @@
#
# spec file for package cf-cli-test
#
# 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
# 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 short_name cf-cli
Name: %{short_name}-test
Version: 6.37.0
Release: 0
Summary: Test package for Cloud Foundry command line client
License: Apache-2.0
BuildRequires: %{short_name} == %{version}
%description
.
%prep
# workaround to prevent post/install failing assuming this file for whatever
# reason
touch %{_sourcedir}/%{short_name}
%build
# call one of the components but not openqa itself which would need a valid
# configuration
cf --help
%install
# disable debug packages in package test to prevent error about missing files
%define debug_package %{nil}
%changelog

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jul 14 07:00:45 UTC 2018 - okurz@suse.com
- Add package installation and post-install self-test
-------------------------------------------------------------------
Tue May 29 21:51:23 UTC 2018 - thardeck@suse.com

View File

@ -23,7 +23,8 @@
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
Name: cf-cli
%define short_name cf-cli
Name: %{short_name}
Version: 6.37.0
Release: 0
Summary: Cloud Foundry command line client