public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fido2] epel10.2: Enable python dependency generator
@ 2026-08-21 13:51 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-08-21 13:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-fido2
            Branch : epel10.2
            Commit : ff9c41fb64800c858820e400037796a8f78933d7
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-01-01T09:40:30+01:00
            Stats  : +11/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-fido2/c/ff9c41fb64800c858820e400037796a8f78933d7?branch=epel10.2

            Log:
            Enable python dependency generator

References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/python-fido2.spec b/python-fido2.spec
index 5508e4c..fc54a8e 100644
--- a/python-fido2.spec
+++ b/python-fido2.spec
@@ -1,3 +1,4 @@
+%{?python_enable_dependency_generator}
 %if 0%{?fedora}
 %bcond_with python2
 %else
@@ -10,7 +11,7 @@
 
 Name:           python-%{srcname}
 Version:        0.5.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Functionality for FIDO 2.0, including USB device communication
 
 # Main code is BSD
@@ -52,9 +53,11 @@ BuildRequires:  python2-mock
 %if %{with python2_tests}
 BuildRequires:  python2-pyfakefs
 %endif
+%if %{undefined __pythondist_requires}
 Requires:       python2-enum34
 Requires:       python2-cryptography
 Requires:       python2-six
+%endif
 %{?python_provide:%python_provide python2-%{srcname}}
 
 %description -n python2-%{srcname} %_description
@@ -68,8 +71,10 @@ BuildRequires:  python%{python3_pkgversion}-six
 # For tests
 BuildRequires:  python%{python3_pkgversion}-mock
 BuildRequires:  python%{python3_pkgversion}-pyfakefs
+%if %{undefined __pythondist_requires}
 Requires:       python%{python3_pkgversion}-cryptography
 Requires:       python%{python3_pkgversion}-six
+%endif
 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
 
 %description -n python%{python3_pkgversion}-%{srcname} %_description
@@ -83,8 +88,10 @@ BuildRequires:  python%{python3_other_pkgversion}-six
 # For tests
 BuildRequires:  python%{python3_other_pkgversion}-mock
 BuildRequires:  python%{python3_other_pkgversion}-pyfakefs
+%if %{undefined __pythondist_requires}
 Requires:       python%{python3_other_pkgversion}-cryptography
 Requires:       python%{python3_other_pkgversion}-six
+%endif
 %{?python_provide:%python_provide python%{python3_other_pkgversion}-%{srcname}}
 
 %description -n python%{python3_other_pkgversion}-%{srcname} %_description
@@ -148,6 +155,9 @@ Requires:       python%{python3_other_pkgversion}-six
 
 
 %changelog
+* Tue Jan 01 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-2
+- Enable python dependency generator
+
 * Mon Dec 31 2018 Orion Poplawski <orion@nwra.com> - 0.5.0-1
 - Update to 0.5.0
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 13:51 [rpms/python-fido2] epel10.2: Enable python dependency generator Igor Gnatenko

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