public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-fido2] epel10: Fix for python3 on EPEL
Date: Fri, 21 Aug 2026 04:07:25 GMT	[thread overview]
Message-ID: <178728524586.1.8317028653677275504.rpms-python-fido2-d1c38312856c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-fido2
Branch : epel10
Commit : d1c38312856c3bfc0a676afb1bfe036524695a5c
Author : Orion Poplawski <orion@nwra.com>
Date   : 2019-03-14T11:12:11-06:00
Stats  : +12/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-fido2/c/d1c38312856c3bfc0a676afb1bfe036524695a5c?branch=epel10

Log:
Fix for python3 on EPEL

---
diff --git a/python-fido2.spec b/python-fido2.spec
index 26a4e28..c4b8173 100644
--- a/python-fido2.spec
+++ b/python-fido2.spec
@@ -5,13 +5,13 @@
 %bcond_without python2
 %endif
 # Missing pyfakefs on EPEL7
-%bcond_with python2_tests
+%bcond_with python_tests
 
 %global srcname fido2
 
 Name:           python-%{srcname}
 Version:        0.5.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Functionality for FIDO 2.0, including USB device communication
 
 # Main code is BSD
@@ -50,7 +50,7 @@ BuildRequires:  python2-six
 BuildRequires:  python2-enum34
 # For tests
 BuildRequires:  python2-mock
-%if %{with python2_tests}
+%if %{with python_tests}
 BuildRequires:  python2-pyfakefs
 %endif
 %if %{undefined __pythondist_requires}
@@ -70,7 +70,9 @@ BuildRequires:  python%{python3_pkgversion}-cryptography
 BuildRequires:  python%{python3_pkgversion}-six
 # For tests
 BuildRequires:  python%{python3_pkgversion}-mock
+%if %{with python_tests}
 BuildRequires:  python%{python3_pkgversion}-pyfakefs
+%endif
 %if %{undefined __pythondist_requires}
 Requires:       python%{python3_pkgversion}-cryptography
 Requires:       python%{python3_pkgversion}-six
@@ -87,7 +89,9 @@ BuildRequires:  python%{python3_other_pkgversion}-cryptography
 BuildRequires:  python%{python3_other_pkgversion}-six
 # For tests
 BuildRequires:  python%{python3_other_pkgversion}-mock
+%if %{with python_tests}
 BuildRequires:  python%{python3_other_pkgversion}-pyfakefs
+%endif
 %if %{undefined __pythondist_requires}
 Requires:       python%{python3_other_pkgversion}-cryptography
 Requires:       python%{python3_other_pkgversion}-six
@@ -122,7 +126,7 @@ Requires:       python%{python3_other_pkgversion}-six
 
 
 %check
-%if %{with python2} && %{with python2_tests}
+%if %{with python2} && %{with python_tests}
 %{__python2} setup.py test
 %endif
 %{__python3} setup.py test
@@ -146,7 +150,7 @@ Requires:       python%{python3_other_pkgversion}-six
 %{python3_sitelib}/%{srcname}/
 
 %if 0%{?python3_other_pkgversion}
-%files -n python%{python3_pkgversion}-%{srcname}
+%files -n python%{python3_other_pkgversion}-%{srcname}
 %license COPYING*
 %doc NEWS README.adoc examples
 %{python3_other_sitelib}/%{srcname}-*.egg-info/
@@ -155,6 +159,9 @@ Requires:       python%{python3_other_pkgversion}-six
 
 
 %changelog
+* Thu Mar 14 2019 Orion Poplawski <orion@nwra.com> - 0.5.0-4
+- Fix for python3 on EPEL
+
 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
 

                 reply	other threads:[~2026-08-21  4:07 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=178728524586.1.8317028653677275504.rpms-python-fido2-d1c38312856c@fedoraproject.org \
    --to=orion@nwra.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