diff options
Diffstat (limited to 'php-sabre-http.spec')
-rw-r--r-- | php-sabre-http.spec | 6 |
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} |