From 732bf8f33df8b41795bc68d5ca6adae70801992f Mon Sep 17 00:00:00 2001 From: Jeroen van Meeuwen Date: Mon, 16 Mar 2009 10:50:26 +0000 Subject: [PATCH] 2.3.2-1 --- .cvsignore | 2 +- import.log | 1 + rubygem-activesupport.spec | 22 ++++++++++++++++------ sources | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.cvsignore b/.cvsignore index f6ab9bc..38853c4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -activesupport-2.2.2.gem +activesupport-2.3.2.gem diff --git a/import.log b/import.log index fd9ed48..b977fc0 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ rubygem-activesupport-2_2_2-1_fc10:HEAD:rubygem-activesupport-2.2.2-1.fc10.src.rpm:1227537912 +rubygem-activesupport-2_3_2-1_fc10:HEAD:rubygem-activesupport-2.3.2-1.fc10.src.rpm:1237200610 diff --git a/rubygem-activesupport.spec b/rubygem-activesupport.spec index 64e1140..d9902a5 100644 --- a/rubygem-activesupport.spec +++ b/rubygem-activesupport.spec @@ -7,8 +7,8 @@ Summary: Support and utility classes used by the Rails framework Name: rubygem-%{gemname} -Version: 2.2.2 -Release: 2%{?dist} +Version: 2.3.2 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://www.rubyonrails.org @@ -34,14 +34,21 @@ gem install --local --install-dir %{buildroot}%{gemdir} \ --force --rdoc %{SOURCE0} # Remove bad shebangs -for f in %{buildroot}%{geminstdir}/lib/active_support/vendor/builder-2.1.2/builder.rb \ +for file in %{buildroot}%{geminstdir}/lib/active_support/vendor/builder-2.1.2/builder.rb \ %{buildroot}%{geminstdir}/lib/active_support/vendor/builder-2.1.2/blankslate.rb \ %{buildroot}%{geminstdir}/lib/active_support/vendor/builder-2.1.2/builder/* ; do - sed -i -e '1s/^\#!.*$//' $f + sed -i -e '1s/^\#!.*$//' $file done -# Script without shebang -chmod 644 %{buildroot}%{geminstdir}/lib/active_support/vendor/i18n-0.0.1/i18n.rb +# 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 +done + +# Find files with a shebang that do not have executable permissions +for file in `find %{buildroot}/%{geminstdir} -type f ! -perm /a+x -name "*.rb"`; do + [ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file +done %clean rm -rf %{buildroot} @@ -58,6 +65,9 @@ rm -rf %{buildroot} %changelog +* Mon Mar 16 2009 Jeroen van Meeuwen - 2.3.2-1 +- New upstream version + * Wed Feb 25 2009 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/sources b/sources index 41cd11c..0d062cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2251cb08f36e40bb48ea3bb805323cc7 activesupport-2.2.2.gem +d2a80181483530cc68683b1b36310ba2 activesupport-2.3.2.gem