- Import 0.6

d3fab7c Introduce SLE-Micro branding

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-default-settings?expand=0&rev=17
This commit is contained in:
Franck Bui 2021-02-17 08:42:51 +00:00 committed by Git OBS Bridge
parent ca8ec8391b
commit 4a672277e5
4 changed files with 28 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2603bacd9587ed5ab15ed540c334b0b16145310a0644f3e1423f3f71fab9c814
size 1784

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10b6c611c0d0b08c3fc3b3a02120574328c4f476ba14cfb9bfa857e07cfad34a
size 1833

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 17 08:40:19 UTC 2021 - Franck Bui <fbui@suse.com>
- Import 0.6
d3fab7c Introduce SLE-Micro branding
-------------------------------------------------------------------
Thu Nov 26 16:04:48 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package systemd-default-settings
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: systemd-default-settings
URL: https://github.com/openSUSE/systemd-default-settings
Version: 0.5
Version: 0.6
Release: 0
Summary: Customization of systemd default settings for SUSE distributions
License: GPL-2.0-or-later
@ -71,6 +71,18 @@ Installing this package restores some of the upstream default settings
by uninstalling all drop-ins shipped by %{name} and its branding sub
package.
%package branding-SLE-Micro
Summary: Specific customization of systemd defaults settings for SLE-Micro
Group: System/Base
Requires: %{name} = %{version}-%{release}
Supplements: packageand(%{name}:branding-SLE-Micro)
Provides: %{name}-branding = %{version}-%{release}
Conflicts: otherproviders(%{name}-branding)
%description branding-SLE-Micro
This package overrides some of the upstream default settings to make
them better suited for SLE-Micro distributions.
%prep
%setup -q
@ -83,6 +95,7 @@ find %{buildroot} -name \*.d -type d -printf "%%%%dir /%%P\n" >SUSE.list
find %{buildroot} -name 20-defaults-SUSE.conf -printf "/%%P\n" >>SUSE.list
find %{buildroot} -name 25-defaults-SLE.conf -printf "/%%P\n" >SLE.list
find %{buildroot} -name 25-defaults-openSUSE.conf -printf "/%%P\n" >openSUSE.list
find %{buildroot} -name 30-defaults-SLE-Micro.conf -printf "/%%P\n" >SLE-Micro.list
%post
# Reloading PID1 is probably not enough as some changes will require
@ -103,4 +116,7 @@ find %{buildroot} -name 25-defaults-openSUSE.conf -printf "/%%P\n" >openSUSE.lis
%files branding-upstream
%defattr(-,root,root)
%files branding-SLE-Micro -f SLE.list -f SLE-Micro.list
%defattr(-,root,root)
%changelog