Bug 2529497

Summary: Review Request: rust-wildmatch - Simple string matching with single- and multi-character wildcard operator
Product: [Fedora] Fedora Reporter: Phoebe Harris <hello>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---Flags: decathorpe: fedora-review?
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:

Description Phoebe Harris 2026-09-07 15:10:41 UTC
Spec URL: https://github.com/phoebehfharris/rust-wildmatch-fedora/releases/download/Release/rust-wildmatch.spec
SRPM URL: https://github.com/phoebehfharris/rust-wildmatch-fedora/releases/download/Release/rust-wildmatch-2.6.1-1.fc46.src.rpm
Description:Simple string matching with single- and multi-character wildcard operator
Fedora Account System Username: phoebeharris

Comment 1 Fabio Valentini 2026-10-07 12:19:48 UTC
Looks like this package contains (at least some) files with DOS-style line endings.

from rpmlint:

rust-wildmatch-devel.noarch: W: wrong-file-end-of-line-encoding /usr/share/cargo/registry/wildmatch-2.6.1/CONTRIBUTING.md
rust-wildmatch-devel.noarch: W: wrong-file-end-of-line-encoding /usr/share/cargo/registry/wildmatch-2.6.1/README.md

from ingredients:

$ ingredients report wildmatch 2.6.1 
warning: contents of file at path '.github/ISSUE_TEMPLATE/bug_report.md' use different line endings (CRLF / LF)
warning: contents of file at path '.github/ISSUE_TEMPLATE/feature_request.md' use different line endings (CRLF / LF)
warning: contents of file at path '.github/workflows/build.yml' use different line endings (CRLF / LF)
warning: contents of file at path '.gitignore' use different line endings (CRLF / LF)
warning: contents of file at path 'CONTRIBUTING.md' use different line endings (CRLF / LF)
warning: contents of file at path 'LICENSE' use different line endings (CRLF / LF)
warning: contents of file at path 'README.md' use different line endings (CRLF / LF)
warning: contents of file at path 'benches/patterns.rs' use different line endings (CRLF / LF)
warning: contents of file at path 'src/lib.rs' use different line endings (CRLF / LF)

These should be normalized to "LF" (\n) line endings. You can take a look at the config file from rust-float16 for how to handle this with a rust2rpm.toml config file:

https://src.fedoraproject.org/rpms/rust-float16/blob/rawhide/f/rust2rpm.toml

Comment 2 Phoebe Harris 2026-11-04 19:31:55 UTC
https://github.com/phoebehfharris/rust-wildmatch-fedora/releases/download/review2/rust-wildmatch-2.7.0-1.fc46.src.rpm
https://github.com/phoebehfharris/rust-wildmatch-fedora/releases/download/review2/rust-wildmatch.spec

That should be all done. Note that I've updated to 2.7.0, which has included patching the version of ntest to match the one included in the repos as discussed in the Matrix.