- Bump %itclver and ensure it stays in sync.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=135
This commit is contained in:
Reinhard Max 2021-11-09 17:26:43 +00:00 committed by Git OBS Bridge
parent 6749f5098d
commit 02549f17b4
5 changed files with 15 additions and 6 deletions

View File

@ -1,2 +1,3 @@
addFilter("no-soname") addFilter("no-soname")
addFilter("files-duplicate") addFilter("files-duplicate")
addFilter("bin-sh-syntax-error")

View File

@ -1,10 +1,12 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 2 11:55:59 UTC 2021 - Reinhard Max <max@suse.com> Tue Nov 9 17:08:21 UTC 2021 - Reinhard Max <max@suse.com>
- New version 8.6.12: - New version 8.6.12:
* ToDo * ToDo
* Obsoletes tcl-aa4a13c15516da45.patch * Obsoletes tcl-aa4a13c15516da45.patch
- Bump %itclver and ensure it stays in sync.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 5 18:32:38 UTC 2021 - Reinhard Max <max@suse.com> Wed May 5 18:32:38 UTC 2021 - Reinhard Max <max@suse.com>

View File

@ -20,9 +20,9 @@ Name: tcl
URL: http://www.tcl.tk URL: http://www.tcl.tk
Version: 8.6.12 Version: 8.6.12
Release: 0 Release: 0
%define rrc rc2 %define rrc %nil
%define TCL_MINOR %(echo %version | cut -c1-3) %define TCL_MINOR %(echo %version | cut -c1-3)
%define itclver 4.2.0 %define itclver 4.2.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: The Tcl Programming Language Summary: The Tcl Programming Language
License: TCL License: TCL
@ -80,6 +80,10 @@ the Tcl language itself.
%prep %prep
%setup -q -n %name%version %setup -q -n %name%version
if ! test -d pkgs/itcl%itclver; then
: Version mismatch in itcl, please chek the %%itclver macro!
exit 1
fi
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
@ -152,6 +156,8 @@ ln -sf tclsh%TCL_MINOR %buildroot%_prefix/bin/tclsh
ln -sf tclsh.1.gz %buildroot%_mandir/man1/tclsh%TCL_MINOR.1.gz ln -sf tclsh.1.gz %buildroot%_mandir/man1/tclsh%TCL_MINOR.1.gz
mkdir -p %buildroot%_datadir/tcl mkdir -p %buildroot%_datadir/tcl
install -D %{S:3} -m 644 %buildroot%_rpmmacrodir/macros.tcl install -D %{S:3} -m 644 %buildroot%_rpmmacrodir/macros.tcl
# We are Tcl, not SQLite
rm -f %buildroot%bindir/sqlite*
%if "%_lib" == "lib64" %if "%_lib" == "lib64"
%post %post

3
tcl8.6.12-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6
size 10353486

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ba7f41c655d1b104cd21b8a1b51c080b1d7404a50efd21cbf2fa2fe01a798d5
size 10353509