|
|
|
|
@@ -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.
|
|
|
|
|
#
|
|
|
|
|
%global upstreamname roctracer
|
|
|
|
|
%global rocm_release 6.4
|
|
|
|
|
%global rocm_patch 0
|
|
|
|
|
@@ -129,9 +150,7 @@ sed -i -e 's@add_subdirectory(test)@#add_subdirectory(test)@' CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
# Adjust test running script lib dir
|
|
|
|
|
sed -i -e 's@../lib/@../lib64/@' test/run.sh
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
sed -i -e "/^ *install/s/CMAKE_INSTALL_DATAROOTDIR/CMAKE_INSTALL_LIBDIR/" test/CMakeLists.txt
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
@@ -183,24 +202,15 @@ rm -rf rm %{buildroot}%{_datadir}/html
|
|
|
|
|
|
|
|
|
|
%if %{with test}
|
|
|
|
|
%files test
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
|
%{_libdir}/%{name}/run_tests.sh
|
|
|
|
|
%{_libdir}/%{name}/*.hsaco
|
|
|
|
|
%dir %{_libdir}/%{name}/test
|
|
|
|
|
%{_libdir}/%{name}/test/*
|
|
|
|
|
%else
|
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 14 2025 Egbert Eich <eich@suse.com> - 6.4.0-6
|
|
|
|
|
- On SUSE fix installation of arch dependent files to
|
|
|
|
|
non arch directories when test is enabled.
|
|
|
|
|
* Wed Aug 27 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.0-6
|
|
|
|
|
- Add Fedora copyright
|
|
|
|
|
|
|
|
|
|
* Thu Aug 7 2025 Egbert Eich <eich@suse.com> - 6.4.0-5
|
|
|
|
|
* Tue Aug 7 2025 Egbert Eich <eich@suse.com> - 6.4.0-5
|
|
|
|
|
- Fix python dependencies for SUSE.
|
|
|
|
|
|
|
|
|
|
* Thu Aug 7 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.0-4
|
|
|
|
|
|