@@ -64,7 +64,7 @@
|
||||
|
||||
Name: %{rocsolver_name}
|
||||
Version: %{rocm_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Next generation LAPACK implementation for ROCm platform
|
||||
Url: https://github.com/ROCm/rocSOLVER
|
||||
|
||||
@@ -228,35 +228,33 @@ fi
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
echo s@%{buildroot}@@ > br.sed
|
||||
find %{buildroot}%{_libdir} -name '*.so.*.[0-9]' | sed -f br.sed > %{name}.files
|
||||
find %{buildroot}%{_libdir} -name '*.so.[0-9]' | sed -f br.sed >> %{name}.files
|
||||
find %{buildroot}%{_libdir} -name '*.so' | sed -f br.sed > %{name}.devel
|
||||
find %{buildroot}%{_libdir} -name '*.cmake' | sed -f br.sed >> %{name}.devel
|
||||
%if %{with test}
|
||||
find %{buildroot} -name '%{name}-*' | sed -f br.sed > %{name}.test
|
||||
find %{buildroot} -name 'mat_*' | sed -f br.sed >> %{name}.test
|
||||
find %{buildroot} -name 'posmat_*' | sed -f br.sed >> %{name}.test
|
||||
%endif
|
||||
|
||||
if [ -f %{buildroot}%{_prefix}/share/doc/rocsolver/LICENSE.md ]; then
|
||||
rm %{buildroot}%{_prefix}/share/doc/rocsolver/LICENSE.md
|
||||
fi
|
||||
|
||||
%files -f %{name}.files
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%{_libdir}/librocsolver.so.0{,.*}
|
||||
|
||||
%files devel -f %{name}.devel
|
||||
%files devel
|
||||
%doc README.md
|
||||
%dir %{_libdir}/cmake/rocsolver
|
||||
%dir %{_includedir}/rocsolver
|
||||
%{_includedir}/rocsolver/*
|
||||
%{_libdir}/librocsolver.so
|
||||
%{_libdir}/cmake/rocsolver/*.cmake
|
||||
|
||||
%if %{with test}
|
||||
%files test -f %{name}.test
|
||||
%files test
|
||||
%dir %{_datadir}/rocsolver
|
||||
%{_datadir}/rocsolver/test/*
|
||||
%{_bindir}/rocsolver*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue May 13 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.0-2
|
||||
- Cleanup module build
|
||||
|
||||
* Fri Apr 18 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.0-1
|
||||
- Update to 6.4.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user