commit 680d59c3559d2c5cea1c5c96eb10e3ca31a9c9e5
Author: Elan Ruusamäe <[email protected]>
Date: Tue Oct 30 11:19:23 2018 +0200
drop ac kernel support
you must be crazy or archaeologist to run that old kernel
xtables-geoip.spec | 29 -----------------------------
1 file changed, 29 deletions(-)
---
diff --git a/xtables-geoip.spec b/xtables-geoip.spec
index 5f76f90..d5b1a59 100644
--- a/xtables-geoip.spec
+++ b/xtables-geoip.spec
@@ -52,39 +52,10 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{dbdir}
cp -a out/* $RPM_BUILD_ROOT%{dbdir}
-%if "%{pld_release}" == "ac"
-# handle older xtables in ac:
-# [email protected]_1.amd64
-# still having old .iv0 names requirement
-#
http://xtables-addons.git.sourceforge.net/git/gitweb.cgi?p=xtables-addons/xtables-addons;a=commitdiff;h=25bf680ead80e505d5073308f151b4007cb5683f
-# create hardlink, to be most compatible
-for a in $RPM_BUILD_ROOT%{dbdir}/*.iv4; do
- ln $a ${a%.iv4}.iv0
-done
-# [email protected]_1.i686 searches from /var/lib:
-# Could not open /var/lib/geoip/LE/EE.iv0: No such file or directory
-install -d $RPM_BUILD_ROOT/var/lib
-ln -s %{_datadir}/xt_geoip $RPM_BUILD_ROOT/var/lib/geoip
-%endif
-
%clean
rm -rf $RPM_BUILD_ROOT
-%if "%{pld_release}" == "ac"
-%pretrans
-# 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
-
%files
%defattr(644,root,root,755)
%doc LICENSE.txt ranges.txt
%{dbdir}
-
-%if "%{pld_release}" == "ac"
-/var/lib/geoip
-%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xtables-geoip.git/commitdiff/680d59c3559d2c5cea1c5c96eb10e3ca31a9c9e5
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit