remi pushed to php-phpspec (master). "cleanup"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue May 5 05:30:40 UTC 2015


>From da7bd3acff087298d5fe4f638916c742b714e993 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi at fedoraproject.org>
Date: Tue, 5 May 2015 07:25:59 +0200
Subject: cleanup


diff --git a/php-phpspec.spec b/php-phpspec.spec
index 8b7b006..f3b183a 100644
--- a/php-phpspec.spec
+++ b/php-phpspec.spec
@@ -26,7 +26,6 @@ Source1:        %{gh_project}-autoload.php
 # Use our autoloader
 Patch0:         %{gh_project}-rpm.patch
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  %{_bindir}/phpunit
 BuildRequires:  php-composer(phpspec/prophecy)         >= 1.4
@@ -113,7 +112,6 @@ cp %{SOURCE1} src/PhpSpec/autoload.php
 
 %install
 # No namespace, so use a package specific dir
-rm -rf             %{buildroot}
 mkdir -p           %{buildroot}%{_datadir}/php
 cp -pr src/PhpSpec %{buildroot}%{_datadir}/php/PhpSpec
 
@@ -132,12 +130,7 @@ export LANG=en_GB.utf8
   --bootstrap src/PhpSpec/autoload.php
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %{!?_licensedir:%global license %%doc}
 %license LICENSE
 %doc README.* CHANGES.*
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/php-phpspec.git/commit/?h=master&id=da7bd3acff087298d5fe4f638916c742b714e993


More information about the scm-commits mailing list