public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-GIS-Distance] rawhide: Remove build conditions for retired Geo-Point tests
Date: Tue, 13 Oct 2026 12:16:26 GMT [thread overview]
Message-ID: <179189378612.1.18261815414312003260.rpms-perl-GIS-Distance-3e149a81acde@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-GIS-Distance
Branch : rawhide
Commit : 3e149a81acde7029a9e5bd0df96d552b4b7e79ac
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-13T14:14:57+02:00
Stats : +4/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-GIS-Distance/c/3e149a81acde7029a9e5bd0df96d552b4b7e79ac?branch=rawhide
Log:
Remove build conditions for retired Geo-Point tests
The code was disabled since Fedora 32.
---
diff --git a/perl-GIS-Distance.spec b/perl-GIS-Distance.spec
index 98baee7..06ff670 100644
--- a/perl-GIS-Distance.spec
+++ b/perl-GIS-Distance.spec
@@ -1,9 +1,3 @@
-%if !%{defined perl_bootstrap}
-# Run optional tests.
-# 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
%bcond_without perl_GIS_Distance_enables_xs
@@ -38,11 +32,10 @@ BuildRequires: perl(strictures) >= 2
# forcing loading non-Fast implementations.
# Tests:
BuildRequires: perl(Test2::V0) >= 0.000094
-%if %{with perl_GIS_Distance_enables_optional_test}
# Optional tests:
-BuildRequires: perl(Geo::Point) >= 0.95
-BuildRequires: perl(Test2::Require::Module)
-%endif
+# Disabled because perl-Geo-Point was retired (bug #1748923).
+# Geo::Point 0.95 not used
+# Test2::Require::Module not used
Requires: perl(Const::Fast) >= 0.014
%if %{with perl_GIS_Distance_enables_xs}
Recommends: perl(GIS::Distance::Fast) >= 0.13
@@ -62,9 +55,6 @@ Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: perl(Test2::V0) >= 0.000094
-%if %{with perl_GIS_Distance_enables_optional_test}
-Requires: perl(Geo::Point) >= 0.95
-%endif
%description tests
Tests from %{name}. Execute them
@@ -72,10 +62,9 @@ with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n GIS-Distance-%{version}
-%if !%{with perl_GIS_Distance_enables_optional_test}
+# Remove always skipped tests
rm t/geo_point.t
perl -i -ne 'print $_ unless m{^t/geo_point\.t}' MANIFEST
-%endif
# Normalize shebangs
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
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=179189378612.1.18261815414312003260.rpms-perl-GIS-Distance-3e149a81acde@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