Bug 2373136
| Summary: | Review Request: libtsm - DEC-VT terminal emulator state machine | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jocelyn Falempe <jfalempe> | ||||
| Component: | Package Review | Assignee: | Neal Gompa <ngompa13> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | package-review | ||||
| Target Milestone: | --- | Flags: | ngompa13:
fedora-review+
|
||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | Unretirement | ||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-10-14 01:41:59 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jocelyn Falempe
2025-06-17 10:20:31 UTC
Initial spec review: > Version: 4.0.2^1.git69922bde This should probably be "4.0.2^1.git%{shortcommit}" You might want to macroize the "1" so it's easy to spot to update. > Release: 0 This needs to be set to "1%{?dist}" Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/DistTag/ > Group: Development/Libraries/C and C++ This should be dropped, we don't use the Group tag at all. > Source: https://github.com/Aetf/libtsm/archive/%{commit}/%{name}-%{shortcommit}.tar.gz This can be simplified to "%{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz" > %package -n %{lname} We don't typically do this in Fedora, this can be folded back into the main "libtsm" package. > %post -n %{lname} -p /sbin/ldconfig > %postun -n %{lname} -p /sbin/ldconfig This is useless in Fedora since Fedora 28 / RHEL 8. Cf. https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets Hey, is this spec file derived from another distribution's package? It looks like an openSUSE-style package. If it is, can we please put the openSUSE package changelog entries in here? I forked it from Michael Bryant (Shadow53) https://copr.fedorainfracloud.org/coprs/shadow53/kmscon/package/libtsm/ From the git history of his repo, I don't see any reference to an opensuse package. Thanks for the review of the spec file, I will make the change. Also I'm trying to make a release upstream, so I don't have to use commit sha. https://github.com/Aetf/kmscon/issues/114 Hmm okay. It's weird because the openSUSE spec looks very similar: https://build.opensuse.org/projects/X11:terminals/packages/libtsm/files/libtsm.spec?expand=1 > Requires: %{lname} = %{version}-%{release}
This needs should be "%{name}%{?_isa} = %{version}-%{release}" (assuming the library subpackage is folded back into the main package as suggested).
The ticket summary is not in the correct format.
Expected:
Review Request: <main package name here> - <short summary here>
Found:
Review Request libtsm
As a consequence, the package name cannot be parsed and submitted to
be automatically build. Please modify the ticket summary and trigger a
build by typing [fedora-review-service-build].
---
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.
(In reply to Neal Gompa from comment #1) > > > %package -n %{lname} > > We don't typically do this in Fedora, this can be folded back into the main > "libtsm" package. I'm sorry, I'm not sure what to do there. Should I just remove the lines with %{lname} ? I've started a MR with the other requested changes: https://gitlab.com/kdj0c/copr-fedora/-/merge_requests/1/diffs Thanks for fixing the bug title. (In reply to Neal Gompa from comment #4) > Hmm okay. It's weird because the openSUSE spec looks very similar: > https://build.opensuse.org/projects/X11:terminals/packages/libtsm/files/ > libtsm.spec?expand=1 Hum, it looks like he has done some copy/paste from Suse when updating to use Aetf's repo. I can copy the changelogs from here (except the 2025 entry). https://build.opensuse.org/projects/X11:terminals/packages/libtsm/files/libtsm.changes?expand=1 [fedora-review-service-build]. Spec URL: https://download.copr.fedorainfracloud.org/results/jfalempe/kmscon/fedora-rawhide-x86_64/09238436-libtsm/libtsm.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/jfalempe/kmscon/fedora-rawhide-x86_64/09238436-libtsm/libtsm-4.1.0-1.fc43.src.rpm [fedora-review-service-build] Created attachment 2096391 [details] changelog entries from suse spec (In reply to Jocelyn Falempe from comment #7) > > Hum, it looks like he has done some copy/paste from Suse when updating to > use Aetf's repo. > I can copy the changelogs from here (except the 2025 entry). > https://build.opensuse.org/projects/X11:terminals/packages/libtsm/files/ > libtsm.changes?expand=1 Here's the changelog entries correctly formatted for you to inject. Thanks, I merged it with the current changelog. I didn't take the two last entries 2022 and 2025, because it was already diverged from opensuse. Spec URL: https://download.copr.fedorainfracloud.org/results/jfalempe/kmscon/fedora-rawhide-x86_64/09248618-libtsm/libtsm.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/jfalempe/kmscon/fedora-rawhide-x86_64/09248618-libtsm/libtsm-4.1.0-1.fc43.src.rpm [fedora-review-service-build] [fedora-review-service-build] > Source: %{url}/archive/refs/tags/v%{version}.tar.gz This should use the format "%{url}/archive/v%{version}/%{name}-%{version}.tar.gz" > Group: Development/Libraries/C and C++ This should be dropped. > %autosetup -n %{name}-%{version} -p1 This can be simplified to "%autosetup -p1" > %{_libdir}/libtsm.so.* This needs to have the soversion tracked, like so: "%{_libdir}/libtsm.so.4{,.*}" Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_shared_library_files Spec URL: https://download.copr.fedorainfracloud.org/results/jfalempe/kmscon/fedora-rawhide-x86_64/09278540-libtsm/libtsm.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/jfalempe/kmscon/fedora-rawhide-x86_64/09278540-libtsm/libtsm-4.1.0-1.fc43.src.rpm Thanks, I've made the requested changes. This looks great to me. At this point I think this package is good to go. Review notes: * Package follows Fedora Packaging Guidelines * Package licensing is correct * Package builds and installs * No serious issues from rpmlint PACKAGE APPROVED. Thanks a lot for your review. What are the next steps? I'm not a Fedora packager, so I will probably need a sponsor. Also I've applied the same review comments to the kmscon BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2373128 So it should be easier to review. (In reply to Jocelyn Falempe from comment #17) > Thanks a lot for your review. > > What are the next steps? > > I'm not a Fedora packager, so I will probably need a sponsor. > I have sponsored you as a packager. So now you need to follow the next steps to import the package into Fedora. Cf. https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/#_contributor The Pagure repository was created at https://src.fedoraproject.org/rpms/libtsm FEDORA-2025-54ea3bf478 (libtsm-4.1.0-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-54ea3bf478 FEDORA-2025-54ea3bf478 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-54ea3bf478 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-54ea3bf478 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-54ea3bf478 (libtsm-4.1.0-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |