summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php56.spec15
1 files changed, 7 insertions, 8 deletions
diff --git a/php56.spec b/php56.spec
index 3b76f70..36d46b7 100644
--- a/php56.spec
+++ b/php56.spec
@@ -157,7 +157,9 @@ Release: %{rpmrel}%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
-License: PHP and Zend and BSD
+# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
+# ext/date/lib is MIT
+License: PHP and Zend and BSD and MIT and ASL 1.0
Group: Development/Languages
URL: http://www.php.net/
@@ -323,10 +325,6 @@ The php-dbg package contains the interactive PHP debugger.
%package fpm
Group: Development/Languages
Summary: PHP FastCGI Process Manager
-# All files licensed under PHP version 3.01, except
-# Zend is licensed under Zend
-# TSRM and fpm are licensed under BSD
-License: PHP and Zend and BSD
BuildRequires: libacl-devel
Requires: php-common%{?_isa} = %{version}-%{release}
Requires(pre): /usr/sbin/useradd
@@ -386,8 +384,7 @@ Summary: Common files for PHP
# All files licensed under PHP version 3.01, except
# fileinfo is licensed under PHP version 3.0
# regex, libmagic are licensed under BSD
-# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
-License: PHP and BSD and ASL 1.0
+License: PHP and BSD
# ABI/API check - Arch specific
Provides: php(api) = %{apiver}%{isasuffix}
Provides: php(zend-abi) = %{zendver}%{isasuffix}
@@ -1002,6 +999,7 @@ cp ext/mbstring/ucgendat/OPENLDAP_LICENSE ucgendat_LICENSE
cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE
cp ext/phar/LICENSE phar_LICENSE
cp ext/bcmath/libbcmath/COPYING.LIB libbcmath_COPYING
+cp ext/date/lib/LICENSE.rst timelib_LICENSE
# Multiple builds for multiple SAPIs
mkdir build-cgi build-apache build-embedded \
@@ -1851,9 +1849,10 @@ fi
%files common -f files.common
%defattr(-,root,root)
%doc CODING_STANDARDS CREDITS EXTENSIONS NEWS README*
-%license LICENSE Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
+%license LICENSE TSRM_LICENSE regex_COPYRIGHT
%license libmagic_LICENSE
%license phar_LICENSE
+%license timelib_LICENSE
%doc php.ini-*
%config(noreplace) %{_sysconfdir}/php.ini
%dir %{_sysconfdir}/php.d