File dotnet-runtime.spec of Package dotnet-runtime-3.1.9

#
# spec file for SUSE CAP buildpack dependency
#
# 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.



Name:           dotnet-runtime-3.1.9
Version:        3.1.9
Release:        1
Summary:        This is a dependency used in SUSE CAP buildpacks
License:        MIT
Group:          Cloud/Platform/kubecf
Url:            https://dotnet.microsoft.com/
Source:         https://buildpacks.cloudfoundry.org/dependencies/dotnet-runtime/dotnet-runtime_3.1.9_linux_x64_any-stack_45c52c88.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%define otherdir %{_topdir}/OTHER

%description

%prep

%build
cp %{SOURCE0} %{otherdir}/

FILENAME=$(basename %{SOURCE0})

pushd %{otherdir}/
sha256sum ${FILENAME} > ${FILENAME}.sha256
popd

%files
%defattr(-,root,root)

%changelog

openSUSE Build Service is sponsored by