Bug 2144849 - Review Request: dleyna - Services and D-Bus APIs for UPnP access
Summary: Review Request: dleyna - Services and D-Bus APIs for UPnP access
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2134653
TreeView+ depends on / blocked
 
Reported: 2022-11-22 14:21 UTC by David King
Modified: 2022-12-09 23:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-09 23:23:55 UTC
Type: ---
Embargoed:
klember: fedora-review+


Attachments (Terms of Use)

Description David King 2022-11-22 14:21:44 UTC
Spec URL: https://amigadave.fedorapeople.org/dleyna.spec
SRPM URL: https://amigadave.fedorapeople.org/dleyna-0.8.2-1.src.rpm
Description: dLeyna is a set of services and D-Bus APIs that aim to simplify access to UPnP and DLNA media devices in a network.
Fedora Account System Username: amigadave

Comment 1 David King 2022-11-22 14:25:10 UTC
Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=94421985

This is a new package, but also a rename/recombination of dleyna-core, dleyna-dbus-connector, dleyna-renderer and dleyna-server. I have tried to get the Provides/Obsoletes correct for those (sub)packages wherer it was needed. This combined dleyna is hosted in a different location to the old Intel-maintained (now abandoned) split dleyna packages, and an update to this version is required for getting GUPnP and GSSDP 1.6 into Rawhide as in bug 2078238.

Comment 2 Kalev Lember 2022-12-09 15:53:37 UTC
Taking for review. As it's a rename of existing packages, I'll just do a quick check to make sure the obsoletes/provides are correct and skip the full new package review.

Here are all the packages that this replaces:

https://src.fedoraproject.org/rpms/dleyna-core
https://src.fedoraproject.org/rpms/dleyna-connector-dbus
https://src.fedoraproject.org/rpms/dleyna-renderer
https://src.fedoraproject.org/rpms/dleyna-server

Looking through the binary packages in each of them, it looks like you've missed obsoletes/provides for dleyna-connector-dbus-devel. The rest seem to be correct from what I can tell.

> Provides:  dleyna-core = %{version}
> Obsoletes: dleyna-core < 0.6.0-15
> Provides:  dleyna-core-devel = %{version}
> Obsoletes: dleyna-core-devel < 0.6.0-15
> Provides:  dleyna-renderer-devel = %{version}
> Obsoletes: dleyna-renderer-devel < 0.6.0-16

Instead of just %{version}, I would use %{version}-%{release} in provides, as that's the usual pattern used in Fedora packages.

As for the obsoletes, they look right to me, but versioning them like this can be a bit fragile and break if one of the packages gets a release bump and rebuild for some reason in F37. It might be worth using < %{version}-%{release} for obsoletes as well to avoid that pitfall.

> rm -rf %{buildroot}/%{_libdir}/dleyna/libdleyna-renderer-1.0.so \
>        %{buildroot}/%{_libdir}/pkgconfig/dleyna-renderer-service-1.0.pc \
>        %{buildroot}/%{_libdir}/dleyna-server/libdleyna-server-1.0.so \
>        %{buildroot}/%{_libdir}/pkgconfig/dleyna-server-service-1.0.pc \
>        %{_includedir}/dleyna-1.0/renderer \
>        %{_includedir}/dleyna-1.0/server

I think I would just install all of them, but up to you. I would guess that they were excluded previously because someone didn't want to go through the trouble of creating a -devel package to put them into, but since you already have a common -devel package it would maybe be easier to just install all of them.

> License: LGPLv2+

For new packages this has to be an SPDX ID, as per latest licensing guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_valid_license_short_names

Comment 3 Kalev Lember 2022-12-09 16:12:42 UTC
One more thing:

> BuildRequires: python-devel

I believe this should be explicit "python3-devel" as per https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_dependencies

"Packages MUST NOT have dependencies (either build-time or runtime) with the unversioned prefix python- if the corresponding python3- dependency can be used instead."

Comment 4 David King 2022-12-09 16:35:54 UTC
Thanks! I just did a scratch build with the dleyna-connector-dbus-devel obsoletes/provides addition, license change, python-devel change, %{version}-%{release} change and added a comment explaining that the separate devel packages were dropped because there are no consumers in Fedora (but can easily be added again in future, if requested).

https://koji.fedoraproject.org/koji/taskinfo?taskID=95138479

Comment 5 Kalev Lember 2022-12-09 17:08:41 UTC
Thanks! Looks good to me.

APPROVED

Comment 6 Gwyn Ciesla 2022-12-09 17:15:47 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/dleyna

Comment 7 Fedora Update System 2022-12-09 23:21:55 UTC
FEDORA-2022-05bc988aec has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-05bc988aec

Comment 8 Fedora Update System 2022-12-09 23:23:55 UTC
FEDORA-2022-05bc988aec has been pushed to the Fedora 38 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.