diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-03-26 09:37:36 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-03-26 09:37:36 +0100 |
commit | 441bb0ca3b318354a4caeccce07a7371f0bab265 (patch) | |
tree | 726d1d0a9662f2a53f541290205310d0e79d79b8 | |
parent | e63e9cbd6a2eb77317196f58c35d0796b16707d8 (diff) |
php70: fix unowned directories
-rw-r--r-- | php70.spec | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -16,7 +16,7 @@ Summary: Package that installs PHP 7.0 Name: %scl_name Version: 1.0 -Release: 0.1%{?dist} +Release: 0.2%{?dist} Group: Development/Languages License: GPLv2+ @@ -133,6 +133,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 @@ -146,6 +151,8 @@ if [ "%{_root_sysconfdir}/rpm" != "%{macrosdir}" ]; then fi +%{!?_licensedir:%global license %%doc} + %files @@ -155,9 +162,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 @@ -171,5 +181,9 @@ fi %changelog +* Wed Mar 25 2015 Remi Collet <remi@fedoraproject.org> 1.0-0.2 +- fix licenses location +- own directories for pecl packages + * Wed Mar 25 2015 Remi Collet <remi@fedoraproject.org> 1.0-0.1 - initial packaging
\ No newline at end of file |