public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/yubikey-manager] epel10: Require the exact same version-release of python3-yubikey-manager
Date: Fri, 21 Aug 2026 14:27:15 GMT	[thread overview]
Message-ID: <178732243579.1.18105284075917695184.rpms-yubikey-manager-fff421727c5c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/yubikey-manager
            Branch : epel10
            Commit : fff421727c5c2658d2f2189a356498b4b6cd5a50
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2021-10-05T01:17:19+02:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/yubikey-manager/c/fff421727c5c2658d2f2189a356498b4b6cd5a50?branch=epel10

            Log:
            Require the exact same version-release of python3-yubikey-manager

This avoids confusion when only yubikey-manager is updated but
python3-yubikey-manager is not.

It is also a rule in the Fedora packaging guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_requiring_base_package

---
diff --git a/yubikey-manager.spec b/yubikey-manager.spec
index f70ceac..2a4cf84 100644
--- a/yubikey-manager.spec
+++ b/yubikey-manager.spec
@@ -7,7 +7,7 @@ Version:        4.0.7
 
 %forgemeta
 
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python library and command line tool for configuring a YubiKey
 License:        BSD
 URL:            %{forgeurl}
@@ -24,7 +24,8 @@ BuildRequires:  %{py3_dist tox-current-env poetry-core setuptools}
 BuildRequires:  %{py3_dist makefun pytest}
 BuildRequires:  %{py3_dist fido2} >= 0.9.0
 
-Requires:       python3-%{name} python3-setuptools u2f-hidraw-policy
+Requires:       python3-%{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires:       python3-setuptools u2f-hidraw-policy
 
 %description
 Command line tool for configuring a YubiKey.
@@ -63,6 +64,9 @@ Python library for configuring a YubiKey.
 %{_bindir}/ykman
 
 %changelog
+* Mon Oct 04 2021 Miro Hrončok <mhroncok@redhat.com> - 4.0.7-3
+- Require the exact same version-release of python3-yubikey-manager
+
 * Mon Oct 04 2021 Gerald Cox <gbcox@member.fsf.org> - 4.0.7-2
 - Patch until upstream corrects for rhbz#2009934
 

                 reply	other threads:[~2026-08-21 14:27 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=178732243579.1.18105284075917695184.rpms-yubikey-manager-fff421727c5c@fedoraproject.org \
    --to=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