[ruby-rhubarb/f17] Changed sqlite dependency to use the gem version

William Christian Benton willb at fedoraproject.org
Mon Feb 13 05:59:46 UTC 2012


commit 3a426317b4c90e2545cd188c8b94f665cc5b0725
Author: Will Benton <willb at redhat.com>
Date:   Mon Feb 13 00:00:07 2012 -0600

    Changed sqlite dependency to use the gem version

 ruby-rhubarb.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ruby-rhubarb.spec b/ruby-rhubarb.spec
index 3b1237a..8248ba2 100644
--- a/ruby-rhubarb.spec
+++ b/ruby-rhubarb.spec
@@ -9,22 +9,24 @@
 %if (0%{?fedora} >= 17)
 %global ruby_abi 1.9.1
 %global ruby_appropriate_install_dir %{ruby_vendorlibdir}
+%global sqlite_pkg rubygem-sqlite3
 %else
 %global ruby_abi 1.8
 %{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"] ')}
 %global ruby_appropriate_install_dir %{ruby_sitelib}
+%global sqlite_pkg ruby-sqlite3
 %endif
 
 Summary: Simple versioned object-graph persistence layer
 Name: ruby-rhubarb
 Version: 0.4.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: Applications/System
 License: ASL 2.0
 URL: http://git.fedorahosted.org/git/grid/rhubarb.git
 Source0: https://fedorahosted.org/releases/g/r/grid/%{name}-%{version}.tar.gz
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-Requires: ruby-sqlite3
+Requires: %{?sqlite_pkg}
 Requires: ruby
 Requires: ruby(abi) = %{?ruby_abi}
 Provides: ruby(rhubarb/rhubarb)
@@ -65,6 +67,9 @@ rm -rf %{buildroot}
 
 %changelog
 
+* Sun Feb 12 2012 willb <willb at redhat> - 0.4.3-4
+- Changed SQLite dependency to the gem version on F17.
+
 * Fri Feb 10 2012 willb <willb at redhat> - 0.4.3-3
 - Another F17 fix.
 


More information about the scm-commits mailing list