diff --git a/stfl.spec b/stfl.spec index e041735..9991942 100644 --- a/stfl.spec +++ b/stfl.spec @@ -1,6 +1,6 @@ Name: stfl Version: 0.22 -Release: 3%{?dist} +Release: 4%{?dist} Summary: The Structured Terminal Forms Language/Library Group: System Environment/Libraries @@ -54,7 +54,7 @@ Python binding for STFL. Summary: Ruby binding for STFL Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: ruby(abi) = 1.9.1 +Requires: ruby(release) %description ruby Ruby binding for STFL. @@ -93,9 +93,12 @@ export CFLAGS="%{optflags}" #echo `ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] '` sed -i 's|ruby extconf.rb|ruby extconf.rb --vendor|' ruby/Makefile.snippet +make %{?_smp_mflags} + %install -make install DESTDIR=%{buildroot} +# ruby_headers= applied as a workaround for rhbz#921650 +make install DESTDIR=%{buildroot} ruby_headers= # give the shared libraries executable permissions so they get stripped # also fixes the 0555 permissions on the perl bindings find %{buildroot} -name '*.so' -exec chmod 755 {} ';' @@ -143,6 +146,9 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod %changelog +* Wed Mar 27 2013 Vít Ondruch - 0.22-4 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + * Sun Feb 24 2013 Ben Boeckel - 0.22-3 - Fix soversion glob