[ruby-postgres] Update package to ruby-postgres-0.7.9.2008.01.28.

Chris Lalancette clalance at fedoraproject.org
Fri Aug 13 18:50:44 UTC 2010


commit aa40cd9b3438b867de7310362b1c5c40b18eeb6d
Author: Chris Lalancette <clalance at redhat.com>
Date:   Fri Aug 13 14:46:49 2010 -0400

    Update package to ruby-postgres-0.7.9.2008.01.28.
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

 .gitignore         |    1 +
 cflags.patch       |   10 ----------
 ruby-postgres.spec |   15 +++++++++------
 sources            |    2 +-
 4 files changed, 11 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 61c4611..98be980 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 ruby-postgres-0.7.1.tar.gz
+ruby-postgres-0.7.9.2008.01.28.tar.gz
diff --git a/ruby-postgres.spec b/ruby-postgres.spec
index 618dbd5..6517a03 100644
--- a/ruby-postgres.spec
+++ b/ruby-postgres.spec
@@ -1,16 +1,15 @@
 %{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
 
 Name: ruby-postgres
-Version: 0.7.1
-Release: 12%{?dist}
+Version: 0.7.9
+Release: 2008.01.28.1%{?dist}
 Summary: A Ruby interface for the PostgreSQL database engine
 Group: Development/Languages
 # Source says that ruby-gems-postgres is distributable under the same
 # terms as ruby.
 License: Ruby
-URL: http://ruby.scripting.ca/postgres/
-Source: http://ruby.scripting.ca/postgres/archive/ruby-postgres-0.7.1.tar.gz
-Patch0: cflags.patch
+URL: http://bitbucket.org/ged/ruby-pg/
+Source: http://bitbucket.org/ged/ruby-pg/downloads/%{name}-%{version}.2008.01.28.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
 
 Requires: ruby >= 1.3
@@ -27,14 +26,15 @@ Database driver to access PostgreSQL databases from Ruby.
 
 %prep
 %setup -q
-%patch0 -p1
 chmod a-x sample/psql.rb
 
 %build
+cd ext
 ruby extconf.rb --with-cflags="$RPM_OPT_FLAGS"
 make
 
 %install
+cd ext
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=%{buildroot} install
 
@@ -47,6 +47,9 @@ rm -rf %{buildroot}
 %{ruby_sitearch}/postgres.so
 
 %changelog
+* Fri Aug 13 2010 Chris Lalancette <clalance at redhat.com> - 0.7.9.2008.01.28.1
+- Update to ruby-postgres .7.9.2008.01.28
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.1-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
diff --git a/sources b/sources
index accc9a9..7dfa78c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8ef67b3f4b089248f0420baeb0e3b3c8  ruby-postgres-0.7.1.tar.gz
+af48fb33beaecf773ebca45c0a64a15d  ruby-postgres-0.7.9.2008.01.28.tar.gz


More information about the scm-commits mailing list