summaryrefslogtreecommitdiffstats
path: root/php-sabre-http.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-20 11:14:37 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-20 11:14:37 +0200
commit72d121859bf702fa4cab69200a7fcbef60d55c0c (patch)
tree7dbd4d4473afa39b6d9bd1e9fcbf1272069563ae /php-sabre-http.spec
parent61baa04e540db0947f7acbdbba2a015b29da7250 (diff)
php-sabre-http: cleanup
Diffstat (limited to 'php-sabre-http.spec')
-rw-r--r--php-sabre-http.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-sabre-http.spec b/php-sabre-http.spec
index 3a8ea11..eb696e7 100644
--- a/php-sabre-http.spec
+++ b/php-sabre-http.spec
@@ -107,6 +107,8 @@ cp %{SOURCE1} lib/autoload.php
%install
+rm -rf %{buildroot}
+
# Install as a PSR-0 library
mkdir -p %{buildroot}%{_datadir}/php/Sabre
cp -pr lib %{buildroot}%{_datadir}/php/Sabre/HTTP
@@ -124,6 +126,10 @@ phpunit \
%endif
+%clean
+rm -rf %{buildroot}
+
+
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}