public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyperclip] epel10: Restore EPEL8 compatibility
Date: Mon, 21 Sep 2026 08:22:26 GMT	[thread overview]
Message-ID: <178997894664.1.10489660196319645926.rpms-python-pyperclip-f674d72193d3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-pyperclip
            Branch : epel10
            Commit : f674d72193d3918959e6a30bff2eb072f431ccc4
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2022-08-12T15:23:51-04:00
            Stats  : +32/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pyperclip/c/f674d72193d3918959e6a30bff2eb072f431ccc4?branch=epel10

            Log:
            Restore EPEL8 compatibility

- Work around no python3-sphinx-latex package in EPEL8
- Work around no /usr/bin/pytest in EPEL8

---
diff --git a/python-pyperclip.spec b/python-pyperclip.spec
index 896b9e5..8d265ad 100644
--- a/python-pyperclip.spec
+++ b/python-pyperclip.spec
@@ -75,7 +75,38 @@ Summary:        Pyperclip documentation
 %if %{with doc_pdf}
 BuildRequires:  make
 BuildRequires:  python3dist(sphinx)
+%if ! 0%{?el8}
 BuildRequires:  python3-sphinx-latex
+%else
+BuildRequires:  tex(amsmath.sty)
+BuildRequires:  tex(amsthm.sty)
+BuildRequires:  tex(anyfontsize.sty)
+BuildRequires:  tex(article.cls)
+BuildRequires:  tex(capt-of.sty)
+BuildRequires:  tex(cmap.sty)
+BuildRequires:  tex(color.sty)
+BuildRequires:  tex(ctablestack.sty)
+BuildRequires:  tex(fancyhdr.sty)
+BuildRequires:  tex(fancyvrb.sty)
+BuildRequires:  tex(fncychap.sty)
+BuildRequires:  tex(framed.sty)
+BuildRequires:  tex(geometry.sty)
+BuildRequires:  tex(hyperref.sty)
+BuildRequires:  tex(kvoptions.sty)
+BuildRequires:  tex(luatex85.sty)
+BuildRequires:  tex(needspace.sty)
+BuildRequires:  tex(parskip.sty)
+BuildRequires:  tex(polyglossia.sty)
+BuildRequires:  tex(tabulary.sty)
+BuildRequires:  tex(titlesec.sty)
+BuildRequires:  tex(upquote.sty)
+BuildRequires:  tex(utf8x.def)
+BuildRequires:  tex(wrapfig.sty)
+BuildRequires:  texlive-collection-fontsrecommended
+BuildRequires:  texlive-collection-latex
+BuildRequires:  texlive-dvipng
+BuildRequires:  texlive-dvisvgm
+%endif
 BuildRequires:  latexmk
 %endif
 
@@ -103,7 +134,7 @@ PYTHONPATH="${PWD}/src" %make_build -C docs latex SPHINXOPTS='%{?_smp_mflags}'
 %py3_install
 
 %check
-%global __pytest /usr/bin/xvfb-run -a /usr/bin/pytest
+%global __pytest /usr/bin/xvfb-run -a %{python3} -m pytest
 # Explicitly skip backends that we know will fail in the mock environment if
 # their dependencies happen to be present. See notes in the BuildRequires.
 %pytest -k 'not TestGtk and not TestXSel and not TestWlClipboard and not TestKlipper' -v

                 reply	other threads:[~2026-09-21  8:22 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=178997894664.1.10489660196319645926.rpms-python-pyperclip-f674d72193d3@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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