summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-06 15:14:44 +0100
committerRemi Collet <remi@remirepo.net>2020-01-06 15:14:44 +0100
commitb793ad35d2f4916e94648bc7ff5f0a3c73510373 (patch)
tree549c63f4ef22814421e5642e8c2a0f1a93720f63
parent82d6f0863e13fb73a99f54fa72f73d9e84455526 (diff)
own /usr/share/php/Zend
-rw-r--r--php-laminas-zendframework-bridge.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-laminas-zendframework-bridge.spec b/php-laminas-zendframework-bridge.spec
index d7aa563..91a5c35 100644
--- a/php-laminas-zendframework-bridge.spec
+++ b/php-laminas-zendframework-bridge.spec
@@ -83,9 +83,10 @@ grep -v '^<?php' upstream.php | tee -a src/autoload.php
%install
+mkdir -p %{buildroot}%{php_home}/Zend/
mkdir -p %{buildroot}%{php_home}/%{namespace}/
-cp -pr src %{buildroot}%{php_home}/%{namespace}//%{library}
-cp -pr config %{buildroot}%{php_home}/%{namespace}//%{library}/config
+cp -pr src %{buildroot}%{php_home}/%{namespace}/%{library}
+cp -pr config %{buildroot}%{php_home}/%{namespace}/%{library}/config
%check
@@ -122,6 +123,7 @@ exit $ret
%license LICENSE
%doc *.md
%doc composer.json
+%dir %{php_home}/Zend
%dir %{php_home}/%{namespace}
%{php_home}/%{namespace}/%{library}