summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen <kanarip@fedoraproject.org>2009-03-16 10:50:26 +0000
committerJeroen van Meeuwen <kanarip@fedoraproject.org>2009-03-16 10:50:26 +0000
commit732bf8f33df8b41795bc68d5ca6adae70801992f (patch)
tree80613bf9d57716ed90ef22715ca8e53d793e7e07
parent34e996d110d345d4f2901f9c57fadcddf9c4b8fb (diff)
downloadrubygem-activesupport-732bf8f33df8b41795bc68d5ca6adae70801992f.tar.gz
rubygem-activesupport-732bf8f33df8b41795bc68d5ca6adae70801992f.tar.xz
rubygem-activesupport-732bf8f33df8b41795bc68d5ca6adae70801992f.zip
2.3.2-1
-rw-r--r--.cvsignore2
-rw-r--r--import.log1
-rw-r--r--rubygem-activesupport.spec22
-rw-r--r--sources2
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 <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
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