Compare commits

...

5 Commits

Author SHA256 Message Date
ec48117ab1 Merge updates from upstream/rawhide into main branch 2025-08-26 22:37:10 +02:00
d47def8a68 Convert to SUSE Format
Signed-off-by: Egbert Eich <eich@suse.com>
2025-08-26 22:37:10 +02:00
d0f175651c Add/update .git* files, add sources & remove unneeded files
Signed-off-by: Egbert Eich <eich@suse.com>
2025-08-26 22:37:06 +02:00
04a58aea9f Simplify file removal
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 15:12:13 -07:00
80308abc3a Remove changelog file
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 08:20:50 -07:00
4 changed files with 9 additions and 13 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ _buildconfig*
_buildinfo*
debian
.osc
changelog

View File

@@ -1,6 +0,0 @@
* Fri Dec 22 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 6.0.0-2
- Add test package
- Use rocm toolchain instead of clang (requires rocm macros)
* Thu Dec 21 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 6.0.0-1
- Initial package

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 25 00:00:00 UTC 2025 - Tom Rix <Tom.Rix@amd.com>
- Simplify file removal
-------------------------------------------------------------------
Wed Jul 30 00:00:00 UTC 2025 - Tom Rix <Tom.Rix@amd.com>

View File

@@ -59,7 +59,7 @@
Name: %{hiprand_name}
Version: %{rocm_version}
Release: 4%{?dist}
Release: 5%{?dist}
Summary: HIP random number generator
URL: https://github.com/ROCm/%{upstreamname}
@@ -156,12 +156,8 @@ sed -i -e 's@set(CMAKE_CXX_STANDARD 11)@set(CMAKE_CXX_STANDARD 14)@' {,test/pack
%install
%cmake_install
if [ -f %{buildroot}%{_prefix}/share/doc/hiprand/LICENSE.txt ]; then
rm %{buildroot}%{_prefix}/share/doc/hiprand/LICENSE.txt
fi
if [ -f %{buildroot}%{_prefix}/bin/hipRAND/CTestTestfile.cmake ]; then
rm %{buildroot}%{_prefix}/bin/hipRAND/CTestTestfile.cmake
fi
rm -f %{buildroot}%{_prefix}/share/doc/hiprand/LICENSE.txt
rm -f %{buildroot}%{_prefix}/bin/hipRAND/CTestTestfile.cmake
%check
%if %{with test}