pghmcfc pushed to GeoIP (el5). "Drop outdated README.Fedora"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Apr 14 07:39:19 UTC 2015
>From 71987c1dfabbfb50ecc0fbd5f704c5815befc7a9 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Mon, 10 Jun 2013 13:06:49 +0100
Subject: Drop outdated README.Fedora
diff --git a/GeoIP.spec b/GeoIP.spec
index cad553f..43947ad 100644
--- a/GeoIP.spec
+++ b/GeoIP.spec
@@ -12,7 +12,6 @@ Source0: http://www.maxmind.com/download/geoip/api/c/GeoIP-%{version}.tar.gz
Source1: LICENSE.txt
Source2: fetch-geoipdata-city.pl
Source3: fetch-geoipdata.pl
-Source4: README.Fedora
Source5: geoipupdate.cron
Patch10: GeoIP-1.5.0-UTF8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
@@ -58,7 +57,6 @@ Development headers and static libraries for building GeoIP-based applications.
install -D -m644 %{SOURCE1} LICENSE.txt
install -D -m644 %{SOURCE2} fetch-geoipdata-city.pl
install -D -m644 %{SOURCE3} fetch-geoipdata.pl
-install -D -m644 %{SOURCE4} README.fedora
install -D -m644 %{SOURCE5} geoipupdate.cron
%build
@@ -115,7 +113,7 @@ geoipupdate > /dev/null && \
%files
# LGPLv2+
-%doc AUTHORS COPYING ChangeLog README README.fedora TODO LICENSE* fetch-*
+%doc AUTHORS COPYING ChangeLog README TODO LICENSE* fetch-*
%config(noreplace) %{_sysconfdir}/GeoIP.conf
%config(noreplace) %{_sysconfdir}/GeoIP.conf.default
%{_bindir}/geoiplookup
@@ -157,6 +155,7 @@ geoipupdate > /dev/null && \
- Create empty database files for %%ghost to work with old rpm versions
- Don't try to use noarch subpackages on old rpm versions
- Update %%description to mention database updates
+- Drop outdated README.Fedora
* Sat Jun 08 2013 Philip Prindeville <philipp at fedoraproject.org> - 1.5.0-4
- Revert ability to replace 3rd-party package
diff --git a/README.Fedora b/README.Fedora
deleted file mode 100644
index d1d3fa7..0000000
--- a/README.Fedora
+++ /dev/null
@@ -1,73 +0,0 @@
-Automatically fetching GeoIP "free" databases
-==============================================
-
-As provided by Maxmind, LLC, the GeoIP library packages possess tools to
-fetch the licensed country/city/organization etc. databases they
-provide, but no such tool to fetch the free Country/City equivalents.
-
-Additionally, the database version shipped with the base package will be
-the current one at the time a new library release ships. Therefore, the
-shipped database gets less accurate and obsolescent if the library has
-not been updated in some time.
-
-Therefore these databases can become out-of-date quite quickly unless
-the user manually fetches and replaces them regularly; Maxmind generally
-release updates once a month (on the 1st/2nd day of the month).
-
-To assist users/administrators in automating retrieval/updating of the
-available free databases, I've provided the following Perl scripts:
-
-THE SCRIPTS:
-===========
-
-* fetch-geoipdata.pl - This fetches the base GeoIP.dat.gz file from
-Maxmind's site, replacing the existing /usr/share/GeoIP/GeoIP.dat file
-appropriately, keeping a dated backup (YYYYMMDD) of the old database file.
-
-* fetch-geoipdata-city.pl - This works the same way as the above script,
-but on the free City database. It should be noted that a) the City database
-is not part of the standard library package and b) it's fairly large
-(~20mb) and not friendly to users on slow connections.
-
-File location and URL to fetch from are in the script itself, feel free
-to change these to suit your system and local requirements.
-
-REQUIREMENTS:
-============
-* A basic Perl installation will do. As long as Carp, File::Copy and the
- LWP modules are available the scripts will be satisfied
-* gzip to decompress the fetched archives. Almost all systems will have
- this as part of the base installation.
-
-USAGE:
-============
-* Simply put the scripts in your PATH and set them to executable.
-
-* These are best run from a crontab entry, ideally on the 1st/2nd of the
- month (depending on your timezone. I'm at +1000 - Queensland,
- Australia so that works for me)
-
- eg
-
- # Fetch GeoIP databases at 6am on the 2nd of the month
- 00 06 2 * * /usr/local/bin/fetch-geoipdata.pl
-
- You should not need to reload apps using the databases under normal
- circumstances.
-
-BUGS:
-============
-* Hopefully few if any. More verbose error checking is planned.
-* Please do not send bug reports or issues relating to these scripts to
- Maxmind, LLC - I am in no way employed by or personally/professionally
- related to the company, I'm just a user like you :-)
-* Feel free to send any improvements / bugfixes / ideas to me directly.
-
-AUTHOR
-============
-Michael Fleming <mfleming at enlartenment.com>
-
-LICENSE
-============
-This code is licensed under the GPL version 2
-
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/GeoIP.git/commit/?h=el5&id=71987c1dfabbfb50ecc0fbd5f704c5815befc7a9
More information about the scm-commits
mailing list