]> TLD Linux GIT Repositories - packages/php-dirs.git/commitdiff
- release 2, shared libdir for PHP versions
authorMarcin Krol <hawk@tld-linux.org>
Sat, 26 Sep 2020 13:05:24 +0000 (15:05 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 26 Sep 2020 13:05:24 +0000 (15:05 +0200)
php-dirs.spec

index f5730f181e89541bbf5ec7b5d25818dbe6f7e1fc..56de6c59baf829279a586cf5b7ef0e2c673b962d 100644 (file)
@@ -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