Fix typo in contrib spec file
[mod_auth_gssapi.git] / contrib / mod_auth_gssapi.spec
index 4dcb3cd..9f7f612 100644 (file)
@@ -8,12 +8,12 @@ License:        MIT
 URL:            https://github.com/modauthgssapi/mod_auth_gssapi
 Source0:        https://github.com/modauthgssapi/%{name}/releases/download/v%{version}/%name-%{version}.tar.gz
 
-BuildRequires:  httpd-devel, krb5-devel
+BuildRequires:  httpd-devel, krb5-devel, openssl-devel
 Requires:       httpd-mmn = %{_httpd_mmn}
 Requires:       krb5-libs >= 1.11.5
 
 %description
-The modauht_gssapi module is an authentication service that implements the
+The mod_auth_gssapi module is an authentication service that implements the
 SPNEGO based HTTP Authentication protocol defined in RFC4559.
 
 %prep
@@ -27,8 +27,8 @@ make %{?_smp_mflags}
 
 
 %install
-make install DESTDIR=%{buildroot}%{_httpd_moddir}
-install -m 755 .libs/%{name}.so %{buildroot}%{_httpd_moddir}
+mkdir -p %{buildroot}%{_httpd_moddir}
+install -m 755 src/.libs/%{name}.so %{buildroot}%{_httpd_moddir}
 
 # Apache configuration for the module
 echo "LoadModule auth_gssapi_module modules/mod_auth_gssapi.so" > 10-auth_gssapi.conf