Compare commits

2 Commits

Author SHA1 Message Date
b7126a30df Add Fedora copyright
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-27 14:01:04 -07:00
876a6f6c94 Simplify file removal
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 15:15:56 -07:00

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 hipfft_name libhipfft0
%else
@@ -40,7 +61,7 @@
Name: %{hipfft_name}
Version: %{rocm_version}
Release: 2%{?dist}
Release: 4%{?dist}
Summary: ROCm FFT marshalling library
Url: https://github.com/ROCm/%{upstreamname}
License: MIT
@@ -140,9 +161,7 @@ sed -i -e 's@find_package( HIP MODULE REQUIRED )@find_package( HIP REQUIRED )@'
%install
%cmake_install
if [ -f %{buildroot}%{_prefix}/share/doc/hipfft/LICENSE.md ]; then
rm %{buildroot}%{_prefix}/share/doc/hipfft/LICENSE.md
fi
rm -f %{buildroot}%{_prefix}/share/doc/hipfft/LICENSE.md
%check
%if %{with test}
@@ -175,6 +194,12 @@ 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-4
- Add Fedora copyright
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-3
- Simplify file removal
* Wed Jul 30 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-2
- Remove -mtls-dialect cflag