%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
%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