Bug 2574288 - Review Request: yara-x - malware identification and classification tool
Summary: Review Request: yara-x - malware identification and classification tool
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2026-11-17 11:17 UTC by Javier Ramirez
Modified: 2026-11-19 02:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.