diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-03-26 09:37:10 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-03-26 09:37:10 +0100 |
commit | 9ab330107f4ade9c7d5f98bfeee64b7567489d19 (patch) | |
tree | d6b4b9894ac5f742aa0329937cea821788eb383c | |
parent | 192708264d478e2c86d9f653702f2fc550a5b046 (diff) |
php55: fix unowned directories
-rw-r--r-- | php55.spec | 24 |
1 files changed, 19 insertions, 5 deletions
@@ -15,8 +15,8 @@ Summary: Package that installs PHP 5.5 Name: %scl_name -Version: 2.0 -Release: 3%{?dist} +Version: 2.1 +Release: 1%{?dist} Group: Development/Languages License: GPLv2+ @@ -30,9 +30,9 @@ BuildRequires: help2man # Temporary work-around BuildRequires: iso-codes -Requires: %{?scl_prefix}php-common%{?_isa} >= 5.5.22 +Requires: %{?scl_prefix}php-common%{?_isa} >= 5.5.23 Requires: %{?scl_prefix}php-cli%{?_isa} -Requires: %{?scl_prefix}php-pear >= 1:1.9.5-8 +Requires: %{?scl_prefix}php-pear >= 1:1.9.5-9 Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} %description @@ -130,6 +130,11 @@ install -D -m 644 envmod %{buildroot}%{_scl_scripts}/%{scl_name} install -D -m 644 scldev %{buildroot}%{macrosdir}/macros.%{scl_name_base}-scldevel install -D -m 644 %{scl_name}.7 %{buildroot}%{_mandir}/man7/%{scl_name}.7 +install -d -m 755 %{buildroot}%{_datadir}/licenses +install -d -m 755 %{buildroot}%{_datadir}/doc/pecl +install -d -m 755 %{buildroot}%{_datadir}/tests/pecl +install -d -m 755 %{buildroot}%{_localstatedir}/lib/pear/pkgxml + %scl_install # Add the scl_package_override macro @@ -143,6 +148,8 @@ if [ "%{_root_sysconfdir}/rpm" != "%{macrosdir}" ]; then fi +%{!?_licensedir:%global license %%doc} + %files @@ -152,9 +159,12 @@ fi %files runtime -f filesystem %endif %defattr(-,root,root) -%doc README LICENSE +%license LICENSE +%doc README %scl_files %{_mandir}/man7/%{scl_name}.* +%{?_licensedir:%{_datadir}/licenses} +%{_datadir}/tests %files build @@ -168,6 +178,10 @@ fi %changelog +* Wed Mar 25 2015 Remi Collet <remi@fedoraproject.org> 2.1-1 +- fix licenses location +- own directories for pecl packages + * Mon Mar 2 2015 Remi Collet <remi@fedoraproject.org> 2.0-3 - add environement module file |