Bug 2574288

Summary: Review Request: yara-x - malware identification and classification tool
Product: [Fedora] Fedora Reporter: Javier Ramirez <javilinux>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: kwizart, package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 177841    

Description Javier Ramirez 2026-11-17 11:17:24 UTC
Spec URL: https://salsa.debian.org/-/snippets/887/raw
SRPM URL: https://download.opensuse.org/repositories/home:/javilinux/Fedora_Rawhide/src/yara-x-1.23.0-17.1.src.rpm

Description:
YARA-X is the Rust-based rewrite of the well-known YARA tool aimed at
helping malware researchers identify and classify malware samples.
With YARA-X you can create descriptions of malware families based on
textual or binary patterns contained in samples. Each description
consists of a set of strings and a Boolean expression which determines
its logic.

This package provides the yr(1) CLI tool, bash completion, and manual page.

Fedora Account System (FAS) Username: javilinux
GPG Key Fingerprint: 1129E7DE50E482D73C538333FABD00665C5D94D9

Rust/Cargo Offline Build:
Upstream vendored dependencies are extracted via vendor.tar.zst to comply
with offline build requirements and cargo packaging guidelines.

Comment 1 Javier Ramirez 2026-11-17 20:36:10 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/jramirez/yara-x/fedora-rawhide-x86_64/11342732-yara-x/yara-x.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/jramirez/yara-x/srpm-builds/11342732/yara-x-1.23.0-1.fc46.src.rpm
Copr Build (x86_64 & aarch64 succeeded): https://copr.fedorainfracloud.org/coprs/build/11342732

Updated the submission from scratch following the Fedora Rust Packaging Guidelines (non-crate Rust project template) and feedback from #devel:fedoraproject.org:

- Switched hosting from external OBS/Salsa links to official Fedora Copr (jramirez/yara-x).
- Removed all non-Fedora conditionals, Group: tag, and switched to rpmautospec (%autorelease / %autochangelog).
- Switched Source0 to the verifiable upstream GitHub release archive (v1.23.0).
- Adopted cargo-rpm-macros >= 25 (%cargo_prep -v vendor, %cargo_build, %cargo_test).
- Populated License: with the full SPDX conjunction from %{cargo_license_summary} and packaged LICENSE.dependencies.
- Enabled %{cargo_vendor_manifest} (cargo-vendor.txt) so RPM emits Provides: bundled(crate(...)) for all vendored crates.
- Added Source2: create-vendor-tarball.sh to deterministically reproduce the vendor tarball from Source0 (stripping prebuilt Windows/WASI binary blobs) and documented the missing Rawhide crates (wasmtime 48, walrus 0.27, rsa 0.10.0-rc.19, etc.).
- Added bash, fish, and zsh completions for yr alongside yr(1).

Note: My Fedora Account System (FAS) username is jramirez (Bugzilla user javilinux). I am an engineer at VirusTotal (upstream for yara-x) and co-maintainer of yara-x in openSUSE:Factory (SR#1397968, accepted).

Comment 2 Fedora Review Service 2026-11-18 11:28:17 UTC
There seems to be some problem with the following file.
SRPM URL: https://download.opensuse.org/repositories/home:/javilinux/Fedora_Rawhide/src/yara-x-1.23.0-17.1.src.rpm
Fetching it results in a 404 Not Found error.
Please make sure the URL is correct and publicly available.


---
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 3 Javier Ramirez 2026-11-19 02:20:31 UTC
[fedora-review-service-build]

Spec URL: https://download.copr.fedorainfracloud.org/results/jramirez/yara-x/fedora-rawhide-x86_64/11342732-yara-x/yara-x.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/jramirez/yara-x/srpm-builds/11342732/yara-x-1.23.0-1.fc46.src.rpm

Triggering a fresh fedora-review-service run against the new Copr URLs.

Also, following up on Fabio's (decathorpe) pointer to Fedora's AI Contribution Policy in #devel:fedoraproject.org: yes, I use AI assistance to help put together and iterate on the spec file and helper scripts, while I review the changes, check the packaging outputs and Copr builds, and take full responsibility for this submission.

Assisted-by: Antigravity (Gemini)