# # spec file for package system-lock-formula # # 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 # 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 https://bugs.opensuse.org/ # %define fname system-lock %define fdir %{_datadir}/salt-formulas Name: system-lock-formula Version: 0.2 Release: 220400.1.25.uyuni2 Summary: Salt formula for configuring Salt blackout mode License: Apache-2.0 Group: System/Packages Url: https://github.com/SUSE/salt-formulas Source: system-lock-formula-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Salt formula for configuring Salt blackout mode. %prep %setup -q %build %install mkdir -p %{buildroot}%{fdir}/states/%{fname} mkdir -p %{buildroot}%{fdir}/metadata/%{fname} cp -R system-lock/* %{buildroot}%{fdir}/states/%{fname} cp -R metadata/* %{buildroot}%{fdir}/metadata/%{fname} %files %defattr(-,root,root) %license LICENSE %dir %{_datadir}/salt-formulas %dir %{fdir} %dir %{fdir}/states %dir %{fdir}/metadata %{fdir}/states/%{fname} %{fdir}/metadata/%{fname} %changelog * Tue Mar 10 2020 Michele Bologna - Clarified terms along documentation and product (bsc#1166061) * Tue Mar 3 2020 jgonzalez@suse.com - Update copyright * Thu Dec 5 2019 malbu@suse.com - Initial version of system-lock-formula