go back to hardcoding, get it right for f8
This commit is contained in:
parent
f26d632e7d
commit
267b1c2e91
|
@ -1,11 +1,15 @@
|
|||
%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
|
||||
# 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}}
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%define realname snack
|
||||
|
||||
Name: tcl-%{realname}
|
||||
Version: 2.2.10
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Sound toolkit
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2+
|
||||
|
@ -97,6 +101,9 @@ rm -rf %{buildroot}
|
|||
%{python_sitelib}/tkSnack*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.10-4
|
||||
- *sigh* hardcoding the tcl version is the only way to get it through the buildsystem
|
||||
|
||||
* Wed Sep 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.10-3
|
||||
- don't hardcode tcl abi version
|
||||
|
||||
|
|
Loading…
Reference in New Issue