From: Marcin Krol Date: Mon, 13 Nov 2017 12:45:26 +0000 (+0000) Subject: - versioned datadir X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=cf803f4380625807621480d31ea3fda3a7e703d8;p=packages%2Fphp.git - versioned datadir --- diff --git a/php.spec b/php.spec index 5beafb8..4f270f6 100644 --- a/php.spec +++ b/php.spec @@ -283,7 +283,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define php_sysconfdir /etc/%{name} %define php_extensiondir %{_libdir}/%{name} -%define php_datadir /usr/share/%{name} +%define php_datadir /usr/share/php/%{name} %define _sysconfdir %{php_sysconfdir} # must be in sync with source. extra check ensuring that it is so is done in %%build @@ -2926,6 +2926,7 @@ fi %dir %{_sysconfdir}/conf.d %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini %attr(755,root,root) %{_libdir}/libphp_common-*.so +%dir %{php_datadir} %dir %{php_extensiondir} %doc ext/session/mod_files.sh