File lifecycle-data-sle-module-legacy.spec of Package lifecycle-data-sle-module-legacy.8469

# spec file for package lifecycle-data-sle-module-legacy
# 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

Name:           lifecycle-data-sle-module-legacy
Version:        1
Release:        0
Summary:        SLE Legacy Module Lifecycle Data
License:        GPL-2.0+
Group:          System/Management
Source:         COPYING
Source1:        lifecycle_data.x86_64.txt
Source2:        lifecycle_data.s390x.txt
Source3:        lifecycle_data.ppc64le.txt
Source4:        lifecycle_data.aarch64.txt

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  x86_64 s390x ppc64le aarch64

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



mkdir -pv %{buildroot}%{_localstatedir}/lib/lifecycle/data
mkdir -pv %{buildroot}%{_docdir}/%{name}
install -m 644 %{SOURCE0} %{buildroot}%{_docdir}/%{name}/COPYING
install -m 644 %{_sourcedir}/lifecycle_data.%{_arch}.txt  %{buildroot}/%{_localstatedir}/lib/lifecycle/data/sle-module-legacy.lifecycle

%doc %{_docdir}/%{name}/COPYING
%dir %{_docdir}/lifecycle-data-sle-module-legacy
%dir %{_localstatedir}/lib/lifecycle
%dir %{_localstatedir}/lib/lifecycle/data

openSUSE Build Service is sponsored by