public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fido2] epel10: Fix for python3 on EPEL
@ 2026-08-21  4:07 Orion Poplawski
  0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-08-21  4:07 UTC (permalink / raw)
  To: git-commits

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
 

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

only message in thread, other threads:[~2026-08-21  4:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21  4:07 [rpms/python-fido2] epel10: Fix for python3 on EPEL Orion Poplawski

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