public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/geoipupdate] epel9: Tidy up after merging PR for new vendoring guidelines
Date: Wed, 25 Nov 2026 19:40:41 GMT [thread overview]
Message-ID: <179563564141.1.3386528765006131409.rpms-geoipupdate-c5f6854232a4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/geoipupdate
Branch : epel9
Commit : c5f6854232a432d7561304bcdb061bd1b56f85eb
Author : Paul Howarth <paul@city-fan.org>
Date : 2025-10-20T13:36:05+01:00
Stats : +29/-28 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/geoipupdate/c/c5f6854232a432d7561304bcdb061bd1b56f85eb?branch=epel9
Log:
Tidy up after merging PR for new vendoring guidelines
https://src.fedoraproject.org/rpms/geoipupdate/pull-request/1
* Remove duplicate Name/Release/Summary tags
* Remove use of tabs for whitespace consistency
* Drop redundant %autopatch
* Update rpmlintrc for new warnings
---
diff --git a/geoipupdate.rpmlintrc b/geoipupdate.rpmlintrc
index cf120c1..b602642 100644
--- a/geoipupdate.rpmlintrc
+++ b/geoipupdate.rpmlintrc
@@ -1,5 +1,3 @@
-from Config import *
-
# Documentation for cron packages is the package %description
addFilter("no-documentation")
@@ -8,3 +6,11 @@ addFilter("executable-marked-as-config-file /etc/cron.weekly/geoipupdate")
# geoipupdate-cron6 is obsolete (upstream stopped providing free IPv6 databases) and not replaced
addFilter("obsolete-not-provided geoipupdate-cron6")
+
+# Consequence of vendoring dependencies
+addFilter("invalid-url Source1: geoipupdate-.*-vendor.tar.bz2")
+
+# Nobody will ever have separate filesystems for subdirectories here
+addFilter("cross-directory-hard-link /usr/share/licenses/geoipupdate/vendor/.*/LICENSE /usr/share/licenses/geoipupdate/vendor/.*/LICENSE")
+addFilter("cross-directory-hard-link /usr/share/licenses/geoipupdate/vendor/.*/PATENTS /usr/share/licenses/geoipupdate/vendor/.*/PATENTS")
+
diff --git a/geoipupdate.spec b/geoipupdate.spec
index 5778bc8..03bf648 100644
--- a/geoipupdate.spec
+++ b/geoipupdate.spec
@@ -2,17 +2,13 @@
%bcond check 1
# https://github.com/maxmind/geoipupdate
-%global goipath github.com/maxmind/geoipupdate/v7
-Version: 7.1.1
+%global goipath github.com/maxmind/geoipupdate/v7
+Version: 7.1.1
%gometa -L -f
-Name: geoipupdate
-Release: 5%{?dist}
-Summary: Update GeoIP2 binary databases from MaxMind
-
Name: geoipupdate
-Release: %autorelease
+Release: 5%{?dist}
Summary: Update GeoIP2 binary databases from MaxMind
# Generated by go-vendor-tools
@@ -22,32 +18,32 @@ Source0: %{gosource}
# Generated by go-vendor-tools
Source1: %{archivename}-vendor.tar.bz2
Source2: go-vendor-tools.toml
-Source3: geoipupdate.cron
+Source3: geoipupdate.cron
-BuildRequires: coreutils
-BuildRequires: crontabs
+BuildRequires: coreutils
+BuildRequires: crontabs
BuildRequires: go-vendor-tools
-BuildRequires: make
-BuildRequires: pandoc
-BuildRequires: perl-interpreter
-BuildRequires: perl(File::Temp)
-BuildRequires: perl(strict)
-BuildRequires: perl(warnings)
-BuildRequires: sed
+BuildRequires: make
+BuildRequires: pandoc
+BuildRequires: perl-interpreter
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+BuildRequires: sed
# Legacy databases fetched by cron6 sub-package no longer available
-Obsoletes: geoipupdate-cron6 < %{version}-%{release}
+Obsoletes: geoipupdate-cron6 < %{version}-%{release}
%description
The GeoIP Update program performs automatic updates of GeoIP2 binary databases.
%package cron
-Summary: Cron job to do weekly updates of GeoIP databases
-BuildArch: noarch
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires: crontabs
-Obsoletes: GeoIP-update < 1.6.0
-Provides: GeoIP-update = 1.6.0
+Summary: Cron job to do weekly updates of GeoIP databases
+BuildArch: noarch
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: crontabs
+Obsoletes: GeoIP-update < 1.6.0
+Provides: GeoIP-update = 1.6.0
%description cron
Cron job for weekly updates to GeoIP2 binary databases from MaxMind.
@@ -55,7 +51,6 @@ Cron job for weekly updates to GeoIP2 binary databases from MaxMind.
%prep
%goprep -A
%setup -q -T -D -a1 %{forgesetupargs}
-%autopatch -p1
%generate_buildrequires
%go_vendor_license_buildrequires -c %{S:2}
@@ -118,7 +113,7 @@ install -m 0644 -vp _build/GeoIP.conf.5 %{buildroot}%{_mandir}/man5/GeoIP.co
- Convert to new vendoring guidelines
* Fri Oct 10 2025 Alejandro Sáez <asm@redhat.com> - 7.1.1-4
-- rebuild
+- Rebuild
* Fri Aug 15 2025 Maxwell G <maxwell@gtmx.me> - 7.1.1-3
- Rebuild for golang-1.25.0
reply other threads:[~2026-11-25 19:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179563564141.1.3386528765006131409.rpms-geoipupdate-c5f6854232a4@fedoraproject.org \
--to=paul@city-fan.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox