--enable-dynamic-filters
%endif
-make %{?jobs:-j%jobs} CFLAGS+='-D__DLOG_VERSION=\"%{version}\" -D__DLOG_RELEASE=\"%{release}\" -DDLOG_CRITICAL_LOGFILE=\"/var/log/dlog_critical\"'
+make %{?jobs:-j%jobs} CFLAGS+='-D__DLOG_VERSION=\"%{version}\" -D__DLOG_RELEASE=\"%{release}\" -DDLOG_CRITICAL_LOGFILE=\"/var/log/dlog/critical\"'
# autoconf adds a bunch of flags, including -O2.
# Clear those so that test coverage can be measured properly
/sbin/ldconfig
systemctl daemon-reload
chsmack -a System /var/log/dlog
-touch /var/log/dlog_critical
-chmod 660 /var/log/dlog_critical
-chown log:log /var/log/dlog_critical
-chsmack -a '*' /var/log/dlog_critical
+touch /var/log/dlog/critical
+chmod 660 /var/log/dlog/critical
+chown log:log /var/log/dlog/critical
+chsmack -e 'System' %{_libexecdir}/dlog-log-critical
%postun -n libdlog -p /sbin/ldconfig
#include <string.h>
#ifndef DLOG_CRITICAL_LOGFILE
- #define DLOG_CRITICAL_LOGFILE "/var/log/dlog_critical"
+ #define DLOG_CRITICAL_LOGFILE "/var/log/dlog/critical"
#endif
int main (int argc, char **argv)