summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBohuslav Kabrda <bkabrda@redhat.com>2012-07-27 10:22:56 +0200
committerBohuslav Kabrda <bkabrda@redhat.com>2012-07-27 10:22:56 +0200
commitfc5820bd3db167ca9c35db70ef1a979af5e47692 (patch)
treea73ee9547dce3d306b541face8565af7150057b3
parentd75dda33eb4f9fefe1abe6e0e2230b9d4865187f (diff)
downloadrubygem-rails-fc5820bd3db167ca9c35db70ef1a979af5e47692.tar.gz
rubygem-rails-fc5820bd3db167ca9c35db70ef1a979af5e47692.tar.xz
rubygem-rails-fc5820bd3db167ca9c35db70ef1a979af5e47692.zip
Updated to Rails 3.2.6.
-rw-r--r--.gitignore1
-rw-r--r--rubygem-rails.spec38
-rw-r--r--sources2
3 files changed, 8 insertions, 33 deletions
diff --git a/.gitignore b/.gitignore
index 000d4ba..9a7ac50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ rails-2.3.5.gem
/rails-3.0.11.gem
/rails-3.0.13.gem
/rails-3.0.15.gem
+/rails-3.2.6.gem
diff --git a/rubygem-rails.spec b/rubygem-rails.spec
index 0b1292e..c116e6f 100644
--- a/rubygem-rails.spec
+++ b/rubygem-rails.spec
@@ -6,8 +6,8 @@
Summary: Web-application framework
Name: rubygem-%{gem_name}
Epoch: 1
-Version: 3.0.15
-Release: 2%{?dist}
+Version: 3.2.6
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://www.rubyonrails.org
@@ -44,40 +44,14 @@ gem install --local --install-dir %{buildroot}%{gem_dir} \
-V --no-rdoc --no-ri \
--force %{SOURCE0}
-# Remove backup files
-find %{buildroot}/%{gem_instdir} -type f -name "*~" -delete
-
-# Don't delete zero-length files (bug 496480)
-#find %{buildroot}/%{gem_instdir} -type f -size 0c -exec rm -rvf {} \;
-
-# Fix anything executable that does not have a shebang
-for file in `find %{buildroot}/%{gem_instdir} -type f -perm /a+x`; do
- [ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file
-done
-
-# For sure...
-find %{buildroot} -name \*.gem | xargs chmod 0644
-
-# Find files with a shebang that do not have executable permissions
-for file in `find %{buildroot}/%{gem_instdir} -type f ! -perm /a+x -name "*.rb"`; do
- [ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file
-done
-
-# Find files that have non-standard-executable-perm
-find %{buildroot}/%{gem_instdir} -type f -perm /g+wx -exec chmod -v g-w {} \;
-
-# Find files that are not readable
-find %{buildroot}/%{gem_instdir} -type f ! -perm /go+r -exec chmod -v go+r {} \;
-
%files
-%dir %{gem_instdir}
-%exclude %{gem_cache}
%{gem_spec}
-
-%{gem_instdir}/bin
-%{_bindir}/rails
+%exclude %{gem_cache}
%changelog
+* Fri Jul 27 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1:3.2.6-1
+- Updated to Rails 3.2.6.
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.0.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index b17ada6..d3e4841 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-039c8840e8a741073eb2f86f7801f141 rails-3.0.15.gem
+5bec784363f3c545282d89bb8c70adb5 rails-3.2.6.gem