Bug 227725 - Tcl needs to Provide: an abi version
Tcl needs to Provide: an abi version
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: tcl (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Marcela Mašláňová
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-07 14:28 EST by Wart
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-06 03:21:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Wart 2007-02-07 14:28:19 EST
Description of problem:
Tcl applications and extensions need an easier way to require a specific Tcl
major.minor version, ignoring the patchlevel.  For example, if I have a Tcl
package that requires Tcl 8.4, but won't work with Tcl 8.5, I need to express
this as:

Requires: tcl < 8.5.0, tcl >= 8.4.0

It would be much simpler to use:

Requires: tcl(abi) = 8.4

Version-Release number of selected component (if applicable):
tcl-8.5a5-7.fc7

Additional info:
This should be easy to fix.  Add the following line to the Tcl spec file:
Provides: tcl(abi)=%{majorver}
Comment 1 Marcela Mašláňová 2007-03-21 08:39:21 EDT
Fix in tcl-8.4.13-15.fc7
Comment 2 Sander Hoentjen 2007-03-22 15:41:51 EDT
where would i be able to find this version?
http://cvs.fedora.redhat.com/viewcvs/devel/tcl/ doesn't seem to have it.
Comment 3 Marcela Mašláňová 2007-03-26 10:32:22 EDT
Sorry it's tcl-8.4.13-14.fc7
Comment 4 Sander Hoentjen 2007-03-26 11:26:33 EDT
The same applies for tcl-8.4.13-14.fc7. The newest version in rawhide and in
http://cvs.fedora.redhat.com/viewcvs/devel/tcl/ is tcl-8.4.13-13.fc7

Comment 5 Wart 2007-04-05 13:35:03 EDT
The fix is not quite correct:

Provides: tcl(abi)=%{majorver}

...should be

Provides: tcl(abi) = %{majorver}

Note the spaces around the '=' sign.  If the spaces are not present, then the
Provides is treated as a literal unversioned string.  With the spaces, it is a
versioned Provides and comparison operators can be used, such as "Requires:
tcl(abi) > 8.4"
Comment 6 Marcela Mašláňová 2007-04-06 03:21:56 EDT
Thanks. I fixed the typo.

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