From fcca758804bb3aa99902bcced1bbb985f118ab4d8d112b6cd0845dbb0791a06a Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 27 Apr 2012 11:21:10 +0000 Subject: [PATCH] Accepting request 115763 from home:behrisch fixing tcl_archdir for non-SuSE OBS-URL: https://build.opensuse.org/request/show/115763 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=55 --- sqlite3.changes | 5 +++++ sqlite3.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/sqlite3.changes b/sqlite3.changes index 04c37e1..376c1b7 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 26 22:04:07 UTC 2012 - behrisch@users.sourceforge.net + +- fixing tcl macro for old or non-SuSE builds + ------------------------------------------------------------------- Fri Oct 7 11:26:43 UTC 2011 - max@suse.com diff --git a/sqlite3.spec b/sqlite3.spec index fb427cd..d7d77bf 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -26,6 +26,9 @@ Name: sqlite3 BuildRequires: pkg-config readline-devel tcl-devel +%if 0%{?suse_version} < 1100 +%define tcl_archdir %(echo 'puts [lindex $tcl_pkgPath 0]'|tclsh) +%endif %if %{?suse_version:1}%{?!suse_version:0} BuildRequires: update-desktop-files %endif