Compare commits

3 Commits

Author SHA1 Message Date
a9aeae6333 Add Fedora copyright
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-27 12:50:31 -07:00
16cccd256b Simplify file removal
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 13:41:51 -07:00
5615b311c3 Remove changelog
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 08:28:48 -07:00
2 changed files with 29 additions and 29 deletions

View File

@@ -1,25 +0,0 @@
* Fri Oct 20 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.7.1-1
- Update to 5.7.1
* Tue Oct 03 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.7.0-1
- Update to 5.7
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jun 30 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.6.0-1
- Update to 5.6
* Fri Jun 16 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.5.1-3
- Fix hardening flags
- Fix license field
* Sat Jun 10 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.5.1-2
- Add with check option (requires HW), useful for CI or manual tests
- Drop chrpath, patch the cmake in prep instead
- Package README.md's instead of CHANGLOG.md files
- clean up in build section
- rpmlint fixes
* Fri Jun 09 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.5.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 rocrand_name librocrand1
%else
@@ -83,7 +104,7 @@
Name: %{rocrand_name}
Version: %{rocm_version}
Release: 6%{?dist}
Release: 8%{?dist}
Summary: ROCm random number generator
Url: https://github.com/ROCm/rocRAND
@@ -175,9 +196,7 @@ sed -i -e 's@set(CMAKE_CXX_STANDARD 11)@set(CMAKE_CXX_STANDARD 17)@' {,test/{cpp
%install
%cmake_install
if [ -f %{buildroot}%{_prefix}/share/doc/rocrand/LICENSE.txt ]; then
rm %{buildroot}%{_prefix}/share/doc/rocrand/LICENSE.txt
fi
rm -f %{buildroot}%{_prefix}/share/doc/rocrand/LICENSE.txt
%check
%if %{with check}
@@ -210,6 +229,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-8
- Add Fedora copyright
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-7
- Simplify file removal
* Thu Aug 14 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-6
- Build -test on TW