public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/geoipupdate] epel10: Update spec and packit conf
@ 2026-11-25 19:41 Mikel Olasagasti Uranga
0 siblings, 0 replies; only message in thread
From: Mikel Olasagasti Uranga @ 2026-11-25 19:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/geoipupdate
Branch : epel10
Commit : c3d66392db180ac38e840390a2e1a3c7668b0409
Author : Mikel Olasagasti Uranga <mikel@olasagasti.info>
Date : 2026-11-25T20:35:32+01:00
Stats : +24/-28 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/geoipupdate/c/c3d66392db180ac38e840390a2e1a3c7668b0409?branch=epel10
Log:
Update spec and packit conf
---
diff --git a/.packit.yaml b/.packit.yaml
index ec2d521..be86c9b 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -1,35 +1,31 @@
-specfile_path: geoipupdate.spec
-
-upstream_package_name: geoipupdate
-upstream_project_url: https://github.com/maxmind/geoipupdate
+---
downstream_package_name: geoipupdate
-
-upstream_tag_template: v{version}
+upstream_project_url: https://github.com/maxmind/geoipupdate
+upstream_tag_template: "v{version}"
jobs:
+ - job: pull_from_upstream
+ trigger: release
+ dist_git_branches:
+ rawhide: {}
-- job: pull_from_upstream
- trigger: release
- dist_git_branches:
- - rawhide
-
-- job: koji_build
- trigger: commit
- dist_git_branches:
- - rawhide
-
+ - job: koji_build
+ trigger: commit
+ dist_git_branches:
+ - rawhide
actions:
post-modifications:
- # https://fedora.gitlab.io/sigs/go/go-vendor-tools/scenarios/#manual-update
- |
sh -xeuc "
cd $PACKIT_DOWNSTREAM_REPO
- export GOTOOLCHAIN=auto
- go_vendor_archive create --config go-vendor-tools.toml geoipupdate.spec
+ export GOTOOLCHAIN=local+auto
+ spec="$PACKIT_DOWNSTREAM_PACKAGE_NAME.spec"
+ go_vendor_archive create --config go-vendor-tools.toml "$spec"
go_vendor_license \
--config go-vendor-tools.toml \
- --path geoipupdate.spec \
+ --path "$spec" \
report \
- --verify-spec
+ --verify-spec \
+ --autofill=auto
"
create_sync_note: false
diff --git a/geoipupdate.spec b/geoipupdate.spec
index 75ff40f..32eaabe 100644
--- a/geoipupdate.spec
+++ b/geoipupdate.spec
@@ -1,14 +1,15 @@
-# Generated by go2rpm 1.18.0
+# Generated by go2rpm 1.19.0
%bcond check 1
# https://github.com/maxmind/geoipupdate
-%global goipath github.com/maxmind/geoipupdate/v8
-Version: 8.0.0
+%global goipath github.com/maxmind/geoipupdate/v8
+Version: 8.0.0
%gometa -L -f
+
Name: geoipupdate
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Update GeoIP2 binary databases from MaxMind
# Generated by go-vendor-tools
@@ -49,8 +50,8 @@ Provides: GeoIP-update = 1.6.0
Cron job for weekly updates to GeoIP2 binary databases from MaxMind.
%prep
-%goprep -A
-%setup -q -T -D -a1 %{forgesetupargs}
+%goprep -p1
+tar -xf %{S:1}
%generate_buildrequires
%go_vendor_license_buildrequires -c %{S:2}
@@ -97,7 +98,6 @@ install -m 0644 -vp _build/GeoIP.conf.5 %{buildroot}%{_mandir}/man5/GeoIP.co
%endif
%files -f %{go_vendor_license_filelist}
-%license vendor/modules.txt
%doc doc CHANGELOG.md README.dev.md README.md
%{_bindir}/geoipupdate
%config(noreplace) %{_sysconfdir}/GeoIP.conf
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-25 19:41 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:41 [rpms/geoipupdate] epel10: Update spec and packit conf Mikel Olasagasti Uranga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox