Bug 2478110 - Review Request: cxx-rust-cssparser - Library for parsing CSS using the Rust cssparser crate
Summary: Review Request: cxx-rust-cssparser - Library for parsing CSS using the Rust c...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://invent.kde.org/libraries/cxx-...
Whiteboard:
Depends On: 2478032
Blocks: 2480150
TreeView+ depends on / blocked
 
Reported: 2026-05-15 23:16 UTC by Steve Cossette
Modified: 2026-05-20 12:19 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-05-20 12:03:09 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

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`


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