File lifecycle-data-sle-live-patching.spec of Package lifecycle-data-sle-live-patching.3765

#
# spec file for package lifecycle-data-sle-live-patching
#
# Copyright (c) 2016 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/
#


Name:           lifecycle-data-sle-live-patching
Version:        1
Release:        0
Summary:        SLE Live Patching Lifecycle Data
License:        GPL-2.0+
Group:          System/Management
Url:            http://www.suse.com/lifecycle
Source:         COPYING
Source1:        sle-live-patching.lifecycle
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Package lifecycle data.  This is the source of zypper lifecycle information.

%prep

%build

%install
mkdir -pv %{buildroot}%{_localstatedir}/lib/lifecycle/data
mkdir -pv %{buildroot}%{_docdir}/%{name}
install -m 644 %{SOURCE0} %{buildroot}%{_docdir}/%{name}/COPYING
install -m 644 %{SOURCE1} %{buildroot}%{_localstatedir}/lib/lifecycle/data/

%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}/COPYING
%dir %{_docdir}/lifecycle-data-sle-live-patching
%dir %{_localstatedir}/lib/lifecycle
%dir %{_localstatedir}/lib/lifecycle/data
%{_localstatedir}/lib/lifecycle/data/sle-live-patching.lifecycle

%changelog