Hello community, here is the log from the commit of package geoipupdate for openSUSE:Factory checked in at 2020-03-05 23:18:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old) and /work/SRC/openSUSE:Factory/.geoipupdate.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "geoipupdate" Thu Mar 5 23:18:58 2020 rev:9 rq:781418 version:4.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes 2019-06-20 18:56:35.920944324 +0200 +++ /work/SRC/openSUSE:Factory/.geoipupdate.new.26092/geoipupdate.changes 2020-03-05 23:19:03.521203623 +0100 @@ -1,0 +2,54 @@ +Wed Mar 04 07:24:45 UTC 2020 - [email protected] + +- Update to version 4.2.2: + * Prepare for 4.2.2 + * Use go get on 1.10 + * Only use debug.ReadBuildInfo on 1.12+ + * Update changelog + * Set required Go version to 1.10 + * Test back to Go 1.10 + * Do not unnecessarily use errors.Is + * Add changelog for #76 + * Update for GoReleaser nfpm section change + * Bump copyright year + +- Add disable-pandoc.patch + +------------------------------------------------------------------- +Wed Mar 04 07:23:56 UTC 2020 - [email protected] + +- Update to version 4.2.2: + * Prepare for 4.2.2 + * Use go get on 1.10 + * Only use debug.ReadBuildInfo on 1.12+ + * Update changelog + * Set required Go version to 1.10 + * Test back to Go 1.10 + * Do not unnecessarily use errors.Is + * Add changelog for #76 + * Update for GoReleaser nfpm section change + * Bump copyright year + +------------------------------------------------------------------- +Tue Mar 03 15:31:26 UTC 2020 - [email protected] + +- Update to version 4.2.2: + * Prepare for 4.2.2 + * Use go get on 1.10 + * Only use debug.ReadBuildInfo on 1.12+ + * Update changelog + * Set required Go version to 1.10 + * Test back to Go 1.10 + * Do not unnecessarily use errors.Is + * Add changelog for #76 + * Update for GoReleaser nfpm section change + * Bump copyright year + +------------------------------------------------------------------- +Tue Mar 3 13:47:31 UTC 2020 - Paolo Stivanin <[email protected]> + +- Update to 4.2.2 + A lot of changes since last release. Please have a look at + https://github.com/maxmind/geoipupdate/releases for more info + +------------------------------------------------------------------- Old: ---- geoipupdate-legacy-3.1.1.tar.gz New: ---- _service _servicedata disable-pandoc.patch geoipupdate-4.2.2.tar.gz vendor.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ geoipupdate.spec ++++++ --- /var/tmp/diff_new_pack.bODAzK/_old 2020-03-05 23:19:05.173204557 +0100 +++ /var/tmp/diff_new_pack.bODAzK/_new 2020-03-05 23:19:05.197204571 +0100 @@ -1,7 +1,7 @@ # # spec file for package geoipupdate # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,50 +16,55 @@ # +# Common info Name: geoipupdate -Version: 3.1.1 +Version: 4.2.2 Release: 0 Summary: GeoIP update client code License: GPL-2.0-only -Group: Productivity/Networking/System -URL: https://www.maxmind.com -Source0: https://github.com/maxmind/geoipupdate-legacy/archive/v%{version}/%{name}-legacy-%{version}.tar.gz -Source1: geoipupdate.timer -Source2: geoipupdate.service -BuildRequires: autoconf -BuildRequires: libtool -BuildRequires: pkgconfig -BuildRequires: pkgconfig(libcurl) -BuildRequires: pkgconfig(systemd) -BuildRequires: pkgconfig(zlib) -Conflicts: GeoIP < 1.6.0 -%{?systemd_requires} +Group: Productivity/Networking/Other +URL: https://github.com/maxmind/geoipupdate +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source2: geoipupdate.timer +Source3: geoipupdate.service +Patch0: disable-pandoc.patch +# Build-time parameters +BuildRequires: go >= 1.10 +# Manpage +BuildRequires: perl%{?suse_version:-base} %description -The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP -Legacy binary databases. Currently the program only supports Linux and -other Unix- like systems. +The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP Legacy +binary databases. Currently the program only supports Linux and other +Unix-like systems. +# Preparation step (unpackung and patching if necessary) %prep -%setup -q -n %{name}-legacy-%{version} +%setup -q -a1 +%patch0 -p1 %build -autoreconf --install -%configure \ - --datadir=%{_localstatedir}/lib -make %{?_smp_mflags} +export GOCACHE=$(pwd -P)/.gocache +export GOTRACEBACK=crash +export GOFLAGS='-a -mod=vendor -buildmode=pie -gcflags=all=-dwarf=false -ldflags=all=-s -ldflags=all=-w' +%make_build \ + CONFFILE=%{_sysconfdir}/GeoIP.conf \ + DATADIR=%{_localstatedir}/lib/GeoIP \ + VERSION=%{version} %install -%make_install -install -d %{buildroot}%{_localstatedir}/lib/GeoIP -install -D -p -m 0644 conf/GeoIP.conf.default \ - %{buildroot}%{_sysconfdir}/GeoIP.conf.default -rm -rf %{buildroot}%{_datadir}/doc/geoipupdate -install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.timer -install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service - -%check -make %{?_smp_mflags} check +install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/geoipupdate.timer +install -D -m0644 %{SOURCE3} %{buildroot}%{_unitdir}/geoipupdate.service +install -D -m0755 build/geoipupdate %{buildroot}%{_bindir}/geoipupdate +install -D -m0644 conf/GeoIP.conf.default %{buildroot}%{_sysconfdir}/GeoIP.conf +install -d -m0755 %{buildroot}%{_localstatedir}/lib/GeoIP +sed -ri \ + -e '/^UserId\s*/ s|YOUR_USER_ID_HERE|999999|' \ + -e '/^LicenseKey\s*/ s|YOUR_LICENSE_KEY_HERE|000000000000|' \ + -e '/^ProductIds\s*/ s|^(\w+s*).+$|\1 GeoLite2-City GeoLite2-Country GeoLite-Legacy-IPv6-City GeoLite-Legacy-IPv6-Country 506 517 533|' \ + -e '/^(#\s*)?DatabaseDirectory/ s|^(#\s*)?(\w+\s*).+$|\2%{_localstatedir}/lib/GeoIP|' \ + %{buildroot}%{_sysconfdir}/GeoIP.conf %pre %service_add_pre %{name}.service @@ -74,15 +79,12 @@ %service_del_postun %{name}.service %files -%license LICENSE -%doc README.md ChangeLog.md +%doc README.md build/geoipupdate.md build/GeoIP.conf.md +%license LICENSE-* %config(noreplace) %{_sysconfdir}/GeoIP.conf -%config %{_sysconfdir}/GeoIP.conf.default -%dir %{_localstatedir}/lib/GeoIP %{_bindir}/geoipupdate +%dir %{_localstatedir}/lib/GeoIP %{_unitdir}/%{name}.service %{_unitdir}/%{name}.timer -%{_mandir}/man1/geoipupdate.1%{?ext_man} -%{_mandir}/man5/GeoIP.conf.5%{?ext_man} %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">git://github.com/maxmind/geoipupdate</param> <param name="revision">v4.2.2</param> <param name="exclude">.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">gz</param> </service> <service name="set_version" mode="disabled"> </service> <service name="go_modules" mode="disabled"></service> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/maxmind/geoiplookup.git</param> <param name="changesrevision">b7d56e8cecca387a33a2d246897a737eefdee501</param></service><service name="tar_scm"> <param name="url">git://github.com/maxmind/geoipupdate.git</param> <param name="changesrevision">b7d56e8cecca387a33a2d246897a737eefdee501</param></service><service name="tar_scm"> <param name="url">https://github.com/maxmind/geoipupdate</param> <param name="changesrevision">b7d56e8cecca387a33a2d246897a737eefdee501</param></service><service name="tar_scm"> <param name="url">git://github.com/maxmind/geoipupdate</param> <param name="changesrevision">b7d56e8cecca387a33a2d246897a737eefdee501</param></service></servicedata>++++++ disable-pandoc.patch ++++++ --- a/Makefile.orig 2020-03-04 10:14:17.209181344 +0100 +++ b/Makefile 2020-03-04 10:14:37.189282590 +0100 @@ -33,9 +33,7 @@ data: \ $(BUILDDIR)/GeoIP.conf \ $(BUILDDIR)/GeoIP.conf.md \ - $(BUILDDIR)/geoipupdate.md \ - $(BUILDDIR)/GeoIP.conf.5 \ - $(BUILDDIR)/geoipupdate.1 + $(BUILDDIR)/geoipupdate.md $(BUILDDIR): mkdir -p $(BUILDDIR) @@ -53,11 +51,6 @@ $(BUILDDIR)/geoipupdate.md: $(BUILDDIR) doc/geoipupdate.md sed -e 's|CONFFILE|$(CONFFILE)|g' -e 's|DATADIR|$(DATADIR)|g' -e 's|$$|$(MAYBE_CR)|g' doc/geoipupdate.md > $(BUILDDIR)/geoipupdate.md -$(BUILDDIR)/GeoIP.conf.5: $(BUILDDIR)/GeoIP.conf.md $(BUILDDIR)/geoipupdate.md - dev-bin/make-man-pages.pl "$(BUILDDIR)" - -$(BUILDDIR)/geoipupdate.1: $(BUILDDIR)/GeoIP.conf.5 - clean: rm -rf $(BUILDDIR)/GeoIP.conf \ $(BUILDDIR)/GeoIP.conf.md \ ++++++ geoipupdate-legacy-3.1.1.tar.gz -> geoipupdate-4.2.2.tar.gz ++++++ ++++ 6305 lines of diff (skipped)
