Compare commits

2 Commits

Author SHA1 Message Date
aa320869da Add Fedora copyright
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-27 13:51:05 -07:00
74f9182535 Simplify removal of files
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 19:56:57 -07:00

View File

@@ -1,3 +1,24 @@
#
# Copyright Fedora Project Authors.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
%if 0%{?suse_version}
%global rocsolver_name librocsolver0
%else
@@ -72,7 +93,7 @@
Name: %{rocsolver_name}
Version: %{rocm_version}
Release: 3%{?dist}
Release: 5%{?dist}
Summary: Next generation LAPACK implementation for ROCm platform
Url: https://github.com/ROCm/rocSOLVER
@@ -270,9 +291,7 @@ fi
%install
%cmake_install
if [ -f %{buildroot}%{_prefix}/share/doc/rocsolver/LICENSE.md ]; then
rm %{buildroot}%{_prefix}/share/doc/rocsolver/LICENSE.md
fi
rm -f %{buildroot}%{_prefix}/share/doc/rocsolver/LICENSE.md
%files
%license LICENSE.md
@@ -294,6 +313,12 @@ fi
%endif
%changelog
* Wed Aug 27 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-5
- Add Fedora copyright
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4
- Simplify removal of files
* Wed Aug 6 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-3
- Default build type RelWithDebInfo