From deb3dfe22f8c7be0077ec3287adb6c089ece888d Mon Sep 17 00:00:00 2001 From: Scott Seago Date: Jul 24 2009 16:31:21 +0000 Subject: additional fix for BZ 496480 --- diff --git a/rubygem-rails.spec b/rubygem-rails.spec index 65f6c44..0ca01a3 100644 --- a/rubygem-rails.spec +++ b/rubygem-rails.spec @@ -7,7 +7,7 @@ Summary: Web-application framework Name: rubygem-%{gemname} Version: 2.3.2 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Languages License: MIT URL: http://www.rubyonrails.org @@ -55,9 +55,6 @@ done # Remove backup files find %{buildroot}/%{geminstdir} -type f -name "*~" -delete -# Delete zero-length files -find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \; - # Fix anything executable that does not have a shebang for file in `find %{buildroot}/%{geminstdir} -type f -perm /a+x`; do [ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file @@ -100,6 +97,9 @@ rm -rf %{buildroot} %changelog +* Wed Jul 24 2009 Scott Seago - 2.3.2-3 +- Remove the 'delete zero length files' bit, as some of these are needed. + * Wed May 6 2009 David Lutterkort - 2.3.2-2 - Fix replacement of shebang lines; broke scripts/generate (bz 496480)