Compare commits

3 Commits

Author SHA1 Message Date
669400a686 Add Fedora copyright
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-27 13:59:11 -07:00
3586178b26 Simplify file removal
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 15:12:13 -07:00
0b68a637cc Remove changelog file
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 08:20:50 -07:00
2 changed files with 30 additions and 13 deletions

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,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 hiprand_name libhiprand1
%else
@@ -41,7 +62,7 @@
Name: %{hiprand_name}
Version: %{rocm_version}
Release: 4%{?dist}
Release: 6%{?dist}
Summary: HIP random number generator
Url: https://github.com/ROCm/%{upstreamname}
@@ -138,12 +159,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}
@@ -174,6 +191,12 @@ export LD_LIBRARY_PATH=$PWD/build/library:$LD_LIBRARY_PATH
%endif
%changelog
* Wed Aug 27 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-6
- Add Fedora copyright
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-5
- Simplify file removal
* Wed Jul 30 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4
- Remove -mtls-dialect cflag