public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/go-vendor-tools] rawhide: Update to 0.13.0.
@ 2026-08-05 17:00 Maxwell G
  0 siblings, 0 replies; only message in thread
From: Maxwell G @ 2026-08-05 17:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/go-vendor-tools
Branch : rawhide
Commit : 85e26dd2dd0abbdd8624a664bf91e7fe7e5ee7ff
Author : Maxwell G <maxwell@gtmx.me>
Date   : 2026-08-05T12:00:32-05:00
Stats  : +30/-5 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/go-vendor-tools/c/85e26dd2dd0abbdd8624a664bf91e7fe7e5ee7ff?branch=rawhide

Log:
Update to 0.13.0.

---
diff --git a/.gitignore b/.gitignore
index 553c5f9..1c1e996 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /go-vendor-tools-v0.10.0.tar.bz2
 /go-vendor-tools-v0.11.0.tar.bz2
 /go-vendor-tools-v0.12.0.tar.bz2
+/go-vendor-tools-v0.13.0.tar.bz2

diff --git a/go-vendor-tools.spec b/go-vendor-tools.spec
index bf490ba..a3e3d66 100644
--- a/go-vendor-tools.spec
+++ b/go-vendor-tools.spec
@@ -3,8 +3,14 @@
 # License text: https://spdx.org/licenses/MIT
 
 %bcond manpages 1
+# Whether license scanner deps are wanted at buildtime
+%bcond license_scanners %[ %{defined fedora} || %{defined epel} ]
+# Whether to enable any extras (not all dependencies are in ELN)
+%bcond extras %[%{defined fedora} || %{defined epel}]
+
+# scancode-specific handling --- it has a lot of deps and is not packaged for EPEL.
 # Whether to build the scancode extra
-%bcond scancode %{defined fedora}
+%bcond scancode %[ %{with license_scanners} && %{defined fedora} ]
 # Only run scancode tests (and install scancode at buildtime) when arch is not i386
 %bcond scancode_tests %[ %{with scancode} && "%{_arch}" != "i386"]
 
@@ -12,9 +18,9 @@
 %define tag v%{version_no_tilde %{quote:%nil}}
 
 Name:           go-vendor-tools
-Version:        0.12.0
+Version:        0.13.0
 %forgemeta
-Release:        3%{?dist}
+Release:        1%{?dist}
 Summary:        Tools for handling Go library vendoring in Fedora
 
 # BSD-3-Clause: src/go_vendor_tools/archive.py
@@ -26,9 +32,20 @@ BuildArch:      noarch
 
 BuildRequires:  python3-devel
 
+# Generate shell completions at buildtime
+BuildRequires:  python3-argcomplete
+
 # Test dependencies
+%if %{with license_scanners}
 BuildRequires:  askalono-cli
 BuildRequires:  trivy
+%endif
+# Specify these manually instead of using the test extra since it pulls in
+# extras deps not wanted in ELN.
+# TODO: Get rid of Python extras and switch to more fine-grained pyproject
+# dependency groups for dev deps.
+BuildRequires:  %{py3_dist pytest}
+BuildRequires:  %{py3_dist pytest-mock}
 
 %if %{with manpages}
 BuildRequires:  scdoc
@@ -67,7 +84,7 @@ Enhances:       go-vendor-tools
 
 
 %generate_buildrequires
-%pyproject_buildrequires -x all,test%{?with_scancode_tests:,scancode}
+%pyproject_buildrequires %{?with_extras:-x all} %{?with_scancode_tests:-x scancode}
 
 
 %build
@@ -117,6 +134,7 @@ install -Dpm 0644 zsh_completions/* -t %{buildroot}%{zsh_completions_dir}/
 %if %{defined rhel} && %{undefined epel}
 export GVTT_FORCE_LICENSE_CHECK_ENABLE=1
 %endif
+%pyproject_check_import
 export MACRO_DIR=%{buildroot}%{_rpmmacrodir}
 %pytest
 
@@ -141,10 +159,16 @@ export MACRO_DIR=%{buildroot}%{_rpmmacrodir}
 %doc %{_docdir}/go-vendor-tools-doc/
 
 
+# We always include the extras on ELN so that they are built for ELN Extras.
+%if %{with extras} || %{defined eln}
 %pyproject_extras_subpkg -n go-vendor-tools all %{?with_scancode:scancode}
+%endif
 
 
 %changelog
+* Wed Aug 5 2026 Maxwell G <maxwell@gtmx.me> - 0.13.0-1
+- Update to 0.13.0.
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 75dc42d..877ff40 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-vendor-tools-v0.12.0.tar.bz2) = 45e821dd4bf90c9ffcf8d1f1f66fec731d09b504124916cd35f2c97328dc64217ef2e38494db44a110b91d1a53f4bc4a4dd4bd1836451a9708f7dda3bce379df
+SHA512 (go-vendor-tools-v0.13.0.tar.bz2) = 855c14d895bf7902983e6f73e7787bff40a8af68a4f07be5e3d2bd535c9e93f9471486275428a0f777452651d67553989c07c7ca7406e3c4443e1d619b184d56

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

only message in thread, other threads:[~2026-08-05 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 17:00 [rpms/go-vendor-tools] rawhide: Update to 0.13.0 Maxwell G

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