]> granicus.if.org Git - icinga2/commitdiff
Prevent empty icinga2 package by adding COPYING
authorTim Hardeck <thardeck@suse.de>
Sat, 5 Jul 2014 10:34:31 +0000 (12:34 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 30 Jul 2014 11:42:07 +0000 (13:42 +0200)
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

index 774f4489ac306f611706d69aa98408ac74d7a8b7..74f7e16dc5b2d558a757a2fe3c38084d8dd15004 100644 (file)
@@ -471,6 +471,8 @@ fi
 exit 0
 
 %files
+%defattr(-,root,root,-)
+%doc COPYING
 
 %files bin
 %defattr(-,root,root,-)