From feb4579786fc0bfd04155d4ce30050a1fed9f407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 18 Dec 2006 15:24:25 +0000 Subject: [PATCH] Change spec file again for compatibility. --- tcl.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tcl.spec b/tcl.spec index 8fdf86c..f05490d 100644 --- a/tcl.spec +++ b/tcl.spec @@ -1,9 +1,11 @@ %define majorver 8.4 +%define superver 8 +%define majorver %{superver}.5 Summary: Tcl scripting language development environment Name: tcl -Version: %{majorver}.13 -Release: 3%{?dist} +Version: %{majorver}a3 +Release: 1%{?dist} License: BSD Group: Development/Languages URL: http://tcl.sourceforge.net/ @@ -15,9 +17,8 @@ Patch1: tcl-8.3.5-tclm4-soname.patch Patch2: tcl-8.4.5-lib-perm.patch Patch3: tcl8.3.5-tclConfig-package-path-90160.patch Patch4: tcl-8.4-no_rpath.patch -Patch5: tcl-8.4.13-autoconf.patch +#Patch5: tcl-8.4.13-autoconf.patch Patch6: tcl-8.4.13-cflags.patch -Patch7: tcl-8.5.3a-lib-perm.patch %description The Tcl (Tool Command Language) provides a powerful platform for @@ -67,11 +68,10 @@ cd %{name}%{version} #%patch2 -p1 -b .2-ro-lib %patch3 -p1 -b .3-pkgpath %patch4 -p1 -b .4-rpath -%patch5 -p1 -b .5-ac213 +#%patch5 -p1 -b .5-ac213 pushd .. %patch6 -p1 -b .6-cflags popd -%patch7 -p1 -b .lib-perm # patch1 touches tcl.m4, and patch3 touches configure.in cd unix @@ -133,6 +133,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_bindir}/tclsh* %{_datadir}/%{name}%{majorver} +%{_datadir}/%{name}%{superver} %{_libdir}/lib%{name}%{majorver}.so %{_mandir}/man1/* # this should be prefix/lib @@ -155,7 +156,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Dec 18 2006 Marcela Maslanova - 8.4.13-4 -- change lib-perm +- change in spec for compatibility with tk - Resolves: rhbz#160441 * Thu Jul 20 2006 David Cantrell - 8.4.13-3