From 98aaff4e01d861d07fef8b54522384e122ccc921 Mon Sep 17 00:00:00 2001 From: Tim Hardeck Date: Sat, 5 Jul 2014 12:34:31 +0200 Subject: [PATCH] Prevent empty icinga2 package by adding COPYING Empty packages are not allowed on SLES11 and also produce a warning in newer openSUSE releases. So we just work around the issue by adding the COPYING file. refs #5818 --- icinga2.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icinga2.spec b/icinga2.spec index 774f4489a..74f7e16dc 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -471,6 +471,8 @@ fi exit 0 %files +%defattr(-,root,root,-) +%doc COPYING %files bin %defattr(-,root,root,-)