summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen <kanarip@fedoraproject.org>2009-03-16 11:14:55 +0000
committerJeroen van Meeuwen <kanarip@fedoraproject.org>2009-03-16 11:14:55 +0000
commitbacb6b7f1f392879b9e44aeb1f1cb96923c26f70 (patch)
tree8c252743ce84d2922d006b742925253df9ba390a
parent837df6b4eafe4c7bb426dd8dce9dd11b40c1454c (diff)
downloadrubygem-activerecord-bacb6b7f1f392879b9e44aeb1f1cb96923c26f70.tar.gz
rubygem-activerecord-bacb6b7f1f392879b9e44aeb1f1cb96923c26f70.tar.xz
rubygem-activerecord-bacb6b7f1f392879b9e44aeb1f1cb96923c26f70.zip
2.3.2-1
-rw-r--r--.cvsignore2
-rw-r--r--import.log1
-rw-r--r--rubygem-activerecord.spec21
-rw-r--r--sources2
4 files changed, 20 insertions, 6 deletions
diff --git a/.cvsignore b/.cvsignore
index 052877d..c2b43a1 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-activerecord-2.2.2.gem
+activerecord-2.3.2.gem
diff --git a/import.log b/import.log
index c9da3a9..c8beba7 100644
--- a/import.log
+++ b/import.log
@@ -1 +1,2 @@
rubygem-activerecord-2_2_2-1_fc10:HEAD:rubygem-activerecord-2.2.2-1.fc10.src.rpm:1227532664
+rubygem-activerecord-2_3_2-1_fc10:HEAD:rubygem-activerecord-2.3.2-1.fc10.src.rpm:1237202080
diff --git a/rubygem-activerecord.spec b/rubygem-activerecord.spec
index fcdfed5..8493b5f 100644
--- a/rubygem-activerecord.spec
+++ b/rubygem-activerecord.spec
@@ -6,8 +6,8 @@
Summary: Implements the ActiveRecord pattern for ORM
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,11 +35,21 @@ 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 {} \;
-find %{buildroot}/%{geminstdir}/test/ -name "*.rb" -exec chmod 644 {} \;
-find %{buildroot}/%{geminstdir}/lib/active_record/ -name "*.rb" -exec chmod 644 {} \;
+# 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}
@@ -61,6 +71,9 @@ rm -rf %{buildroot}
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%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 33ef9a1..6baa558 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c0856ff382bd0527ceb7b462730fa9f2 activerecord-2.2.2.gem
+c4cb9b6655909594ca43ee939c2fb7f2 activerecord-2.3.2.gem