Bug 2356940 - Review Request: bootmac - Configures the MAC addresses of WLAN and Bluetooth interfaces at boot
Summary: Review Request: bootmac - Configures the MAC addresses of WLAN and Bluetooth ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://gitlab.postmarketos.org/postm...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-02 16:25 UTC by Sam Day
Modified: 2025-04-19 13:11 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Sam Day 2025-04-02 16:25:07 UTC
Spec URL: https://samcday.fedorapeople.org/bootmac.spec
SRPM URL: https://samcday.fedorapeople.org/bootmac-0.6.0-1.fc43.src.rpm

Description:
Configures the MAC addresses of WLAN and Bluetooth interfaces at boot.

Fedora Account System Username: samcday

Comment 1 Sam Day 2025-04-02 16:25:10 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=131021522

Comment 2 Fedora Review Service 2025-04-02 16:36:09 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8853223
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2356940-bootmac/fedora-rawhide-x86_64/08853223-bootmac/fedora-review/review.txt

Please take a look if any issues were found.


---
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 Alex Haydock 2025-04-19 13:11:26 UTC
Hi!

I tried taking a look at this package as a non-binding review. I am not a Fedora Packager yet, but as part of the pre-requisites to become one I am trying to review existing packages in the queue to get familiar with the basics and some of the philosophy behind various design decisions.

I spotted a few things so far in the current SPEC:

The line:
```
%global debug_package %{nil}
```

Should not be needed as the package is a `noarch` package without any ELF objects with debuginfo, so there can be no debuginfo.

The `-p` flag should be used for `install` arguments to preserve timestamps, e.g.:

```
install -Dpm755 bootmac -t %{buildroot}%{_bindir}/
```

At a package level, I'm not too familiar with the codebase here but I'm wondering if there's a particular reason why the `bootmac-wifi.rules` from upstream have been included, but the `bootmac-bluetooth.rules` equivalent for Bluetooth has not?


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