summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2013-11-23 15:21:35 -0700
committerKen Dreyer <ktdreyer@ktdreyer.com>2013-11-23 23:29:04 -0700
commit7d796aca26cd57b2566f7e0bc03853b7f943aa87 (patch)
tree343ee4ab1ab03ed558c11dd42ffa7f53ec98ebff
parent1128a9205c6b151f8fcb0d9609ad6238006fbfb5 (diff)
downloadrubygem-unicorn-7d796aca26cd57b2566f7e0bc03853b7f943aa87.tar.gz
rubygem-unicorn-7d796aca26cd57b2566f7e0bc03853b7f943aa87.tar.xz
rubygem-unicorn-7d796aca26cd57b2566f7e0bc03853b7f943aa87.zip
rm BuildRoot, %clean, and default defattr
These are not needed on EL6 and above.
-rw-r--r--rubygem-unicorn.spec7
1 files changed, 0 insertions, 7 deletions
diff --git a/rubygem-unicorn.spec b/rubygem-unicorn.spec
index 1af8a59..75b7d6e 100644
--- a/rubygem-unicorn.spec
+++ b/rubygem-unicorn.spec
@@ -16,7 +16,6 @@ Group: Development/Languages
License: GPLv2 or GPLv3 or Ruby
URL: http://unicorn.bogomips.org/
Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?fedora} >= 19
Requires: ruby(release)
@@ -124,7 +123,6 @@ require "rubygems"' .%{gem_instdir}/test/unit/test_sni_hostnames.rb
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
@@ -191,11 +189,7 @@ RUBYOPT="-Ilib -I%{buildroot}%{gem_extdir} -Itest" testrb test/unit/test_util.rb
#RUBYOPT="-Ilib -I%%{buildroot}%%{gem_extdir} -Itest" testrb test/rails/test_rails.rb
%endif
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-, root, root, -)
%{gem_extdir_mri}/*
%dir %{gem_instdir}
%{gem_cache}
@@ -218,7 +212,6 @@ rm -rf %{buildroot}
%doc %{gem_instdir}/Links
%files doc
-%defattr(-, root, root, -)
%doc %{gem_instdir}/ChangeLog
%doc %{gem_instdir}/FAQ
%doc %{gem_instdir}/DESIGN