source: trunk/server/fedora/specs/rubygem-rails.spec.patch @ 1276

Last change on this file since 1276 was 1275, checked in by mitchb, 15 years ago
Temporarily scriptsify rubygem-rails to work around Fedora packaging error Between the version of this package appearing in Fedora 9 and Fedora 11, the spec file gained a stanza that removes all zero-length files from the destination tree. This actually removes four required zero-length files (and nothing else), without which running 'rails' to create a new application errors out. See
File size: 1.3 KB
  • rubygem-rails.spec

    old new  
    77Summary: Web-application framework
    88Name: rubygem-%{gemname}
    99Version: 2.3.2
    10 Release: 2%{?dist}
     10Release: 2%{?dist}.scripts.%{scriptsversion}
    1111Group: Development/Languages
    1212License: MIT
    2323BuildRequires: rubygems
    2424BuildArch: noarch
    2525Provides: rubygem(%{gemname}) = %{version}
     26Provides: scripts-rubygem-rails
    2829Rails is a framework for building web-application using CGI, FCGI, mod_ruby,
    5556# Remove backup files
    5657find %{buildroot}/%{geminstdir} -type f -name "*~" -delete
    58 # Delete zero-length files
    59 find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \;
    6159# Fix anything executable that does not have a shebang
    6260for file in `find %{buildroot}/%{geminstdir} -type f -perm /a+x`; do
    6361    [ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file
     101* Sat Jul 18 2009 Mitchell Berger <> - 2.3.2-2.scripts
     102- Do not remove required zero-length files
    103104* Wed May  6 2009 David Lutterkort <> - 2.3.2-2
    104105- Fix replacement of shebang lines; broke scripts/generate (bz 496480)
Note: See TracBrowser for help on using the repository browser.