Changeset: ddeec4e140d9 for monetdb-ruby
URL: https://dev.monetdb.org/hg/monetdb-ruby/rev/ddeec4e140d9
Modified Files:
rubygem-monetdb-sql.spec
Branch: default
Log Message:
For newer ruby versions we need to separately require rubygem(ostruct).
diffs (24 lines):
diff --git a/rubygem-monetdb-sql.spec b/rubygem-monetdb-sql.spec
--- a/rubygem-monetdb-sql.spec
+++ b/rubygem-monetdb-sql.spec
@@ -3,7 +3,7 @@
Name: rubygem-%{gem_name}
Epoch: 1
Version: 1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Pure Ruby database driver for MonetDB/SQL
Group: Applications/Databases
@@ -17,7 +17,10 @@ BuildRequires: ruby >= 1.8.0
BuildArch: noarch
Requires: ruby(release)
-Requires: rubygem-bigdecimal
+Requires: rubygem(bigdecimal)
+%if (0%{?fedora} >= 42) || (0%{?rhel} >= 10)
+Requires: rubygem(ostruct)
+%endif
%if (0%{?fedora} >= 22)
Recommends: MonetDB-SQL-server5
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]