From: Jakub Bogusz Date: Sun, 15 Mar 2015 20:04:00 +0000 (+0100) Subject: - fix _ctypes module build: run aclocal (needed for PKG_PROG_PKG_CONFIG macro), BR... X-Git-Tag: auto/th/python3-3.4.3-2~1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fpython3.git;a=commitdiff_plain;h=6c32bfd4f9ae9f18fd0451bad9a93242ffd8b798 - fix _ctypes module build: run aclocal (needed for PKG_PROG_PKG_CONFIG macro), BR: pkg-config --- diff --git a/python3.spec b/python3.spec index c0b394c..32e8851 100644 --- a/python3.spec +++ b/python3.spec @@ -55,6 +55,7 @@ Patch7: python-distro.patch Patch8: %{name}-db.patch URL: http://www.python.org/ BuildRequires: autoconf >= 2.65 +BuildRequires: automake BuildRequires: bluez-libs-devel BuildRequires: bzip2-devel BuildRequires: db-devel >= 4 @@ -68,6 +69,7 @@ BuildRequires: libstdc++-devel %{?with_system_mpdecimal:BuildRequires: mpdecimal-devel >= 2.4.1} BuildRequires: ncurses-ext-devel >= 5.2 BuildRequires: openssl-devel >= 0.9.7 +BuildRequires: pkgconfig BuildRequires: readline-devel >= 5.0 BuildRequires: rpm-pythonprov BuildRequires: sed >= 4.0 @@ -498,6 +500,7 @@ if ! grep -q "tmpfs" /proc/self/mounts; then exit 1 fi +%{__aclocal} %{__autoconf} %configure \ CC="%{__cc}" \