fix version requirement for tcl [release 8.6.11.1-2mamba;Sun Feb 28 2021]
This commit is contained in:
parent
8135ecd177
commit
b56fc268ff
24
tk.spec
24
tk.spec
@ -1,14 +1,15 @@
|
||||
%define majversion %(echo %version | cut -d. -f1-2)
|
||||
%define maj3ver %(echo %version | cut -d. -f1-3)
|
||||
|
||||
Name: tk
|
||||
Version: 8.6.10
|
||||
Release: 4mamba
|
||||
Version: 8.6.11.1
|
||||
Release: 2mamba
|
||||
Summary: A X Windows widget set designed to work closely with the tcl scripting language
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
Patch4: tcltk-8.6.0-tk-pkgconfig.patch
|
||||
License: BSD
|
||||
@ -24,12 +25,11 @@ BuildRequires: libtcl-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: libtcl-devel = %{version}
|
||||
BuildRequires: libtcl-devel >= %{maj3ver}
|
||||
Provides: tcltk
|
||||
Obsoletes: tcltk
|
||||
Requires: tcl >= %{version}
|
||||
Requires: tcl >= %{maj3ver}
|
||||
Provides: /usr/bin/wish
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
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
|
||||
Group: System/Libraries
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libtcl-devel = %{version}-%{release}
|
||||
Requires: libtcl-devel
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
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
|
||||
|
||||
%prep
|
||||
%setup -q -n tk%{version}
|
||||
%setup -q -n tk%{maj3ver}
|
||||
|
||||
%build
|
||||
#
|
||||
@ -76,7 +76,7 @@ cd unix
|
||||
--disable-rpath \
|
||||
--enable-threads \
|
||||
--enable-xft \
|
||||
%ifarch x86_64
|
||||
%ifarch x86_64 aarch64
|
||||
--enable-64bit
|
||||
%endif
|
||||
|
||||
@ -145,6 +145,12 @@ fi
|
||||
%doc ChangeLog changes
|
||||
|
||||
%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
|
||||
- stand-alone package from tcltk
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user