public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-phyghtmap] rawhide: Try to further fix package: swapped coordinates in PDB (rhbz#2469045)
@ 2026-11-27 11:11 Federico Pellegrin
0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-11-27 11:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-phyghtmap
Branch : rawhide
Commit : 76441066642eb7b467463c4918c05fe3e8646b2b
Author : Federico Pellegrin <fede@evolware.org>
Date : 2026-11-27T12:11:44+01:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-phyghtmap/c/76441066642eb7b467463c4918c05fe3e8646b2b?branch=rawhide
Log:
Try to further fix package: swapped coordinates in PDB (rhbz#2469045)
---
diff --git a/0005-Lat_lon_swapped.patch b/0005-Lat_lon_swapped.patch
new file mode 100644
index 0000000..900f40e
--- /dev/null
+++ b/0005-Lat_lon_swapped.patch
@@ -0,0 +1,12 @@
+diff -ruN phyghtmap-2.23-d/phyghtmap/pbfUtil.py phyghtmap-2.23-e/phyghtmap/pbfUtil.py
+--- phyghtmap-2.23-d/phyghtmap/pbfUtil.py 2026-05-23 05:16:03.989739298 +0200
++++ phyghtmap-2.23-e/phyghtmap/pbfUtil.py 2026-11-27 12:06:01.582097102 +0100
+@@ -382,7 +382,7 @@
+ for single_path in path:
+ try:
+ for lon, lat in single_path:
+- all_paths.append([lat, lon])
++ all_paths.append([lon, lat])
+ except:
+ pass
+ for lon, lat in all_paths:
diff --git a/python-phyghtmap.spec b/python-phyghtmap.spec
index bf2454f..00d5074 100644
--- a/python-phyghtmap.spec
+++ b/python-phyghtmap.spec
@@ -2,7 +2,7 @@
Name: python-phyghtmap
Version: 2.23
-Release: 23%{?dist}
+Release: 24%{?dist}
Summary: Generate OSM contour lines from NASA SRTM data
License: GPL-2.0-or-later
URL: http://katze.tfiu.de/projects/phyghtmap/
@@ -15,6 +15,8 @@ Patch1: 0002-Fix_matplotlib_after_3_6_0.patch
Patch2: 0003-Array_all_array_equal.patch
# GDAL swapped coordinates in new versions: https://gis.stackexchange.com/questions/423635/phyghtmap-2-23-reversing-flipping-coordinates
Patch3: 0004-New_gdal_swapped_coords.patch
+# Fix lat/long swapped in PDB files
+Patch4: 0005-Lat_lon_swapped.patch
BuildArch: noarch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@@ -74,6 +76,9 @@ install -Dpm 644 docs/%{modname}.1 %{buildroot}%{_mandir}/man1/%{modname}.1
%{_mandir}/man1/%{modname}.1*
%changelog
+* Fri Nov 27 2026 Federico Pellegrin <fede@evolware.org> - 2.23-24
+- Try to further fix package: swapped coordinates in PDB (rhbz#2469045)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.23-23
- 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-11-27 11:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 11:11 [rpms/python-phyghtmap] rawhide: Try to further fix package: swapped coordinates in PDB (rhbz#2469045) Federico Pellegrin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox