[bacula] Put license macro check in proper place

Simone Caronni slaanesh at fedoraproject.org
Tue Feb 24 17:40:35 UTC 2015


commit 306093510e587a328949b435a5a88613c5d5161a
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Tue Feb 24 18:40:29 2015 +0100

    Put license macro check in proper place

 bacula.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index a0ccebe..6aea147 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -1,5 +1,3 @@
-%{!?_licensedir:%global license %%doc}
-
 %global uid 133
 %global username bacula
 
@@ -582,6 +580,7 @@ fi
 %endif
 
 %files libs
+%{!?_licensedir:%global license %%doc}
 %license LICENSE
 %doc AUTHORS ChangeLog SUPPORT ReleaseNotes
 %defattr(-,root,root,-)


More information about the scm-commits mailing list