public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cartopy] rawhide: remove both C++ and Cython source files
@ 2026-08-02  5:15 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-02  5:15 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-cartopy
Branch : rawhide
Commit : 6bbc2a92ca19ca3e44a87db28da1289a7a993356
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-07-31T00:20:33-03:00
Stats  : +4/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cartopy/c/6bbc2a92ca19ca3e44a87db28da1289a7a993356?branch=rawhide

Log:
remove both C++ and Cython source files

---
diff --git a/python-cartopy.spec b/python-cartopy.spec
index 28c8cbc..b1fadb0 100644
--- a/python-cartopy.spec
+++ b/python-cartopy.spec
@@ -90,16 +90,18 @@ export FORCE_CYTHON=1 SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %install
 %pyproject_install
 
-# Remove C++ source files installed into site-packages
+# Remove C++ and Cython source files installed into site-packages
 find %{buildroot}%{python3_sitearch}/cartopy/ -name "*.cpp" -delete
+find %{buildroot}%{python3_sitearch}/cartopy/ -name "*.pyx" -delete
 
 # Fix shebang in non-executable script
 sed -i -e '/^#!/d' %{buildroot}%{python3_sitearch}/cartopy/feature/download/__main__.py
 
 %pyproject_save_files -l %{srcname}
 
-# Remove deleted C++ source files from pyproject_files list
+# Remove deleted C++ and Cython source files from pyproject_files list
 sed -i '/trace\.cpp/d' %{pyproject_files}
+sed -i '/trace\.pyx/d' %{pyproject_files}
 
 mkdir -p %{buildroot}%{_datadir}/cartopy/shapefiles/natural_earth/
 for theme in physical cultural; do

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

only message in thread, other threads:[~2026-08-02  5:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02  5:15 [rpms/python-cartopy] rawhide: remove both C++ and Cython source files Filipe Rosset

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