Bug 2330615 - Review Request: tcl8 - Tool Command Language, pronounced tickle, version 8
Summary: Review Request: tcl8 - Tool Command Language, pronounced tickle, version 8
Keywords:
Status: RELEASE_PENDING
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL: http://tcl.sourceforge.net/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-05 17:11 UTC by Jaroslav Škarvada
Modified: 2025-01-14 13:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
mhroncok: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 8344720 to 8373815 (1.90 KB, patch)
2024-12-10 22:32 UTC, Fedora Review Service
no flags Details | Diff

Description Jaroslav Škarvada 2024-12-05 17:11:48 UTC
Spec URL: https://jskarvad.fedorapeople.org/tcl8/tcl8.spec
SRPM URL: https://jskarvad.fedorapeople.org/tcl8/tcl8-8.6.15-7.fc42.src.rpm
Description: The Tcl (Tool Command Language) provides a powerful platform for
creating integration applications that tie together diverse
applications, protocols, devices, and frameworks. When paired with the
Tk toolkit, Tcl provides a fastest and powerful way to create
cross-platform GUI applications.  Tcl can also be used for a variety
of web-related tasks and for creating powerful command languages for
applications.
Fedora Account System Username: jskarvad

For: https://fedoraproject.org/wiki/Changes/TclTk9.0

Comment 1 Fedora Review Service 2024-12-05 17:26:55 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8344720
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2330615-tcl8/fedora-rawhide-x86_64/08344720-tcl8/fedora-review/review.txt

Found issues:

- License file license.terms is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text
- Package has .a files: tcl8-devel. Does not provide -static: tcl8-devel.
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries

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 Miro Hrončok 2024-12-10 18:18:22 UTC
Comparing the package with tcl fist.

I am not entirely sure this needs an epoch set, but there is no harm in having it.

Perhaps also drop this, and let it be obsoleted by the tcl 9 package?

  Obsoletes: tcl-tcldict <= %{vers}

You might want to be more specific in %files, not to accidentally conflict. E.g. instead of %{_bindir}/tclsh* use %{_bindir}/tclsh8*

The rest of the differences make sense.

============================================================

About the spec as-is:


- Static libraries in -static or -devel subpackage, providing -devel if
  present.
  Note: Package has .a files: tcl8-devel. Does not provide -static:
  tcl8-devel.
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#packaging-static-libraries

tcl8-devel.x86_64: E: static-library-without-debuginfo /usr/lib64/libtclstub8.6.a
tcl8-devel.x86_64: W: spurious-executable-perm /usr/lib64/libtclstub8.6.a

I suggest dropping this entirely.

---------

No need to number the Sources and Patches.

---------

No need for %ldconfig_scriptlets.

Comment 3 Miro Hrončok 2024-12-10 18:22:10 UTC
license.terms should probably be %license, not %doc.

Comment 4 Jaroslav Škarvada 2024-12-10 22:21:19 UTC
Thanks for the review.

New version:
Spec URL: https://jskarvad.fedorapeople.org/tcl8/tcl8.spec
SRPM URL: https://jskarvad.fedorapeople.org/tcl8/tcl8-8.6.15-8.fc42.src.rpm

Regarding the static stubs: https://fedorapeople.org/~tmz/guidelines/packaging-guidelines/Tcl/
I thought there is an exception for it. It cannot be easily disabled, only patched out which may break things and cause the compat not to be the drop-in replacement.

Comment 5 Fedora Review Service 2024-12-10 22:32:30 UTC
Created attachment 2061977 [details]
The .spec file difference from Copr build 8344720 to 8373815

Comment 6 Fedora Review Service 2024-12-10 22:32:32 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8373815
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2330615-tcl8/fedora-rawhide-x86_64/08373815-tcl8/fedora-review/review.txt

Found issues:

- Package has .a files: tcl8-devel. Does not provide -static: tcl8-devel.
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries

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 Miro Hrončok 2024-12-11 16:50:14 UTC
Package APPROVED.

Comment 8 Fedora Admin user for bugzilla script actions 2025-01-14 13:02:23 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/tcl8


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