[packages/mongo-c-driver] explicit autotools invocation

glen glen at pld-linux.org
Tue Oct 17 23:16:22 CEST 2017


commit 66b3715abbd7307c0eef4df57dbc7d2445a5b8d5
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Oct 17 20:56:59 2017 +0300

    explicit autotools invocation

 mongo-c-driver.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/mongo-c-driver.spec b/mongo-c-driver.spec
index def7d58..0dc82ae 100644
--- a/mongo-c-driver.spec
+++ b/mongo-c-driver.spec
@@ -21,7 +21,6 @@ URL:		https://github.com/mongodb/mongo-c-driver
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	cyrus-sasl-devel
-BuildRequires:	snappy-devel
 BuildRequires:	libbson-devel >= 1.8
 BuildRequires:	libtool
 BuildRequires:	openssl-devel
@@ -69,8 +68,10 @@ Documentation: http://api.mongodb.org/c/%{version}/
 %patch0 -p1
 
 %build
-: Generate build scripts from sources
-autoreconf --force --install --verbose -I build/autotools
+%{__aclocal} -I build/autotools -I build/autotools/m4
+%{__libtoolize}
+%{__autoconf} --include=build/autotools
+%{__automake}
 
 export LIBS=-lpthread
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mongo-c-driver.git/commitdiff/66b3715abbd7307c0eef4df57dbc7d2445a5b8d5



More information about the pld-cvs-commit mailing list