- updated dependencies, don't assume gcc>=8
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Apr 2019 04:15:27 +0000 (06:15 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Apr 2019 04:15:27 +0000 (06:15 +0200)
bzrtp.spec

index d634a11484f20d1bdb6ae42c1ee071426989a3eb..e0810863c00935b1af96cf6c790a7ee620c8077a 100644 (file)
@@ -1,4 +1,3 @@
-# TODO: switch to mbledtls when 2.x is supported (mbed_ssl_init instead of ssl_init)
 #
 # Conditional build:
 %bcond_without static_libs     # static library
@@ -19,8 +18,9 @@ BuildRequires:        automake
 BuildRequires: bctoolbox-devel
 BuildRequires: libtool >= 2:2
 BuildRequires: libxml2-devel >= 2.0
-BuildRequires: polarssl-devel
 BuildRequires: pkgconfig
+BuildRequires: sqlite3-devel >= 3.6.0
+Requires:      sqlite3 >= 3.6.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -66,8 +66,10 @@ Statyczna biblioteka bzrtp.
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
+%if "%{cc_version}" >= "8.0"
+CPPFLAGS="%{rpmcppflags} -Wno-error=cast-function-type"
+%endif
 %configure \
-       CPPFLAGS="%{rpmcppflags} -Wno-error=cast-function-type" \
        --disable-silent-rules \
        %{?with_static_libs:--enable-static}
 
This page took 0.247714 seconds and 4 git commands to generate.