public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocthrust] rawhide: merge compat changes
Date: Sun, 07 Jun 2026 19:22:48 GMT	[thread overview]
Message-ID: <178086016861.1.5984519990071629198.rpms-rocthrust-0dbb71dda8cc@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocthrust
            Branch : rawhide
            Commit : 0dbb71dda8ccb3f2e249214bf31f961193cb6b94
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-06-07T12:22:20-07:00
            Stats  : +26/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocthrust/c/0dbb71dda8ccb3f2e249214bf31f961193cb6b94?branch=rawhide

            Log:
            merge compat changes

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rocthrust.spec b/rocthrust.spec
index d768329..7422f98 100644
--- a/rocthrust.spec
+++ b/rocthrust.spec
@@ -74,7 +74,7 @@ Version:        %{rocm_version}
 %if %{with preview}
 Release:        0%{?dist}
 %else
-Release:        4%{?dist}
+Release:        5%{?dist}
 %endif
 Summary:        ROCm Thrust library
 
@@ -86,16 +86,24 @@ License:        Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MIT
 %else
 # https://docs.fedoraproject.org/en-US/legal/allowed-licenses/
 # Uses 'LicenseRef-Fedora-Public-Domain'
-License:        Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MIT AND LicenseRef-Fedora-Public-Domain
+License:        Apache-2.0 AND MIT AND (Apache-2.0 AND BSL-1.0) AND BSL-1.0 AND LicenseRef-Fedora-Public-Domain AND (Apache-2.0 AND MIT) AND BSD-2-Clause AND BSD-3-Clause
 %endif
 # All files are Apache 2.0 with some exceptions:
 # ./cmake contains only files under MIT
-# ./internal/benchmark/*.py are dual licensed Apache 2.0 and Boost 1.0
+# These misc files are MIT
+#   ./thrust/detail/config/libcxx.h
+#   ./thrust/detail/nv_target.h
+#   ./thrust/optional.h
+#   ./thrust/system/hip/detail/general/temp_storage.h
+#   ./thrust/system/hip/detail/general/various.h
+#   ./thrust/zip_function.h
 # ./thrust/ contain some headers files that are Boost 1.0 licensed
 # ./thrust/ contain some headers that are dual Apache 2.0 and Boost 1.0
 # ./thrust/cmake/FindTBB.cmake is public domain
 # ./thrust/detail/allocator/allocator_traits.h is dual Apache 2.0 and MIT
+# ./thrust/detail/system/hip/hipstdpar/* is dual Apache 2.0 and MIT
 # ./thrust/detail/complex contains BSD 2 clause licensed headers
+# ./thrust/system/* is BSD 3
 
 URL:            https://github.com/ROCm/rocm-libraries
 
@@ -106,6 +114,7 @@ BuildRequires:  gcc-c++
 BuildRequires:  rocm-cmake%{pkg_suffix}
 BuildRequires:  rocm-comgr%{pkg_suffix}-devel
 BuildRequires:  rocm-compilersupport%{pkg_suffix}-macros
+BuildRequires:  rocm-filesystem%{pkg_suffix}
 BuildRequires:  rocm-hip%{pkg_suffix}-devel
 BuildRequires:  rocprim%{pkg_suffix}-static
 BuildRequires:  rocm-runtime%{pkg_suffix}-devel
@@ -132,6 +141,7 @@ ported to HIP/ROCm platform, which uses the rocPRIM library.
 %package devel
 Summary:        The %{upstreamname} development package
 Provides:       %{name}-static = %{version}-%{release}
+Requires:       rocm-filesystem%{pkg_suffix}
 
 %description devel
 The %{upstreamname} development package.
@@ -145,6 +155,16 @@ The %{upstreamname} development package.
 # Make this change so they match
 sed -i -e 's/ROCM_INSTALL_LIBDIR lib/ROCM_INSTALL_LIBDIR share/' cmake/ROCMExportTargetsHeaderOnly.cmake
 
+# Remove some things to make the license check easier
+rm -rf doc docs examples extra benchmark scripts
+rm -f toolchain*
+# hidden files/dirs
+rm -rf .azuredevops .git* .readthedocs.yaml 
+# remove things only needed in check
+%if %{without check}
+rm -rf test testing internal
+%endif
+
 %build
 
 %if %{with check}
@@ -191,6 +211,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocthrust/LICENSE
 %{pkg_prefix}/share/cmake/rocthrust/
 
 %changelog
+* Sun Jun 7 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
+- merge compat changes
+
 * Thu May 28 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
 - Explicitly license smoke tests 0BSD
 - Smoke test not part of srpm so remove from license tag

                 reply	other threads:[~2026-06-07 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178086016861.1.5984519990071629198.rpms-rocthrust-0dbb71dda8cc@fedoraproject.org \
    --to=tom.rix@amd.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox