diff --git a/tix.changes b/tix.changes index b6f3832..f37b8af 100644 --- a/tix.changes +++ b/tix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 20 14:42:27 UTC 2013 - max@suse.com + +- Fix build with Tcl 8.6.0. +- Cleanup spec file. + ------------------------------------------------------------------- Wed Dec 21 10:46:44 UTC 2011 - coolo@suse.com diff --git a/tix.spec b/tix.spec index 75763e7..3a709df 100644 --- a/tix.spec +++ b/tix.spec @@ -1,7 +1,7 @@ # # spec file for package tix # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,8 @@ Name: tix BuildRequires: autoconf BuildRequires: fdupes -BuildRequires: itcl BuildRequires: tk-devel BuildRequires: xorg-x11-devel -%define V_TIX 8.1.%tcl_version -%define prefix /usr -%define mandir /usr/share/man Version: 8.4.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,7 +30,7 @@ Group: Development/Libraries/Tcl Source: Tix%version-src.tar.bz2 Patch0: %name.patch Summary: Tools for tk -Provides: tixwish tixwish%V_TIX +Group: Development/Libraries/Tcl %description The Tix library has, by far, the greatest collection of widgets for @@ -54,19 +50,14 @@ find docs -type f | xargs chmod a-x %build autoreconf -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -./configure \ +export CFLAGS="$RPM_OPT_FLAGS -DUSE_INTERP_RESULT -fno-strict-aliasing" +%configure \ --with-tcl=%_libdir \ - --with-tk=%_libdir \ - --prefix=%_prefix \ - --libdir=%_libdir \ - --mandir=%_mandir + --with-tk=%_libdir make %install -make install \ - DESTDIR=%buildroot \ - libdir=%_libdir/tcl +make install DESTDIR=%buildroot libdir=%_libdir/tcl MANN=%buildroot/%_mandir/mann mkdir -p $MANN pushd man @@ -75,9 +66,6 @@ for f in *.n; do done popd -%clean -rm -rf %buildroot - %files %defattr(-,root,root) %doc ABOUT* README* ChangeLog license.terms index.html