rpms/rubygem-rails/devel import.log, NONE, 1.1 .cvsignore, 1.7, 1.8 rubygem-rails.spec, 1.9, 1.10 sources, 1.7, 1.8

Jeroen van Meeuwen kanarip at fedoraproject.org
Mon Mar 16 12:39:25 UTC 2009


Author: kanarip

Update of /cvs/pkgs/rpms/rubygem-rails/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29322/devel

Modified Files:
	.cvsignore rubygem-rails.spec sources 
Added Files:
	import.log 
Log Message:
2.3.2-1


--- NEW FILE import.log ---
rubygem-rails-2_3_2-1_fc10:HEAD:rubygem-rails-2.3.2-1.fc10.src.rpm:1237207120


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rails/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	23 Dec 2008 22:33:44 -0000	1.7
+++ .cvsignore	16 Mar 2009 12:38:55 -0000	1.8
@@ -1 +1 @@
-rails-2.2.2.gem
+rails-2.3.2.gem


Index: rubygem-rails.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rails/devel/rubygem-rails.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- rubygem-rails.spec	25 Feb 2009 21:58:32 -0000	1.9
+++ rubygem-rails.spec	16 Mar 2009 12:38:55 -0000	1.10
@@ -6,8 +6,8 @@
 
 Summary: Web-application 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
@@ -45,17 +45,35 @@
 find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
 
 # Cleanup some upstream packaging oddities, mostly to make rpmlint happy
-sed -i '1i#! /usr/bin/ruby\n' %{buildroot}%{geminstdir}/bin/rails
+sed -i '1i#!/usr/bin/ruby\n' %{buildroot}%{geminstdir}/bin/rails
 
-for f in dispatches/dispatch.fcgi dispatches/dispatch.rb \
-         dispatches/gateway.cgi lib/commands/ncgi/listener \
-         lib/commands/ncgi/tracker \
-         lib/commands/performance/request.rb
-do
-  sed -i -e '1c#! /usr/bin/ruby' %{buildroot}%{geminstdir}/$f
-  chmod 755 %{buildroot}%{geminstdir}/$f
+for file in `find %{buildroot}/%{geminstdir}/ -type f -perm /a+x`; do
+  sed -i -e '1c#!/usr/bin/ruby' $file
+  chmod 755 $file
 done
 
+# Remove backup files
+find %{buildroot}/%{geminstdir} -type f -name "*~" -delete
+
+# Delete zero-length files
+find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \;
+
+# 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
+
+# Find files that have non-standard-executable-perm
+find %{buildroot}/%{geminstdir} -type f -perm /g+wx -exec chmod -v g-w {} \;
+
+# Find files that are not readable
+find %{buildroot}/%{geminstdir} -type f ! -perm /go+r -exec chmod -v go+r {} \;
+
 %clean
 rm -rf %{buildroot}
 
@@ -66,7 +84,6 @@
 %{geminstdir}/builtin
 %doc %{geminstdir}/CHANGELOG
 %{geminstdir}/configs
-%{geminstdir}/config.ru
 %{geminstdir}/dispatches
 %{geminstdir}/doc
 %{geminstdir}/environments
@@ -83,6 +100,9 @@
 
 
 %changelog
+* Mon Mar 16 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 2.3.2-1
+- New upstream version
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rails/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	23 Dec 2008 22:33:45 -0000	1.7
+++ sources	16 Mar 2009 12:38:55 -0000	1.8
@@ -1 +1 @@
-c7dafb883fd28f10c9311189e15a1d5d  rails-2.2.2.gem
+b52822c4c0aa50726e3943181bcaf883  rails-2.3.2.gem




More information about the fedora-extras-commits mailing list