public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-fido2] epel10: Enable python dependency generator
Date: Fri, 21 Aug 2026 04:07:24 GMT	[thread overview]
Message-ID: <178728524490.1.13807208361456327210.rpms-python-fido2-ff9c41fb6480@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-fido2
            Branch : epel10
            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

            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
 

                 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=178728524490.1.13807208361456327210.rpms-python-fido2-ff9c41fb6480@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --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