diff options
Diffstat (limited to 'rubygem-rails.spec')
-rw-r--r-- | rubygem-rails.spec | 38 |
1 files changed, 6 insertions, 32 deletions
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 |