[ruby-rhubarb/f17] updated BuildRequires on F17
William Christian Benton
willb at fedoraproject.org
Tue Mar 27 04:53:14 UTC 2012
commit 04739eba83963def936108fb6fea94e2748fb58b
Author: Will Benton <willb at redhat.com>
Date: Mon Mar 26 23:53:32 2012 -0500
updated BuildRequires on F17
ruby-rhubarb.spec | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/ruby-rhubarb.spec b/ruby-rhubarb.spec
index 8248ba2..23899ee 100644
--- a/ruby-rhubarb.spec
+++ b/ruby-rhubarb.spec
@@ -9,28 +9,33 @@
%if (0%{?fedora} >= 17)
%global ruby_abi 1.9.1
%global ruby_appropriate_install_dir %{ruby_vendorlibdir}
+%global requires_ruby_devel 1
%global sqlite_pkg rubygem-sqlite3
%else
%global ruby_abi 1.8
+%global requires_ruby_devel 0
+%global sqlite_pkg ruby-sqlite3
%{!?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: 4%{?dist}
+Release: 5%{?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: %{?sqlite_pkg}
+Requires: %{sqlite_pkg}
Requires: ruby
Requires: ruby(abi) = %{?ruby_abi}
Provides: ruby(rhubarb/rhubarb)
BuildRequires: ruby
+%if %{requires_ruby_devel}
+BuildRequires: ruby-devel
+%endif
BuildArch: noarch
%description
@@ -63,10 +68,13 @@ rm -rf %{buildroot}
%defattr(-, root, root, -)
%endif
%doc LICENSE README.rdoc CHANGES TODO VERSION
-/%{ruby_appropriate_install_dir}/rhubarb/
+%{ruby_appropriate_install_dir}/rhubarb/
%changelog
+* Mon Mar 26 2012 willb <willb at redhat> - 0.4.3-5
+- F17 packaging fixes.
+
* Sun Feb 12 2012 willb <willb at redhat> - 0.4.3-4
- Changed SQLite dependency to the gem version on F17.
More information about the scm-commits
mailing list