diff --git a/libsbml.spec b/libsbml.spec index 7bcdb29..bcfe5e4 100644 --- a/libsbml.spec +++ b/libsbml.spec @@ -47,7 +47,7 @@ Name: libsbml Version: 5.12.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Systems Biology Markup Language library License: LGPLv2+ @@ -138,6 +138,7 @@ This package contains %{summary}. %if %{with ruby} %package -n ruby-%{rubypkg} BuildRequires: ruby-devel +BuildRequires: rubypick Requires: ruby(release) Requires: %{name}%{?_isa} = %{version}-%{release} Provides: ruby(%{rubypkg}) = %{version} @@ -290,6 +291,11 @@ export CXXFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS -Wl,-z,now" %endif %if %{with ruby} -DWITH_RUBY:BOOL=ON \ + -DRUBY_SITEARCH_DIR:PATH=%{ruby_sitearchdir} \ + -DRUBY_SITELIB_DIR:PATH=%{ruby_sitelibdir} \ + -DRUBY_VENDORARCH_DIR:PATH=%{ruby_vendorarchdir} \ + -DRUBY_VENDORLIB_DIR:PATH=%{ruby_vendorlibdir} \ + -DRUBY_HAS_VENDOR_RUBY:BOOL=ON \ %endif %if %{with java} -DWITH_JAVA:BOOL=ON \ @@ -472,6 +478,10 @@ ctest --force-new-ctest-process -V -E "test_ruby_binding" %endif %changelog +* Thu Jan 21 2016 Antonio Trande - 5.12.0-5 +- Defined rubypick as BuildRequires for ruby-libsbml +- Defined Ruby paths + * Tue Jan 12 2016 Vít Ondruch - 5.12.0-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3