summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cvsignore2
-rw-r--r--import.log1
-rw-r--r--rubygem-actionpack.spec23
-rw-r--r--sources2
4 files changed, 23 insertions, 5 deletions
diff --git a/.cvsignore b/.cvsignore
index 11ce111..ed1d2ec 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-actionpack-2.2.2.gem
+actionpack-2.3.2.gem
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..0e02c9e
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+rubygem-actionpack-2_3_2-1_fc10:HEAD:rubygem-actionpack-2.3.2-1.fc10.src.rpm:1237201627
diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec
index 5f49112..cb0b03e 100644
--- a/rubygem-actionpack.spec
+++ b/rubygem-actionpack.spec
@@ -6,8 +6,8 @@
Summary: Web-flow and rendering framework putting the VC in MVC
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
@@ -35,7 +35,21 @@ mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
--force --rdoc %{SOURCE0}
-sed -i -e 1d %{buildroot}%{geminstdir}/lib/action_controller/session/drb_server.rb
+# 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
%clean
rm -rf %{buildroot}
@@ -57,6 +71,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Mar 16 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 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
diff --git a/sources b/sources
index bcd85db..cd3d604 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a2764a85d8d34385467d8f9df7362471 actionpack-2.2.2.gem
+ba24f9f1d0272a76a885203f25d176b2 actionpack-2.3.2.gem