webgui: testing of rpm with verde
diff --git a/src/Makefile.am b/src/Makefile.am
index b0c8c8b..0a66ded 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,7 +31,7 @@
 	{ mkdir -p "$(httpdmoduledir)"; $(APXS) -i -S LIBEXECDIR="$(httpdmoduledir)" -a mod_netconf.la; }
 
 webgui-backend$(EXEEXT): mod_netconf.c notification-server.c mod_netconf.h
-	gcc -Wall -g @SAVED_CFLAGS@ -DHTTPD_INDEPENDENT  `apr-1-config  --cflags --cppflags --includes --link-ld` -I/usr/include/httpd @SAVED_LIBS@ -laprutil-1 -o $@ $(srcdir)/mod_netconf.c $(srcdir)/notification-server.c
+	gcc -Wall -g $(LIBS) $(CFLAGS) -DHTTPD_INDEPENDENT  `apr-1-config  --cflags --cppflags --includes --link-ld` -I/usr/include/httpd  -laprutil-1 -o $@ $(srcdir)/mod_netconf.c $(srcdir)/notification-server.c
 
 clean-local:
 	rm -rf .libs *.la *.lo *.slo test-client webgui-backend
diff --git a/src/mod_netconf.spec.in b/src/mod_netconf.spec.in
index fd57b3f..b071560 100644
--- a/src/mod_netconf.spec.in
+++ b/src/mod_netconf.spec.in
@@ -30,6 +30,7 @@
 #add device module to configuration only when installing, not on update or reinstall.
 #https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Running_scriptlets_only_in_certain_situations
 [ -d /var/run/httpd ] || { mkdir -p /var/run/httpd && chown apache:apache /var/run/httpd; }
+chcon system_u:object_r:httpd_modules_t:s0 /etc/httpd/modules/mod_netconf.so
 service httpd restart
 
 %postun