Set correct tcl-devel version for BuildRequires

Resolves: #1712532
This commit is contained in:
Petr Kubat 2019-08-22 11:10:12 +02:00
parent f3fe642af7
commit bf3a101bee

View File

@ -1,10 +1,11 @@
%define __soversion_major 5
%define __soversion %{__soversion_major}.3
%define __tclversion 8.6
Summary: The Berkeley DB database library for C
Name: libdb
Version: 5.3.28
Release: 38%{?dist}
Release: 39%{?dist}
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
# For mt19937db.c
@ -61,7 +62,7 @@ URL: http://www.oracle.com/database/berkeley-db/
License: BSD and LGPLv2 and Sleepycat
BuildRequires: gcc gcc-c++
BuildRequires: perl-interpreter libtool
BuildRequires: tcl-devel >= 8.5.2-3
BuildRequires: tcl-devel >= %{__tclversion}
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: chrpath
BuildRequires: zlib-devel
@ -279,7 +280,7 @@ pushd dist/dist-tls
--enable-java \
--enable-test \
--disable-rpath \
--with-tcl=%{_libdir}/tcl8.6
--with-tcl=%{_libdir}/tcl%{__tclversion}
# Remove libtool predep_objects and postdep_objects wonkiness so that
# building without -nostdlib doesn't include them twice. Because we
@ -426,6 +427,9 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
%{_libdir}/libdb_java.so
%changelog
* Thu Aug 22 2019 Petr Kubat <pkubat@redhat.com> 5.3.21-39
- Set correct tcl-devel version for BuildRequires (#1712532)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild