packages: xtables-geoip/xtables-geoip.spec - db moved to /usr/share/xt_geoi...
glen
glen at pld-linux.org
Tue Apr 27 09:25:22 CEST 2010
Author: glen Date: Tue Apr 27 07:25:22 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- db moved to /usr/share/xt_geoip; rel 2
---- Files affected:
packages/xtables-geoip:
xtables-geoip.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/xtables-geoip/xtables-geoip.spec
diff -u packages/xtables-geoip/xtables-geoip.spec:1.3 packages/xtables-geoip/xtables-geoip.spec:1.4
--- packages/xtables-geoip/xtables-geoip.spec:1.3 Sat Jan 2 16:11:35 2010
+++ packages/xtables-geoip/xtables-geoip.spec Tue Apr 27 09:25:16 2010
@@ -5,7 +5,7 @@
Summary: GeoIP database files for xt_geoip
Name: xtables-geoip
Version: 20090901
-Release: 1
+Release: 2
License: GPL
Group: Networking/Admin
URL: http://www.maxmind.com/
@@ -14,6 +14,8 @@
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define dbdir /usr/share/xt_geoip
+
%description
The package contains the GeoIP definition files (which IP addresses
belong to which country) that are needed for Xtables-addons's xt_geoip
@@ -24,16 +26,16 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/var/lib/geoip/{B,L}E
-cp -a geoip/BE/* $RPM_BUILD_ROOT/var/lib/geoip/BE
-cp -a geoip/LE/* $RPM_BUILD_ROOT/var/lib/geoip/LE
+install -d $RPM_BUILD_ROOT%{dbdir}/{B,L}E
+cp -a geoip/BE/* $RPM_BUILD_ROOT%{dbdir}/BE
+cp -a geoip/LE/* $RPM_BUILD_ROOT%{dbdir}/LE
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-/var/lib/geoip
+%{dbdir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -41,6 +43,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2010/04/27 07:25:16 glen
+- db moved to /usr/share/xt_geoip; rel 2
+
Revision 1.3 2010/01/02 15:11:35 glen
- todo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xtables-geoip/xtables-geoip.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list