public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-GIS-Distance] rawhide: Do not build-depend unused GIS::Distance::Fast
@ 2026-10-13 12:16 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-13 12:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-GIS-Distance
Branch : rawhide
Commit : 677b9b8565bdd30a741c29628f7ecdc78b389fcd
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-13T14:06:59+02:00
Stats  : +8/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-GIS-Distance/c/677b9b8565bdd30a741c29628f7ecdc78b389fcd?branch=rawhide

Log:
Do not build-depend unused GIS::Distance::Fast

---
diff --git a/perl-GIS-Distance.spec b/perl-GIS-Distance.spec
index b7d823e..98baee7 100644
--- a/perl-GIS-Distance.spec
+++ b/perl-GIS-Distance.spec
@@ -3,14 +3,13 @@
 # Disabled because perl-Geo-Point was retired (bug #1748923).
 # Build-cycle: perl-GIS-Distance → perl-Geo-Point → perl-Geo-Distance
 %bcond_with perl_GIS_Distance_enables_optional_test
+%endif
 # Use optimized implementation in C
-# Build-cycle: perl-GIS-Distance-XS → perl-GIS-Distance
 %bcond_without perl_GIS_Distance_enables_xs
-%endif
 
 Name:           perl-GIS-Distance
 Version:        0.20
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Calculate geographic distances
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/GIS-Distance
@@ -33,10 +32,10 @@ BuildRequires:  perl(namespace::clean) >= 0.24
 BuildRequires:  perl(parent)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(strictures) >= 2
-%if %{with perl_GIS_Distance_enables_xs}
 # Optional run-time:
-BuildRequires:  perl(GIS::Distance::Fast) >= 0.13
-%endif
+# GIS::Distance::Fast 0.13 is not used at tests, all tests load formulas by
+# a full module name, e.g. with GIS::Distance->new('GIS::Distance::Polar'),
+# forcing loading non-Fast implementations.
 # Tests:
 BuildRequires:  perl(Test2::V0) >= 0.000094
 %if %{with perl_GIS_Distance_enables_optional_test}
@@ -118,6 +117,9 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print
 %{_libexecdir}/%{name}
 
 %changelog
+* Tue Oct 13 2026 Petr Pisar <ppisar@redhat.com> - 0.20-10
+- Do not build-depend unused GIS::Distance::Fast
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.20-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-10-13 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 12:16 [rpms/perl-GIS-Distance] rawhide: Do not build-depend unused GIS::Distance::Fast 

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