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}
Fix in tcl-8.4.13-15.fc7
where would i be able to find this version? http://cvs.fedora.redhat.com/viewcvs/devel/tcl/ doesn't seem to have it.
Sorry it's tcl-8.4.13-14.fc7
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
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"
Thanks. I fixed the typo.