public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-GIS-Distance] rawhide: Do not build-depend unused GIS::Distance::Fast
Date: Tue, 13 Oct 2026 12:16:25 GMT	[thread overview]
Message-ID: <179189378560.1.11085856312031187687.rpms-perl-GIS-Distance-677b9b8565bd@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-13 12:16 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=179189378560.1.11085856312031187687.rpms-perl-GIS-Distance-677b9b8565bd@fedoraproject.org \
    --to=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