public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-GIS-Distance] rawhide: Remove build conditions for retired Geo-Point tests
@ 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 : 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"

^ 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: Remove build conditions for retired Geo-Point tests 

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