[php-phpspec-prophecy] cleanup

Remi Collet remi at fedoraproject.org
Tue Feb 24 13:34:37 UTC 2015


commit bae8010bccd72756de2fdbbf7ac64f22e7923431
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Feb 24 14:34:27 2015 +0100

    cleanup

 php-phpspec-prophecy.spec | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/php-phpspec-prophecy.spec b/php-phpspec-prophecy.spec
index bb5df6e..d90fa0a 100644
--- a/php-phpspec-prophecy.spec
+++ b/php-phpspec-prophecy.spec
@@ -28,7 +28,6 @@ License:        MIT
 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:  %{_bindir}/phpab
 %if %{with_tests}
@@ -76,7 +75,6 @@ EOF
 
 
 %install
-rm -rf       %{buildroot}
 mkdir -p     %{buildroot}%{_datadir}/php
 cp -pr src/* %{buildroot}%{_datadir}/php
 
@@ -92,12 +90,7 @@ cp -pr src/* %{buildroot}%{_datadir}/php
 %endif
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %{!?_licensedir:%global license %%doc}
 %license LICENSE
 %doc *.md


More information about the scm-commits mailing list