[php-phpunit-environment] cleanups

Remi Collet remi at fedoraproject.org
Mon Apr 14 05:28:32 UTC 2014


commit bfdb76d338eadde1913c4438863b17c45d587bc2
Author: Remi Collet <remi at fedoraproject.org>
Date:   Mon Apr 14 07:28:00 2014 +0200

    cleanups

 php-phpunit-environment.spec |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/php-phpunit-environment.spec b/php-phpunit-environment.spec
index 4de86c3..13d6db0 100644
--- a/php-phpunit-environment.spec
+++ b/php-phpunit-environment.spec
@@ -23,7 +23,6 @@ License:        BSD
 URL:            https://github.com/%{gh_owner}/%{gh_project}
 Source0:        https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  php(language) >= 5.3.3
 %if %{with_tests}
@@ -62,7 +61,6 @@ EOF
 
 
 %install
-rm -rf     %{buildroot}
 mkdir -p   %{buildroot}%{php_home}
 cp -pr src %{buildroot}%{php_home}/Environment
 
@@ -73,12 +71,7 @@ phpunit --bootstrap psr0.php
 %endif
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc LICENSE README.md composer.json
 %dir %{php_home}
 %{php_home}/Environment


More information about the scm-commits mailing list