+%manifest dlog.manifest
+%license LICENSE.APACHE2.0 LICENSE.MIT
+%{_sysconfdir}/dlog.conf.d/25-logger.conf
+%{_unitdir}/dlog_logger.service.d/logger-devices.conf
+
+%files -n log-syslog
+%manifest dlog.manifest
+%license LICENSE.APACHE2.0 LICENSE.MIT
+%{_unitdir}/sockets.target.wants/dlog_dev-log.socket
+%{_unitdir}/dlog_dev-log.socket
+
+%files config-persistent-logs
+%{_sysconfdir}/dlog.conf.d/10-persistent-logs.conf
+
+%files -n dlog-doc
+%manifest dlog.manifest
+%license LICENSE.APACHE2.0 LICENSE.MIT
+/usr/share/doc/dlog
+
+%files -n dlog-tests
+%manifest dlog.manifest
+%license LICENSE.APACHE2.0 LICENSE.MIT
+%{_bindir}/dlog_test
+/usr/share/doc/dlog/README.testsuite
+%{_libexecdir}/libdlog/perf_libdlog
+%{_libexecdir}/libdlog/test_libdlog
+%{_libexecdir}/libdlog/test_filters
+%{_datadir}/dlog-pipe.conf.test
+%{_datadir}/dlog-logger.conf.test
+%{_sysconfdir}/dlog.conf.d/99-dlog-logger.disable-platform-logging-for-testsuite.conf
+%dir %attr(755,log,log) /var/lib/dlog-tests
+%dir %attr(755,log,log) /usr/share/dlog-filters.conf.test
+
+%post -n dlog-tests
+chsmack -a System /var/lib/dlog-tests
+echo "Warning! Installation of dlog-tests will break platform logging."
+echo "This is done intentionally, to make logger backend testing possible."
+echo "To restore normal behavior, please uninstall dlog-tests package."
+echo ""
+echo "For more information please read the /usr/share/doc/dlog/README.testsuite file"
+echo ""
+echo "A reboot is required to properly configure logger backend for testing."