pghmcfc pushed to GeoIP-GeoLite-data (f21). "Add symlinks for City databases to be where upstream expects them"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue May 12 18:54:26 UTC 2015
From f30a43947049553a214f9fe02e94329f9acd2b20 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Mon, 27 Apr 2015 17:20:34 +0100
Subject: Add symlinks for City databases to be where upstream expects them
diff --git a/GeoIP-GeoLite-data.spec b/GeoIP-GeoLite-data.spec
index f1daaf9..d46f774 100644
--- a/GeoIP-GeoLite-data.spec
+++ b/GeoIP-GeoLite-data.spec
@@ -9,7 +9,7 @@ Name: GeoIP-GeoLite-data
# The geolite databases are updated on the first Tuesday of each month,
# hence we use a versioning scheme of YYYY.MM for the Fedora package
Version: 2015.04
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Free GeoLite IP geolocation country database
# License specified at http://dev.maxmind.com/geoip/legacy/geolite/#License
License: CC-BY-SA
@@ -91,6 +91,11 @@ done
ln -sf GeoLiteASNum.dat %{buildroot}%{_datadir}/GeoIP/GeoIPASNum.dat
ln -sf GeoIPASNumv6.dat %{buildroot}%{_datadir}/GeoIP/GeoLiteASNumv6.dat
+# Symlinks for City databases to be where upstream expects them
+# (geoiplookup -v ...)
+ln -sf GeoLiteCity.dat %{buildroot}%{_datadir}/GeoIP/GeoIPCity.dat
+ln -sf GeoLiteCityv6.dat %{buildroot}%{_datadir}/GeoIP/GeoIPCityv6.dat
+
%clean
rm -rf %{buildroot}
@@ -148,9 +153,15 @@ exit 0
# The compat symlinks are just regular files as they should never need to be
# changed
%{_datadir}/GeoIP/GeoIPASNum.dat
+%{_datadir}/GeoIP/GeoIPCity.dat
+%{_datadir}/GeoIP/GeoIPCityv6.dat
%{_datadir}/GeoIP/GeoLiteASNumv6.dat
%changelog
+* Mon Apr 27 2015 Paul Howarth <paul at city-fan.org> - 2015.04-2
+- Add symlinks for City databases to be where upstream expects them
+ (thanks to nucleo for the suggestion in #1194798)
+
* Sun Apr 12 2015 Paul Howarth <paul at city-fan.org> - 2015.04-1
- Update to April 2015 databases
- Add %%preun script to remove GeoIP.dat symlink if package is uninstalled
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/GeoIP-GeoLite-data.git/commit/?h=f21&id=f30a43947049553a214f9fe02e94329f9acd2b20
More information about the scm-commits
mailing list