Accepting request 944894 from home:hillwood:branches:X11:Deepin

- Fix login.defs path on Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/944894
OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-daemon?expand=0&rev=18
This commit is contained in:
2022-01-08 12:07:23 +00:00
committed by Git OBS Bridge
parent 8115a427ea
commit 04c3d7146c
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 8 11:55:45 UTC 2022 - Hillwood Yang <hillwood@opensuse.org>
- Fix login.defs path on Tumbleweed
-------------------------------------------------------------------
Fri Sep 3 07:04:36 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package deepin-daemon
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -185,6 +185,10 @@ sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/wallpapers/op
sed -i 's|/lib/udev|/usr/lib/udev|g' Makefile
sed -i 's|/etc/modules-load.d|/usr/lib/modules-load.d|g' Makefile
%if 0%{?suse_version} > 1500
sed -i 's|/etc/login.defs|/usr/etc/login.defs' users/list.go users/testdata/login.defs
%endif
%build
%goprep %{import_path}
%gobuild ...