summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-06 11:12:15 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-06 11:12:15 +0200
commite188609a5c0bb6451f88aa36853563b6551420c4 (patch)
treea286aa1696b37e9197141bb2c965144e282e2205
parentaf4a1ae94c79f8726919b3ab4eff102dcd313d79 (diff)
php-hoa-stream: improve install
-rw-r--r--php-hoa-protocol.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-hoa-protocol.spec b/php-hoa-protocol.spec
index ba95444..097d5d5 100644
--- a/php-hoa-protocol.spec
+++ b/php-hoa-protocol.spec
@@ -78,8 +78,8 @@ cp %{SOURCE2} LICENSE
rm -rf %{buildroot}
mkdir -p %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}
cp -pr *php %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/
-cp -pr Bin %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/Bin
-cp -pr Node %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/Node
+find . -mindepth 1 -maxdepth 1 -type d \! -name Test -print -exec \
+ cp -pr {} %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project} \; \
%check