f38
Jeroen van Meeuwen 16 years ago
parent 34e996d110
commit 732bf8f33d

@ -1 +1 @@
activesupport-2.2.2.gem
activesupport-2.3.2.gem

@ -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

@ -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

@ -1 +1 @@
2251cb08f36e40bb48ea3bb805323cc7 activesupport-2.2.2.gem
d2a80181483530cc68683b1b36310ba2 activesupport-2.3.2.gem

Loading…
Cancel
Save