summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-solarium.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/php-solarium.spec b/php-solarium.spec
index 940262c..d858d08 100644
--- a/php-solarium.spec
+++ b/php-solarium.spec
@@ -22,6 +22,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
License: BSD
Group: Development/Libraries
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if %{with_tests}
# For tests
@@ -101,6 +102,7 @@ phpunit \
%files
+%defattr(-,root,root,-)
%doc composer.json COPYING README.md examples
%{_datadir}/php/Solarium