[Bug 466047] Review Request: tcl-mysqltcl - MySQL interface for Tcl
bugzilla at redhat.com
bugzilla at redhat.com
Wed Oct 29 18:38:10 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=466047
--- Comment #6 from Paulo Roma Cavalcanti <roma at lcg.ufrj.br> 2008-10-29 14:38:08 EDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > In fact, best to drop the Requires: tcl(abi) entirely, as rpm should pick up
> > the correct one automatically. What are the Provides and Obsoletes for? What
> > in Fedora is this replacing?
>
> Please check https://fedoraproject.org/wiki/Packaging/Tcl#Extensions
Hi,
I based my spec file on this (recent) .src.rpm from F9:
tcl-tile-0.8.2-5.fc9.src.rpm
I thought it was created according to Fedora rules.
It seems I was wrong...
--------------------------------------------
# We used to define this dynamically, but the Fedora buildsystem chokes on
# using this for the versioned Requires on tcl(abi), so we hardcode it.
# This sucks, but there is no other clean way around it, because tcl
# (and tclsh) aren't in the default buildroot.
%{!?tcl_version: %define tcl_version 8.5}
%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
%define realname tile
Name: tcl-%{realname}
Version: 0.8.2
Release: 5%{?dist}
Summary: Modified Tk styling engine
Group: System Environment/Libraries
License: TCL
URL: http://tktable.sourceforge.net/
Source0:
http://downloads.sourceforge.net/tktable/%{realname}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Provides: %{realname} = %{version}-%{release}
Provides: tk-%{realname} = %{version}-%{release}
BuildRequires: tcl-devel, tk-devel, libX11-devel
Requires: tcl(abi) = %{tcl_version}
----------------------------------------------------------------
The Provides and Obsoletes are meant for a package named mysqltcl,
the upstream name. It does not exist in Fedora, but it may have come from a 3th
party repo. This is the only way of uninstalling it during an upgrade.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list