Conf file is now in source tree
[mod_auth_kerb.git] / mod_auth_gssapi.spec
index fcb13b1..4287046 100644 (file)
@@ -1,7 +1,7 @@
 Summary: GSSAPI authentication module for the Apache HTTP Server
 Name: mod_auth_gssapi
 Version: 1.0
-Release: 1%{?dist
+Release: 1%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://wiki.moonshot.ja.net/
@@ -14,9 +14,10 @@ users of the Apache HTTP server using the SPNEGO-based HTTP
 Authentication protocol defined in RFC4559.
 
 %prep
-%setup -q -n mod_auth_kerb-moonshot
+%setup -q -n mod_auth_gssapi
 
 %build
+autoreconf -i
 %configure
 make
 
@@ -29,7 +30,7 @@ install -m 755 .libs/mod_auth_gssapi.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
 
 # install the conf.d fragment
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
-install -m 644 $RPM_SOURCE_DIR/mod_auth_gssapi.conf \
+install -m 644 mod_auth_gssapi.conf \
    $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/auth_gssapi.conf
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/httpd/modules/{*.la,*.so.*}