Bug 2387625 - Review Request: cellbroadcastd - DBus daemon for cellular broadcast messages
Summary: Review Request: cellbroadcastd - DBus daemon for cellular broadcast messages
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: https://gitlab.freedesktop.org/devrtz...
Whiteboard:
Depends On:
Blocks: 2387375
TreeView+ depends on / blocked
 
Reported: 2025-08-11 14:52 UTC by Tomi Lähteenmäki
Modified: 2025-09-01 19:53 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-09-01 19:53:04 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 9398494 to 9437833 (1.48 KB, patch)
2025-08-17 09:32 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9437833 to 9438236 (1.06 KB, patch)
2025-08-17 13:45 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9438236 to 9461965 (1.18 KB, patch)
2025-08-24 17:54 UTC, Fedora Review Service
no flags Details | Diff

Description Tomi Lähteenmäki 2025-08-11 14:52:23 UTC
Spec URL: https://codeberg.org/Lihis/cellbroadcastd-spec/raw/commit/1e240f01d1279e4a37eaea81d65dfe63bccd456f/cellbroadcastd.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/6185/135936185/cellbroadcastd-0.0.2-1.fc43.src.rpm
Description: cellbroadcastd provides DBus daemon manages cell broadcast
messages received via ModemManager. It
offers a library (libcellbroadcast) and GObject introspection bindings
to ease using it from applications.
Fedora Account System Username: lihis

Comment 1 Fedora Review Service 2025-08-11 15:11:02 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9398494
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2387625-cellbroadcastd/fedora-rawhide-x86_64/09398494-cellbroadcastd/fedora-review/review.txt

Found issues:

- Systemd user unit service file(s) in cellbroadcastd
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_user_units

Please know that there can be false-positives.

---
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 2 Neal Gompa 2025-08-16 20:56:46 UTC
Taking this review.

Comment 3 Neal Gompa 2025-08-16 21:00:44 UTC
Spec review notes:

> Source:   %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
> Source:   https://gitlab.gnome.org/GNOME/gvdb/-/archive/%{gvdb_commit}/gvdb-%{gvdb_commit}.tar.gz

Please number your sources, since you have multiple ones. It may not be required, but it makes it more coherent.

> ExcludeArch:  i686

This should be "ExcludeArch:  %{ix86}"

> %autosetup -a1 -n %{name}-v%{version}
> mv gvdb-%{gvdb_commit} subprojects/gvdb

This can be simplified to the following:

%autosetup -n %{name}-v%{version}
tar -xf %{S:1} -C subprojects/gvdb

> %files -n libcellbroadcast-devel
> %{_includedir}/libcellbroadcast-0.0/
> %{_libdir}/libcellbroadcast-0.0.so
> %{_libdir}/pkgconfig/libcellbroadcast-0.0.pc
> %changelog
> %autochangelog

This is missing a newline after the last files entry to separate sections.

Comment 4 Tomi Lähteenmäki 2025-08-17 09:20:37 UTC
Spec URL: https://codeberg.org/Lihis/cellbroadcastd-spec/raw/commit/57045aafbe12f4cbe7c43fe5c3a999b309cea5f3/cellbroadcastd.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/1658/136171658/cellbroadcastd-0.0.2-2.fc44.src.rpm

Numbered the sources, fixed the "ExcludeArch" and added the missing newline.

> This can be simplified to the following:
> 
> %autosetup -n %{name}-v%{version}
> tar -xf %{S:1} -C subprojects/gvdb

Why this is better than having the "-a1" for %autosetup?

Comment 5 Fedora Review Service 2025-08-17 09:32:59 UTC
Created attachment 2103936 [details]
The .spec file difference from Copr build 9398494 to 9437833

Comment 6 Fedora Review Service 2025-08-17 09:33:02 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9437833
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2387625-cellbroadcastd/fedora-rawhide-x86_64/09437833-cellbroadcastd/fedora-review/review.txt

Found issues:

- Systemd user unit service file(s) in cellbroadcastd
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_user_units

Please know that there can be false-positives.

---
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 7 Tomi Lähteenmäki 2025-08-17 10:18:20 UTC
>> This can be simplified to the following:
>> 
>> %autosetup -n %{name}-v%{version}
>> tar -xf %{S:1} -C subprojects/gvdb
> 
> Why this is better than having the "-a1" for %autosetup?

Well, it removes the need for move and the "-a1" flag.. Posting updated spec soon

Comment 9 Fedora Review Service 2025-08-17 13:45:42 UTC
Created attachment 2103940 [details]
The .spec file difference from Copr build 9437833 to 9438236

Comment 10 Fedora Review Service 2025-08-17 13:45:44 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9438236
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2387625-cellbroadcastd/fedora-rawhide-x86_64/09438236-cellbroadcastd/fedora-review/review.txt

Found issues:

- Systemd user unit service file(s) in cellbroadcastd
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_user_units

Please know that there can be false-positives.

---
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 11 Neal Gompa 2025-08-24 15:36:58 UTC
Spec review notes:

There's a missing desktop-file-validate call in %check for installed .desktop file in %{_datadir}/applications.

Also, one other piece...

> %build
> %meson -Dsystemd_user_unit_dir="%{_userunitdir}"

This should be in %conf instead of %build unless you plan to build this for < EPEL 10.

For an example, see: https://src.fedoraproject.org/rpms/wayback/blob/rawhide/f/wayback.spec

Comment 12 Tomi Lähteenmäki 2025-08-24 17:41:03 UTC
Spec URL: https://codeberg.org/Lihis/cellbroadcastd-spec/raw/commit/89a6a05699cd79e7d0b49225f3c22eb774474d43/cellbroadcastd.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/990/136400990/cellbroadcastd-0.0.2-4.fc44.src.rpm

> There's a missing desktop-file-validate call in %check for installed .desktop file in %{_datadir}/applications.

Upstream tests [1] already validates it but added explicit check.

> Also, one other piece...
> 
> > %build
> > %meson -Dsystemd_user_unit_dir="%{_userunitdir}"
> 
> This should be in %conf instead of %build unless you plan to build this for < EPEL 10.
> 
> For an example, see: https://src.fedoraproject.org/rpms/wayback/blob/rawhide/f/wayback.spec

I see, thanks! I'll send a PR to update Packaging Guidelines for Meson as its example SPEC [2] does not contain %conf at all.


[1] https://gitlab.freedesktop.org/devrtz/cellbroadcastd/-/blob/7229aad3bb60521a54c1c9a1abfaf4ecd8a1dd51/data/meson.build#L61
[2] https://docs.fedoraproject.org/en-US/packaging-guidelines/Meson/#_example_rpm_spec_file

Comment 13 Fedora Review Service 2025-08-24 17:54:00 UTC
Created attachment 2104577 [details]
The .spec file difference from Copr build 9438236 to 9461965

Comment 14 Fedora Review Service 2025-08-24 17:54:03 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9461965
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2387625-cellbroadcastd/fedora-rawhide-x86_64/09461965-cellbroadcastd/fedora-review/review.txt

Found issues:

- Systemd user unit service file(s) in cellbroadcastd
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_user_units

Please know that there can be false-positives.

---
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 15 Tomi Lähteenmäki 2025-09-01 03:46:22 UTC
@ngompa do you have time to check this?

Comment 16 Neal Gompa 2025-09-01 15:38:40 UTC
Review notes:

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

PACKAGE APPROVED.

Comment 17 Fedora Admin user for bugzilla script actions 2025-09-01 18:49:03 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/cellbroadcastd

Comment 18 Fedora Update System 2025-09-01 19:05:02 UTC
FEDORA-2025-401cc63851 (cellbroadcastd-0.0.2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-401cc63851

Comment 19 Fedora Update System 2025-09-01 19:53:04 UTC
FEDORA-2025-401cc63851 (cellbroadcastd-0.0.2-1.fc44) has been pushed to the Fedora 44 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.