Bug 2478110

Summary: Review Request: cxx-rust-cssparser - Library for parsing CSS using the Rust cssparser crate
Product: [Fedora] Fedora Reporter: Steve Cossette <farchord>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://invent.kde.org/libraries/cxx-rust-cssparser
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-05-20 12:03:09 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:
Bug Depends On: 2478032    
Bug Blocks: 2480150    

Description Steve Cossette 2026-05-15 23:16:17 UTC
Spec URL: https://farchord.fedorapeople.org/reviews/cxx-rust-cssparser/cxx-rust-cssparser.spec
SRPM URL: https://farchord.fedorapeople.org/reviews/cxx-rust-cssparser/cxx-rust-cssparser-1.0.0-1.fc44.src.rpm

Description:
Library for parsing CSS using the Rust cssparser crate.

Fedora Account System Username: farchord

Comment 1 Steve Cossette 2026-05-15 23:17:49 UTC
Note: Requires https://bugzilla.redhat.com/show_bug.cgi?id=2478032 to be in Fedora for this to build.

Comment 2 Neal Gompa 2026-05-15 23:20:15 UTC
Taking this review.

Comment 3 Neal Gompa 2026-05-15 23:24:14 UTC
Initial spec review:

> %build
> %cmake_kf6
> %cmake_build
> cd rust
> %cargo_license_summary
> %{cargo_license} > LICENSE.dependencies
> cd ..

This should be broken up:

%conf
%cmake_kf6
cd rust
%cargo_license_summary
%{cargo_license} > LICENSE.dependencies
cd ..

%build
%cmake_build

> %{_kf6_libdir}/lib%{name}.so.1
> %{_kf6_libdir}/lib%{name}.so.1.0.0

This should be something like:

%{_kf6_libdir}/lib%{name}.so.1{,.*}

Comment 4 Neal Gompa 2026-05-15 23:25:25 UTC
(In reply to Neal Gompa from comment #3)
> 
> > %{_kf6_libdir}/lib%{name}.so.1
> > %{_kf6_libdir}/lib%{name}.so.1.0.0
> 
> This should be something like:
> 
> %{_kf6_libdir}/lib%{name}.so.1{,.*}

Alternatively, this can be:

%{_kf6_libdir}/lib%{name}.so.1
%{_kf6_libdir}/lib%{name}.so.%{version}

Comment 6 Steve Cossette 2026-05-19 00:53:18 UTC
[fedora-review-build]

Comment 7 Steve Cossette 2026-05-20 00:53:29 UTC
I'm running the build on copr here so we have an output from fedora-review: https://copr.fedorainfracloud.org/coprs/farchord/reviews/build/10485933/

Comment 8 Steve Cossette 2026-05-20 01:16:43 UTC
FYI, Fedora-review is complaining about an empty license file. It is the LicenseRef-KDE-Accepted-LGPL which Fedora doesn't use anyway. I submitted a PR upstream to fix it: https://invent.kde.org/libraries/cxx-rust-cssparser/-/merge_requests/19

Comment 9 Neal Gompa 2026-05-20 11:48:52 UTC
Review notes:

* Package follows packaging guidelines
* Package builds and installs
* Package licensing is correct and license data is installed
* No serious issues from rpmlint

PACKAGE APPROVED.

Comment 10 Steve Cossette 2026-05-20 11:52:03 UTC
Thank you for the review, Neal

Comment 11 Fedora Admin user for bugzilla script actions 2026-05-20 11:52:10 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/cxx-rust-cssparser
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`