[Bug 466047] Review Request: tcl-mysqltcl - MySQL interface for Tcl

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 30 00:06:05 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 #12 from Paulo Roma Cavalcanti <roma at lcg.ufrj.br>  2008-10-29 20:06:04 EDT ---
This way, at least
I can create the rpm for F6, F8 or F9 passing
the appropriate option to mock:

--without abi

or

--define "tcl_version 8.4"

-----------------------------------

%bcond_without abi

# 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 tcl%{tcl_version}}

%define real_name mysqltcl

Summary:        MySQL interface for Tcl
Name:           tcl-mysqltcl
Version:        3.05
Release:        2%{?dist}
License:        BSD
Group:          Development/Languages
Source:         http://www.xdobry.de/mysqltcl/%{real_name}-%{version}.tar.gz
URL:            http://www.xdobry.de/mysqltcl
BuildRequires:  mysql-devel
BuildRequires:  tcl-devel >= 8.3.1 
%{?with_abi:Requires: tcl(abi) = %{tcl_version}}
Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides:       %{real_name} = %{version}-%{release}
Obsoletes:      %{real_name} < %{version}-%{release}

-- 
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