Skip to content

Commit

Permalink
fix radcli non-scl build
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Apr 21, 2020
1 parent c516dbf commit be5b502
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/plugins/rubygem-radcli/rubygem-radcli.spec
Expand Up @@ -71,14 +71,9 @@ mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%if 0%{?scl:1}
mkdir -p %{buildroot}%{gem_extdir_mri}
cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/
cp -a .%{gem_instdir}/ext/%{gem_name}/*.so %{buildroot}%{gem_extdir_mri}/
%else
mkdir -p %{buildroot}%{gem_extdir_mri}/lib
cp -a %{buildroot}%{gem_instdir}/lib/radcli.so %{buildroot}%{gem_extdir_mri}/lib/
%endif
# rake-compiler isn't needed on the system itself
sed -i '/rake-compiler/ s/runtime/development/' %{buildroot}/%{gem_spec}
Expand Down Expand Up @@ -109,9 +104,6 @@ rm -rf gem_ext_test
%{gem_spec}
%exclude %{gem_instdir}/radcli.gemspec
%{gem_extdir_mri}
%if 0%{!?scl:1}
%{gem_libdir}
%endif
%files doc
%doc %{gem_docdir}
Expand Down

0 comments on commit be5b502

Please sign in to comment.