public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <awilliam@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zope-schema] epel10: tweak the symlink trick a bit to work on all arches
Date: Thu, 19 Nov 2026 00:36:51 GMT [thread overview]
Message-ID: <179504861101.1.11815968406825828379.rpms-python-zope-schema-75d7679f9e54@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-19 0:36 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=179504861101.1.11815968406825828379.rpms-python-zope-schema-75d7679f9e54@fedoraproject.org \
--to=awilliam@redhat.com \
--cc=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