diff options
author | Jeroen van Meeuwen <kanarip@fedoraproject.org> | 2009-03-16 10:50:26 +0000 |
---|---|---|
committer | Jeroen van Meeuwen <kanarip@fedoraproject.org> | 2009-03-16 10:50:26 +0000 |
commit | 732bf8f33df8b41795bc68d5ca6adae70801992f (patch) | |
tree | 80613bf9d57716ed90ef22715ca8e53d793e7e07 | |
parent | 34e996d110d345d4f2901f9c57fadcddf9c4b8fb (diff) | |
download | rubygem-activesupport-732bf8f33df8b41795bc68d5ca6adae70801992f.tar.gz rubygem-activesupport-732bf8f33df8b41795bc68d5ca6adae70801992f.tar.xz rubygem-activesupport-732bf8f33df8b41795bc68d5ca6adae70801992f.zip |
2.3.2-1
-rw-r--r-- | .cvsignore | 2 | ||||
-rw-r--r-- | import.log | 1 | ||||
-rw-r--r-- | rubygem-activesupport.spec | 22 | ||||
-rw-r--r-- | sources | 2 |
4 files changed, 19 insertions, 8 deletions
@@ -1 +1 @@ -activesupport-2.2.2.gem +activesupport-2.3.2.gem @@ -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 <kanarip@fedoraproject.org> - 2.3.2-1 +- New upstream version + * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild @@ -1 +1 @@ -2251cb08f36e40bb48ea3bb805323cc7 activesupport-2.2.2.gem +d2a80181483530cc68683b1b36310ba2 activesupport-2.3.2.gem |