public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/geoipupdate] epel9: Tidy up after merging PR for new vendoring guidelines
@ 2026-11-25 19:40 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-11-25 19:40 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-25 19:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 19:40 [rpms/geoipupdate] epel9: Tidy up after merging PR for new vendoring guidelines Paul Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox