From 7d796aca26cd57b2566f7e0bc03853b7f943aa87 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Sat, 23 Nov 2013 15:21:35 -0700 Subject: rm BuildRoot, %clean, and default defattr These are not needed on EL6 and above. --- rubygem-unicorn.spec | 7 ------- 1 file changed, 7 deletions(-) (limited to 'rubygem-unicorn.spec') 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 -- cgit