diff --git a/mod_geoip.spec b/mod_geoip.spec index 30447c6..89f959e 100644 --- a/mod_geoip.spec +++ b/mod_geoip.spec @@ -32,6 +32,7 @@ the Apache license. %{_httpd_apxs} -Wc,-Wall -Wl,"-lGeoIP" -c %{name}.c %install +rm -rf $RPM_BUILD_ROOT install -D -p -m 755 .libs/%{name}.so $RPM_BUILD_ROOT%{_httpd_moddir}/%{name}.so cat << EOF > 10-geoip.conf