public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zope-schema] epel10: tweak the symlink trick a bit to work on all arches
@ 2026-11-19  0:36 Adam Williamson
  0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-11-19  0:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-zope-schema
Branch : epel10
Commit : 75d7679f9e54fe3a50741d7d21ffd4fc5e3a4fb9
Author : Adam Williamson <awilliam@redhat.com>
Date   : 2016-12-22T11:12:44-08:00
Stats  : +3/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-zope-schema/c/75d7679f9e54fe3a50741d7d21ffd4fc5e3a4fb9?branch=epel10

Log:
tweak the symlink trick a bit to work on all arches

---
diff --git a/python-zope-schema.spec b/python-zope-schema.spec
index 1c8e33d..105a656 100644
--- a/python-zope-schema.spec
+++ b/python-zope-schema.spec
@@ -92,7 +92,9 @@ rm -fr html/{.buildinfo,.doctrees}
 # the test setup and runner are rather, ahem, 'special' (see setup.py
 # all_tests). This silly hack makes it fly on recent Python 3.
 ln -s %{python3_sitelib}/zope/* src/zope
-ln -s %{python3_sitearch}/zope/* src/zope
+# this can fail if sitelib and sitearch are the same on the host doing
+# the build, it's no problem
+ln -s %{python3_sitearch}/zope/* src/zope >/dev/null || :
 %{__python3} setup.py test
 %endif
 

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

only message in thread, other threads:[~2026-11-19  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19  0:36 [rpms/python-zope-schema] epel10: tweak the symlink trick a bit to work on all arches Adam Williamson

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