fix version requirement for tcl [release 8.6.11.1-2mamba;Sun Feb 28 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 18:33:58 +01:00
parent 8135ecd177
commit b56fc268ff

24
tk.spec
View File

@ -1,14 +1,15 @@
%define majversion %(echo %version | cut -d. -f1-2) %define majversion %(echo %version | cut -d. -f1-2)
%define maj3ver %(echo %version | cut -d. -f1-3)
Name: tk Name: tk
Version: 8.6.10 Version: 8.6.11.1
Release: 4mamba Release: 2mamba
Summary: A X Windows widget set designed to work closely with the tcl scripting language Summary: A X Windows widget set designed to work closely with the tcl scripting language
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.tcl.tk URL: https://www.tcl.tk
Source0: http://downloads.sourceforge.net/sourceforge/tcl/tk%{version}-src.tar.gz Source0: http://downloads.sourceforge.net/sourceforge/tcl/tk%{version}-src.tar.gz
Patch4: tcltk-8.6.0-tk-pkgconfig.patch Patch4: tcltk-8.6.0-tk-pkgconfig.patch
License: BSD License: BSD
@ -24,12 +25,11 @@ BuildRequires: libtcl-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: libtcl-devel = %{version} BuildRequires: libtcl-devel >= %{maj3ver}
Provides: tcltk Provides: tcltk
Obsoletes: tcltk Obsoletes: tcltk
Requires: tcl >= %{version} Requires: tcl >= %{maj3ver}
Provides: /usr/bin/wish Provides: /usr/bin/wish
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Tk is a X Windows widget set designed to work closely with the tcl scripting language. Tk is a X Windows widget set designed to work closely with the tcl scripting language.
@ -51,7 +51,7 @@ Tcl/Tk applications can also be run on Windows and Macintosh platforms.
Summary: Static libraries and headers for libtk Summary: Static libraries and headers for libtk
Group: System/Libraries Group: System/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libtcl-devel = %{version}-%{release} Requires: libtcl-devel
%description -n lib%{name}-devel %description -n lib%{name}-devel
Tk is a X Windows widget set designed to work closely with the tcl scripting language. Tk is a X Windows widget set designed to work closely with the tcl scripting language.
@ -63,7 +63,7 @@ This package contains static libraries and header files need for development.
%debug_package %debug_package
%prep %prep
%setup -q -n tk%{version} %setup -q -n tk%{maj3ver}
%build %build
# #
@ -76,7 +76,7 @@ cd unix
--disable-rpath \ --disable-rpath \
--enable-threads \ --enable-threads \
--enable-xft \ --enable-xft \
%ifarch x86_64 %ifarch x86_64 aarch64
--enable-64bit --enable-64bit
%endif %endif
@ -145,6 +145,12 @@ fi
%doc ChangeLog changes %doc ChangeLog changes
%changelog %changelog
* Sun Feb 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.6.11.1-2mamba
- fix version requirement for tcl
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 8.6.11.1-1mamba
- automatic version update by autodist
* Sat Jan 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.6.10-4mamba * Sat Jan 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.6.10-4mamba
- stand-alone package from tcltk - stand-alone package from tcltk