Marcus Meissner
7d406e241d
- Also create parent directory /run/lock/opencryptoki in tmpfiles snippet if it does not exists. - spec: do not use -D__USE_BSD, a glibc-internal macro which no longer has any meaning. - spec: use %{_unitdir} %{_tmpfilesdir) - spec: call tmpfiles_create macro, if defined in %post - opencryptoki-run-lock.patch, openCryptoki-tmp.conf: use /run/lock instead of /var/lock. OBS-URL: https://build.opensuse.org/request/show/294859 OBS-URL: https://build.opensuse.org/package/show/security/openCryptoki?expand=0&rev=27
12 lines
233 B
Diff
12 lines
233 B
Diff
--- opencryptoki.orig/configure.in
|
|
+++ opencryptoki/configure.in
|
|
@@ -40,7 +40,7 @@ AC_PROG_YACC
|
|
|
|
dnl Define custom variables
|
|
|
|
-lockdir=$localstatedir/lock/opencryptoki
|
|
+lockdir=/run/lock/opencryptoki
|
|
AC_SUBST(lockdir)
|
|
|
|
dnl ---
|