fix error with unneeded install scripts
This commit is contained in:
parent
f15d6adb3f
commit
de20f0de0a
|
@ -102,10 +102,6 @@ Summary: Static libraries for Cantera
|
|||
%install
|
||||
%scons install prefix=%{_prefix} libdirname=%{_lib} stage_dir=%{buildroot}
|
||||
|
||||
# remove unnecessary setup scripts (not required)
|
||||
rm %{_buildroot}%{_bindir}/setup_cantera
|
||||
rm %{_buildroot}%{_bindir}/setup_cantera.csh
|
||||
|
||||
|
||||
%check
|
||||
%scons test
|
||||
|
@ -129,6 +125,9 @@ rm %{_buildroot}%{_bindir}/setup_cantera.csh
|
|||
|
||||
%{_datadir}/%{name}
|
||||
|
||||
#not required for packaged installations
|
||||
%ghost %{_bindir}/setup_cantera
|
||||
%ghost %{_bindir}/setup_cantera.csh
|
||||
|
||||
%files -n python3-%{name}
|
||||
%{python3_sitearch}/Cantera-%{version}a4-py%{python3_version}.egg-info/
|
||||
|
|
Loading…
Reference in New Issue