602 |
# Move man pages into proper location |
# Move man pages into proper location |
603 |
mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1 |
mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1 |
604 |
|
|
605 |
|
# Exclude is not enough for nativre extensions as they get debuginfo generated |
606 |
|
|
607 |
|
%if !%build_json |
608 |
|
rm -rf %{buildroot}%{ruby_libarchdir}/json |
609 |
|
%endif |
610 |
|
%if !%build_bigdecimal |
611 |
|
rm -f %{buildroot}%{ruby_libarchdir}/bigdecimal.so |
612 |
|
%endif |
613 |
|
|
614 |
%check |
%check |
615 |
DISABLE_TESTS="" |
DISABLE_TESTS="" |
616 |
|
|
617 |
#make check TESTS="-v $DISABLE_TESTS" |
make check TESTS="-v $DISABLE_TESTS" |
618 |
|
|
619 |
%files |
%files |
620 |
%{_bindir}/erb |
%{_bindir}/erb |