From 4747f5dfd0b93ff510b9242a019b648a437093a9 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 13 Nov 2017 12:45:52 +0000 Subject: [PATCH] - versioned datadir --- php.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php.spec b/php.spec index 7befc1e..d5dbcca 100644 --- a/php.spec +++ b/php.spec @@ -293,7 +293,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 @@ -3012,6 +3012,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 -- 2.46.0