packages: GeoIP-db-City/GeoIP-db-City.spec - .dat file doesn't need lib; rel 2
glen
glen at pld-linux.org
Wed Apr 21 13:28:21 CEST 2010
Author: glen Date: Wed Apr 21 11:28:21 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- .dat file doesn't need lib; rel 2
---- Files affected:
packages/GeoIP-db-City:
GeoIP-db-City.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: packages/GeoIP-db-City/GeoIP-db-City.spec
diff -u packages/GeoIP-db-City/GeoIP-db-City.spec:1.13 packages/GeoIP-db-City/GeoIP-db-City.spec:1.14
--- packages/GeoIP-db-City/GeoIP-db-City.spec:1.13 Sun Apr 18 00:43:57 2010
+++ packages/GeoIP-db-City/GeoIP-db-City.spec Wed Apr 21 13:28:16 2010
@@ -4,7 +4,7 @@
Name: GeoIP-db-City
# Updated every month:
Version: 2010.04.02
-Release: 1
+Release: 2
License: OPEN DATA LICENSE (see LICENSE.txt)
Group: Applications/Databases
Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
@@ -12,7 +12,6 @@
Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
# Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
URL: http://www.maxmind.com/app/geolitecity
-Requires: GeoIP-libs
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,17 +33,16 @@
%prep
%setup -q -c -T
-cp %{SOURCE0} .
-cp %{SOURCE1} .
+cp -a %{SOURCE0} .
+cp -a %{SOURCE1} .
gunzip GeoLiteCity.dat.gz
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
-
-install GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
-ln -s GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP/GeoIPCity.dat
+cp -a GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
+ln -s GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP/GeoIPCity.dat
%clean
rm -rf $RPM_BUILD_ROOT
@@ -52,6 +50,7 @@
%files
%defattr(644,root,root,755)
%doc *.txt
+%dir %{_datadir}/GeoIP
%{_datadir}/GeoIP/*.dat
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -60,6 +59,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2010/04/21 11:28:16 glen
+- .dat file doesn't need lib; rel 2
+
Revision 1.13 2010/04/17 22:43:57 charles
- up to 2010.04.02
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/GeoIP-db-City/GeoIP-db-City.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list