From 42381f64b9f7c9ca6f59b73a1fee7130c398da56 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 26 Sep 2020 15:05:24 +0200 Subject: [PATCH] - release 2, shared libdir for PHP versions --- php-dirs.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-dirs.spec b/php-dirs.spec index f5730f1..56de6c5 100644 --- a/php-dirs.spec +++ b/php-dirs.spec @@ -6,7 +6,7 @@ Summary: Common dirs for PHP Summary(pl.UTF-8): Wspólne katalogi dla PHP Name: php-dirs Version: 1.10 -Release: 1 +Release: 2 License: GPL Group: Base Source0: php-session.sh @@ -34,7 +34,7 @@ Wspólne katalogi dla PHP. %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/etc/cron.d,/var/{cache,log,run}/php,/var/log/archive/php} \ - $RPM_BUILD_ROOT%{_docdir}/phpdoc $RPM_BUILD_ROOT%{_includedir}/php \ + $RPM_BUILD_ROOT%{_docdir}/phpdoc $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}/php \ $RPM_BUILD_ROOT%{_libexecdir} $RPM_BUILD_ROOT%{php_data_dir} install -p %{SOURCE0} $RPM_BUILD_ROOT%{_libexecdir} @@ -66,6 +66,7 @@ fi %dir %{_docdir}/phpdoc %dir %{_includedir}/php +%dir %{_libdir}/php %dir %{php_data_dir} %attr(775,root,http) %dir %verify(not group mode) /var/log/php -- 2.46.0