Compare commits

3 Commits

Author SHA1 Message Date
c08bb41135 Add Fedora copyright
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-27 13:48:50 -07:00
eaf6895d47 Simplify removal of files
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 17:06:28 -07:00
30a74dad2d Remove changelog
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 08:37:24 -07:00
2 changed files with 30 additions and 10 deletions

View File

@@ -1,5 +0,0 @@
* Fri Nov 3 2023 Tom Rix <trix@redhat.com> - 5.7.1-2
- Address review comments
* Wed Nov 1 2023 Tom Rix <trix@redhat.com> - 5.7.1-1
- Initial package

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 rocsparse_name librocsparse1
%else
@@ -79,7 +100,7 @@
Name: %{rocsparse_name}
Version: %{rocm_version}
Release: 6%{?dist}
Release: 8%{?dist}
Summary: SPARSE implementation for ROCm
Url: https://github.com/ROCm/%{upstreamname}
License: MIT
@@ -183,9 +204,7 @@ sed -i -e 's@set(CMAKE_CXX_STANDARD 14)@set(CMAKE_CXX_STANDARD 17)@' {,clients/}
%install
%cmake_install
if [ -f %{buildroot}%{_prefix}/share/doc/rocsparse/LICENSE.md ]; then
rm %{buildroot}%{_prefix}/share/doc/rocsparse/LICENSE.md
fi
rm -f %{buildroot}%{_prefix}/share/doc/rocsparse/LICENSE.md
%if %{with test}
mkdir -p %{buildroot}/%{_datadir}/rocsparse/matrices
@@ -229,8 +248,14 @@ export LD_LIBRARY_PATH=%{_vpath_builddir}/library:$LD_LIBRARY_PATH
%endif
%changelog
* Wed Aug 27 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-8
- Add Fedora copyright
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-7
- Simplify file removal
* Sat Aug 16 2025 Egbert Eich <eich@suse.com> - 6.4.2-6
- Fix dependency on SUSE when test is enabled.
- Fix dependency on SUSE when test is enabled.
* Fri Aug 15 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-5
- Build --with test on SUSE