Bug 2360416

Summary: Review Request: intel-npu-driver - Intel Neural Processing Unit Driver
Product: [Fedora] Fedora Reporter: Ali Erdinc Koroglu <aekoroglu>
Component: Package ReviewAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: aekoroglu, ajax, ndegraef, package-review
Target Milestone: ---Flags: ajax: fedora-review+
ndegraef: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/intel/linux-npu-driver
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-15 05:45:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 8911082 to 9132416 none

Description Ali Erdinc Koroglu 2025-04-16 18:20:09 UTC
SPEC Url: https://download.copr.fedorainfracloud.org/results/aekoroglu/fedora/fedora-rawhide-x86_64/08910653-intel-npu-driver/intel-npu-driver.spec
SRPM Url: https://download.copr.fedorainfracloud.org/results/aekoroglu/fedora/fedora-rawhide-x86_64/08910653-intel-npu-driver/intel-npu-driver-1.16.0-1.fc43.src.rpm

Description:
Intel NPU device is an AI inference accelerator integrated with Intel client CPUs, starting from Intel Core Ultra generation of CPUs (formerly known as
Meteor Lake). It enables energy-efficient execution of artificial neural
network tasks.

Reproducible: Always

Comment 1 Fedora Review Service 2025-04-16 18:42:36 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8911082
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2360416-intel-npu-driver/fedora-rawhide-x86_64/08911082-intel-npu-driver/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Adam Jackson 2025-04-17 18:22:58 UTC
Quick notes:

- The base package probably wants to say Requires: oneapi-level-zero so the loader gets (maybe Suggests but Requires feels better to me)
- The -devel package probably shouldn't exist, upstream should just not install the ".so" file since libze_loader will always open the versioned filename.

Comment 4 Fedora Review Service 2025-06-04 16:02:01 UTC
Created attachment 2093009 [details]
The .spec file difference from Copr build 8911082 to 9132416

Comment 5 Fedora Review Service 2025-06-04 16:02:04 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9132416
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2360416-intel-npu-driver/fedora-rawhide-x86_64/09132416-intel-npu-driver/fedora-review/review.txt

Found issues:

- Unversioned so-files directly in %_libdir.
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_devel_packages

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 6 Adam Jackson 2025-07-03 15:56:29 UTC
> - Unversioned so-files directly in %_libdir.

The unversioned .so symlink in intel-npu-driver-1.16.0-1.fc42.x86_64.rpm should be removed in the %install phase. As mentioned in comment #2, the level zero loader will always open libze_intel_npu.so.1 and never libze_intel_npu.so. Since the driver is not intended to be linked directly but rather always dlopened, there should not be an unversioned .so symlink for it lest ld(1) link to it.

Package looks good otherwise.

Comment 8 Adam Jackson 2025-08-08 14:31:45 UTC
LGTM, approved.

Comment 9 Niels De Graef 2025-08-11 19:57:02 UTC
@aekoroglu : jfyi, this is now ready for requesting a Git repository for the Fedora Pagure

Comment 10 Ali Erdinc Koroglu 2025-08-13 05:20:30 UTC
Bug should be assigned to someone 1st

Comment 11 Fedora Admin user for bugzilla script actions 2025-08-14 16:10:43 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/intel-npu-driver

Comment 12 Ali Erdinc Koroglu 2025-08-15 05:45:57 UTC
Thank you @ajax and @ndegraef 

https://koji.fedoraproject.org/koji/buildinfo?buildID=2791352