Bug 2022176 - Review Request: system76-keyboard-configurator - System76 Keyboard Configurator
Summary: Review Request: system76-keyboard-configurator - System76 Keyboard Configurator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2022178 2022179 2022180 2022217
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-11 01:41 UTC by Link Dupont
Modified: 2021-12-11 01:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-12-11 01:29:54 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Comment 1 Maxwell G 2021-11-12 22:51:25 UTC
(In reply to Link Dupont from comment #0)
> Spec URL:
> https://download.copr.fedorainfracloud.org/results/linkdupont/reviews/fedora-
> rawhide-x86_64/02948977-system76-keyboard-configurator/system76-keyboard-
> configurator.spec
> SRPM URL:
> https://download.copr.fedorainfracloud.org/results/linkdupont/reviews/fedora-
> rawhide-x86_64/02948977-system76-keyboard-configurator/system76-keyboard-
> configurator-1.0.0-1.fc36.src.rpm

These links are broken.

Comment 3 Link Dupont 2021-11-13 01:35:03 UTC
(In reply to Maxwell G from comment #1)
> These links are broken.

Yes, thank you for pointing that out. A number of my review bugs will have missing links at this point; I had to rebuild some of them.

Comment 4 Neal Gompa 2021-11-13 02:59:33 UTC
> Requires:      %{name} == %{version}-%{release}

I'm not sure "==" is valid, I think you need to use "=" instead.

Comment 5 Link Dupont 2021-11-14 03:18:39 UTC
(In reply to Neal Gompa from comment #4)
> > Requires:      %{name} == %{version}-%{release}
> 
> I'm not sure "==" is valid, I think you need to use "=" instead.

Oops. You're right. Good catch.

Comment 6 Neal Gompa 2021-11-14 13:45:22 UTC
> BuildRequires: libudev-devel
> BuildRequires: hidapi-devel
> [...]
> BuildRequires: (crate(hidapi/linux-static-hidraw) >= 1.2.0 with crate(hidapi/linux-static-hidraw) < 2.0.0~)

This should be changed to use the "linux-shared-hidraw" feature instead in the backend Cargo.toml: https://github.com/pop-os/keyboard-configurator/blob/666266c60c89186b829efdfb061f7cde1271deb5/backend/Cargo.toml#L12

That will also let you drop hidapi-devel BR here (and probably libudev-devel BR too) since the changes I requested in bug 2022179 will propagate up the needed build dependencies.

Comment 7 Neal Gompa 2021-11-14 13:45:51 UTC
Taking this review.

Comment 8 Neal Gompa 2021-11-14 17:50:54 UTC
I've filed this as an upstream ticket as well: https://github.com/pop-os/keyboard-configurator/issues/107

Comment 10 Neal Gompa 2021-11-15 17:43:04 UTC
> %package devel
>
> Summary:       Development files for %{name}
> Requires:      %{name} = %{version}-%{release}
>
> %description devel
> Development files for configuration of System76 keyboard firmware.

This has no file list section, is this intentional? If so, should this be deleted?

> %forgesetup
> %patch0 -p1
> %patch1 -p1

This can be "%forgeautosetup -p1" instead.

Comment 12 Neal Gompa 2021-11-19 17:55:03 UTC
Package was generated through rust2rpm, simplifying the review considerably.

- Conforms to packaging guidelines (rust2rpm generated spec)
- license correct and valid
- executable produced with correct binary subpackage
- builds and installs

PACKAGE APPROVED.

Comment 13 Gwyn Ciesla 2021-11-19 18:59:47 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/system76-keyboard-configurator

Comment 14 Fedora Update System 2021-11-29 18:17:58 UTC
FEDORA-2021-01f7520709 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

Comment 15 Fedora Update System 2021-11-30 02:19:25 UTC
FEDORA-2021-01f7520709 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-01f7520709 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2021-12-02 17:49:09 UTC
FEDORA-2021-01f7520709 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

Comment 17 Fedora Update System 2021-12-03 01:48:20 UTC
FEDORA-2021-01f7520709 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-01f7520709 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2021-12-11 01:29:54 UTC
FEDORA-2021-01f7520709 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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