Add note about upstream license change

The license change means we will no longer be able to update this
package.  The best we can do is continue to ship the last CC-BY-SA
release.
This commit is contained in:
Carl George 2020-05-14 17:50:33 -05:00
parent d6f69ddb47
commit a92eaebc21
2 changed files with 3 additions and 10 deletions

View File

@ -5,6 +5,9 @@ created by MaxMind, available from http://www.maxmind.com.}
Name: geolite2
# Upstream changed their license on 2019-12-30. This is the last version
# released under CC-BY-SA.
# https://bugzilla.redhat.com/show_bug.cgi?id=1786211
Version: 20191217
Release: 2%{?dist}
Summary: Free IP geolocation databases

View File

@ -1,10 +0,0 @@
#!/usr/bin/bash
function get_date {
curl --silent --head https://geolite.maxmind.com/download/geoip/database/GeoLite2-$1.tar.gz | grep -Po "(?<=GeoLite2-${1}_)\d+(?=\.tar\.gz)"
}
echo -e "Spec file version: $(rpmspec geolite2.spec --srpm --query --queryformat '%{VERSION}')"
echo -e "City remote version: $(get_date City)"
echo -e "Country remote version: $(get_date Country)"
echo -e "ASN remote version: $(get_date ASN)"