From ec8e16d40bae55e504670967600a5c4d1f8e60e6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 31 Jul 2014 07:33:21 +0200 Subject: [PATCH] fix licenses handling --- php.spec | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/php.spec b/php.spec index 32d850c..61961e0 100644 --- a/php.spec +++ b/php.spec @@ -1380,10 +1380,10 @@ exit 0 %{_httpd_contentdir}/icons/php.gif %files common -f files.common -%doc CODING_STANDARDS CREDITS EXTENSIONS LICENSE NEWS README* -%doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT -%doc libmagic_LICENSE -%doc phar_LICENSE +%doc CODING_STANDARDS CREDITS EXTENSIONS NEWS README* +%license LICENSE Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT +%license libmagic_LICENSE +%license phar_LICENSE %doc php.ini-* %config(noreplace) %{_sysconfdir}/php.ini %dir %{_sysconfdir}/php.d @@ -1421,7 +1421,7 @@ exit 0 %files fpm %doc php-fpm.conf.default -%doc fpm_LICENSE +%license fpm_LICENSE %attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session %attr(0770,root,apache) %dir %{_localstatedir}/lib/php/wsdlcache %config(noreplace) %{_sysconfdir}/php-fpm.conf @@ -1465,17 +1465,17 @@ exit 0 %files xml -f files.xml %files xmlrpc -f files.xmlrpc %files mbstring -f files.mbstring -%doc libmbfl_LICENSE -%doc oniguruma_COPYING -%doc ucgendat_LICENSE +%license libmbfl_LICENSE +%license oniguruma_COPYING +%license ucgendat_LICENSE %files gd -f files.gd %if ! %{with_libgd} -%doc libgd_README -%doc libgd_COPYING +%license libgd_README +%license libgd_COPYING %endif %files soap -f files.soap %files bcmath -f files.bcmath -%doc libbcmath_COPYING +%license libbcmath_COPYING %files gmp -f files.gmp %files dba -f files.dba %files pdo -f files.pdo @@ -1498,6 +1498,7 @@ exit 0 * Thu Jul 31 2014 Remi Collet 5.6.0-0.4.RC3 - php 5.6.0RC3 - cleanup with_libmysql +- fix licenses handling * Mon Jul 7 2014 Remi Collet 5.6.0-0.3.RC2 - php 5.6.0RC2