[php-symfony] move it before %file (else doesn't work)

Remi Collet remi at fedoraproject.org
Sat Jul 19 06:23:01 UTC 2014


commit 54dc558bf2c76fe1149dae7dc9b8536e364ae00e
Author: Remi Collet <remi at fedoraproject.org>
Date:   Sat Jul 19 08:23:22 2014 +0200

    move it before %file (else doesn't work)

 php-symfony.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-symfony.spec b/php-symfony.spec
index dc3eba8..96c753e 100644
--- a/php-symfony.spec
+++ b/php-symfony.spec
@@ -64,8 +64,6 @@
 # Build using "--without tests" to disable tests
 %global with_tests   %{?_without_tests:0}%{!?_without_tests:1}
 
-%{!?_licensedir:%global license %%doc}
-
 Name:          php-%{composer_project}
 Version:       %{github_version}
 Release:       2%{?dist}
@@ -1555,6 +1553,8 @@ exit $RET
 %endif
 
 
+%{!?_licensedir:%global license %%doc}
+
 %files
 %if 0%{?fedora} >= 20
 %doc %{_docdir}/%{name}


More information about the scm-commits mailing list