diff --git a/ocserv.spec b/ocserv.spec index 7f35e14..d2328ab 100644 --- a/ocserv.spec +++ b/ocserv.spec @@ -55,6 +55,7 @@ SSL VPN protocol. rm -f src/http-parser/http_parser.c src/http-parser/http_parser.h rm -f libopts/*.c libopts/*.h libopts/*/*.c libopts/*/*.h rm -f src/pcl/*.c src/pcl/*.h +sed -i 's|/etc/ocserv.conf|/etc/ocserv/ocserv.conf|g' src/config.c # GPLv3 in headers was 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/*