]> git.pld-linux.org Git - packages/xtables-geoip.git/commitdiff
- do not just discard dir, convert it to full symlink, or stupid rpm will remove... auto/ac/xtables-geoip-20120501-3
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 14 May 2012 10:53:30 +0000 (10:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xtables-geoip.spec -> 1.30

xtables-geoip.spec

index 5ce4bade846644f127ea6fae5df9e970533ae6f9..cf5ad6ae206ceb53d27c47af8e68fc8b5f92dcc0 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       GeoIP database files for xt_geoip
 Name:          xtables-geoip
 Version:       20120501
-Release:       2
+Release:       3
 License:       GPL, Open Data License
 Group:         Networking/Admin
 URL:           http://www.maxmind.com/
@@ -74,6 +74,8 @@ ln -s %{_datadir}/xt_geoip $RPM_BUILD_ROOT/var/lib/geoip
 # this needs to be a symlink
 if [ -d /var/lib/geoip -a ! -L /var/lib/geoip ]; then
        mv -f /var/lib/geoip{,.rpmsave}
+       install -d %{dbdir}
+       ln -s %{dbdir} /var/lib/geoip
 fi
 %endif
 
This page took 0.110429 seconds and 4 git commands to generate.