]> git.pld-linux.org Git - packages/syslog-ng.git/commitdiff
fix build without tests
authorJan Palus <atler@pld-linux.org>
Sat, 19 Nov 2022 19:05:36 +0000 (20:05 +0100)
committerJan Palus <atler@pld-linux.org>
Sat, 19 Nov 2022 19:05:36 +0000 (20:05 +0100)
syslog-ng.spec

index 9bcb65a4071b71d1ec4388185c30830bb76e8235..65a175bd25ad48a44d4a629275ff3508505533b9 100644 (file)
@@ -815,6 +815,7 @@ rm -f %{_var}/lib/%{name}/syslog-ng.persist
 %{_pkgconfigdir}/syslog-ng.pc
 %{_pkgconfigdir}/syslog-ng-native-connector.pc
 
+%if %{with tests}
 %files test-devel
 %defattr(644,root,root,755)
 %if "%{_libdir}/syslog-ng" != "{moduledir}"
@@ -824,3 +825,4 @@ rm -f %{_var}/lib/%{name}/syslog-ng.persist
 %{_libdir}/syslog-ng/libtest/libsyslog-ng-test.a
 %{_includedir}/syslog-ng/libtest
 %{_pkgconfigdir}/syslog-ng-test.pc
+%endif
This page took 0.210283 seconds and 4 git commands to generate.