source: trunk/server/fedora/specs/rubygem-activesupport.spec.patch @ 1331

Last change on this file since 1331 was 1329, checked in by mitchb, 13 years ago
Scriptsify activesupport and actionpack ruby gems, patch for CVE-2009-3009
File size: 1.5 KB
  • rubygem-activesupport.spec

    old new  
    88Name: rubygem-%{gemname}
    99
    1010Version: 2.3.2
    11 Release: 1%{?dist}
     11Release: 1.scripts.%{scriptsversion}%{?dist}
    1212Group: Development/Languages
    1313License: MIT
    1414URL: http://www.rubyonrails.org
    1515Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
     16Patch0: rubygem-activesupport-2.3.x-CVE-2009-3009.patch
    1617BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1718Requires: rubygems
    1819BuildRequires: rubygems
    1920BuildArch: noarch
    2021Provides: rubygem(%{gemname}) = %{version}
     22Provides: scripts-rubygem-activesupport
    2123
    2224%description
    2325Utility library which carries commonly used classes and
     
    3234mkdir -p %{buildroot}%{gemdir}
    3335gem install --local --install-dir %{buildroot}%{gemdir} \
    3436            --force --rdoc %{SOURCE0}
     37pushd %{buildroot}%{geminstdir}
     38cat %{PATCH0} | patch -s -p2
     39popd
    3540
    3641# Remove bad shebangs
    3742for file in %{buildroot}%{geminstdir}/lib/active_support/vendor/builder-2.1.2/builder.rb \
     
    5863%dir %{geminstdir}
    5964%doc %{geminstdir}/CHANGELOG
    6065%{geminstdir}/lib
     66%{geminstdir}/test/
    6167%doc %{geminstdir}/README
    6268%doc %{gemdir}/doc/%{gemname}-%{version}
    6369%{gemdir}/cache/%{gemname}-%{version}.gem
     
    6571
    6672
    6773%changelog
     74* Thu Oct 01 2009 Mitchell Berger <mitchb@mit.edu> - 2.3.2-1.scripts
     75- Patch for CVE-2009-3009
     76
    6877* Mon Mar 16 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 2.3.2-1
    6978- New upstream version
    7079
Note: See TracBrowser for help on using the repository browser.