Disable unwanted dependencies in RHEL builds
This commit is contained in:
parent
1cbc29fbad
commit
60348c9329
@ -3,7 +3,7 @@
|
|||||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||||
%global fullver %{majorver}%{?preminorver}
|
%global fullver %{majorver}%{?preminorver}
|
||||||
|
|
||||||
%global fedorarel 1
|
%global fedorarel 2
|
||||||
|
|
||||||
%global gem_name rspec-mocks
|
%global gem_name rspec-mocks
|
||||||
|
|
||||||
@ -87,16 +87,22 @@ cp -a .%{gem_dir}/* \
|
|||||||
rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
|
rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{without bootstrap}
|
%if %{with bootstrap}
|
||||||
|
# Don't do actual check
|
||||||
|
exit 0
|
||||||
|
%endif
|
||||||
|
|
||||||
# library_wide_checks.rb needs UTF-8
|
# library_wide_checks.rb needs UTF-8
|
||||||
LANG=C.UTF-8
|
LANG=C.UTF-8
|
||||||
export RUBYLIB=$(pwd)/lib
|
export RUBYLIB=$(pwd)/lib
|
||||||
rspec spec/
|
rspec spec/
|
||||||
%if %{undefined rhel}
|
|
||||||
|
%if 0%{?rhel}
|
||||||
|
# Don't do cucumber test
|
||||||
|
exit 0
|
||||||
|
%endif
|
||||||
export CUCUMBER_PUBLISH_QUIET=true
|
export CUCUMBER_PUBLISH_QUIET=true
|
||||||
cucumber
|
cucumber
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
@ -114,6 +120,9 @@ cucumber
|
|||||||
%{gem_docdir}
|
%{gem_docdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 09 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 3.12.3-2
|
||||||
|
- Disable unwanted dependencies in RHEL builds
|
||||||
|
|
||||||
* Thu Feb 16 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.3-1
|
* Thu Feb 16 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.3-1
|
||||||
- 3.12.3
|
- 3.12.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user