[ocserv/f20] small changes to compile with F20 protobuf

Nikos Mavrogiannopoulos nmav at fedoraproject.org
Thu Aug 28 10:00:11 UTC 2014


commit fe3eac057e397aed40139f4c9c42cb3e701ebb30
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date:   Thu Aug 28 11:59:00 2014 +0200

    small changes to compile with F20 protobuf

 ocserv.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ocserv.spec b/ocserv.spec
index 243fa2c..0761ef5 100644
--- a/ocserv.spec
+++ b/ocserv.spec
@@ -71,9 +71,11 @@ sed -i 's/run-as-group = nogroup/run-as-group = nobody/g' tests/*.config
 # GPLv3 in headers is a gnulib bug: 
 # http://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00062.html
 sed -i 's/either version 3 of the License/either version 2 of the License/g' build-aux/snippet/*
+touch src/*.proto
 
 %build
 
+export CFLAGS="%{optflags} -I/usr/include/google"
 %configure
 
 make %{?_smp_mflags}


More information about the scm-commits mailing list