From 901bbeb97c83b77e49c85bdeb35970b208d05f35462f2da965d3c9c51bc40832 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 29 Aug 2014 07:11:07 +0000 Subject: [PATCH] - make /run/lock %ghost to fix build failure OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=127 --- directory.list | 1 - filesystem.changes | 5 +++++ filesystem.spec | 9 ++++++--- ghost.list | 1 + 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/directory.list b/directory.list index 4fa98a1..11d539e 100644 --- a/directory.list +++ b/directory.list @@ -68,7 +68,6 @@ 0700 root root /root/.gnupg 0755 root root /root/bin 0755 root root /run -0775 root lock /run/lock 0755 root root /sbin 0755 root root /selinux 0755 root root /srv/ftp diff --git a/filesystem.changes b/filesystem.changes index 27253ef..4f2bed0 100644 --- a/filesystem.changes +++ b/filesystem.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 29 07:10:41 UTC 2014 - lnussel@suse.de + +- make /run/lock %ghost to fix build failure + ------------------------------------------------------------------- Wed Apr 23 18:44:15 CEST 2014 - ro@suse.de diff --git a/filesystem.spec b/filesystem.spec index 6e5cb19..d7fb4d0 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -23,9 +23,10 @@ Group: System/Fhs Version: %(echo %suse_version | cut -b-2).%(echo %suse_version | cut -b3) Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Obsoletes: aaa_dir -Provides: aaa_dir -Source: directory.list +Obsoletes: aaa_dir < %version-%release +Provides: aaa_dir = %version-%release +Url: https://build.opensuse.org/package/show/openSUSE:Factory/filesystem +Source0: directory.list Source1: filesystem.links Source2: languages Source3: ghost.list @@ -40,6 +41,8 @@ the home directories of system users. %prep %setup -c -n filesystem -T +%build + %install function create_dir () { local MODE=$1 diff --git a/ghost.list b/ghost.list index 4e2d602..e0c38c1 100644 --- a/ghost.list +++ b/ghost.list @@ -1,2 +1,3 @@ 1777 root root /tmp/.X11-unix 1777 root root /tmp/.ICE-unix +0775 root lock /run/lock