[php-ocramius-lazy-map] cleanups

Remi Collet remi at fedoraproject.org
Mon Jul 21 13:31:07 UTC 2014


commit 4c4ac9f7ffc226df97f2bd9e3900f30e26ac839e
Author: Remi Collet <remi at fedoraproject.org>
Date:   Mon Jul 21 15:30:49 2014 +0200

    cleanups

 php-ocramius-lazy-map.spec |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/php-ocramius-lazy-map.spec b/php-ocramius-lazy-map.spec
index 315f2b8..dc4c925 100644
--- a/php-ocramius-lazy-map.spec
+++ b/php-ocramius-lazy-map.spec
@@ -22,7 +22,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:  php(language) >= 5.3.3
 BuildRequires:  php-phpunit-PHPUnit >= 3.7
@@ -49,7 +48,6 @@ of lazy-instantiating objects.
 
 
 %install
-rm -rf       %{buildroot}
 mkdir -p     %{buildroot}%{_datadir}/php
 cp -pr src/* %{buildroot}%{_datadir}/php
 
@@ -71,13 +69,9 @@ phpunit \
 %endif
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 %doc *.md
 %{_datadir}/php/LazyMap/
 


More information about the scm-commits mailing list