commit 37ef151d86792a3a10cf031c6686f376d2bc1ca4
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Fri Dec 8 11:12:06 2023 +0100

    ghost lot file

 earlyoom.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/earlyoom.spec b/earlyoom.spec
index d5828c6..fd12e9f 100644
--- a/earlyoom.spec
+++ b/earlyoom.spec
@@ -40,6 +40,7 @@ sed -i -e 's#/default/#/sysconfig/#g' Makefile 
earlyoom.service.in
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d}
+install -d $RPM_BUILD_ROOT/var/log
 
 %{__make} install \
        PREFIX=%{_prefix} \
@@ -51,6 +52,8 @@ install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d}
 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
+:> $RPM_BUILD_ROOT/var/log/%{name}.log
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -78,4 +81,5 @@ fi
 %{systemdunitdir}/%{name}.service
 %{_mandir}/man1/%{name}.*
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
/etc/sysconfig/%{name}
+%ghost %{_var}/log/%{name}.log
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/earlyoom.git/commitdiff/37ef151d86792a3a10cf031c6686f376d2bc1ca4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to