From e3b45ce44e1cdcbe089767b99274ed114a4df718 Mon Sep 17 00:00:00 2001 From: Jeroen van Meeuwen Date: Mar 16 2009 11:19:02 +0000 Subject: 2.3.2-1 --- diff --git a/.cvsignore b/.cvsignore index d2f58ca..27ee8b1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -activeresource-2.2.2.gem +activeresource-2.3.2.gem diff --git a/import.log b/import.log new file mode 100644 index 0000000..856c5d1 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +rubygem-activeresource-2_3_2-1_fc10:HEAD:rubygem-activeresource-2.3.2-1.fc10.src.rpm:1237202327 diff --git a/rubygem-activeresource.spec b/rubygem-activeresource.spec index cf2779b..7e81c1a 100644 --- a/rubygem-activeresource.spec +++ b/rubygem-activeresource.spec @@ -6,8 +6,8 @@ Summary: Active Record for web resources Name: rubygem-%{gemname} -Version: 2.2.2 -Release: 2%{?dist} +Version: 2.3.2 +Release: 1%{?dist} Group: Development/Languages License: GPLv2+ or Ruby URL: http://www.rubyonrails.org @@ -34,6 +34,22 @@ mkdir -p %{buildroot}%{gemdir} gem install --local --install-dir %{buildroot}%{gemdir} \ --force --rdoc %{SOURCE0} +# 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} @@ -51,6 +67,9 @@ rm -rf %{buildroot} %changelog +* Mon Mar 16 2009 Jeroen van Meeuwen - 2.3.2-1 +- New upstream version + * Wed Feb 25 2009 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/sources b/sources index 8391fcc..47de273 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c81f4bc9f3fcb5e7480b69e5c9a4f2ee activeresource-2.2.2.gem +530068f593488db9b456b201108e9d6f activeresource-2.3.2.gem