public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/keychain] rawhide: update to the new keychain-3.0.0_beta1 python based
Date: Sat, 25 Jul 2026 18:47:22 GMT	[thread overview]
Message-ID: <178500524248.1.16999993498133264101.rpms-keychain-34bc3d8a0236@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/keychain
            Branch : rawhide
            Commit : 34bc3d8a023608a6fe8bd6c0a81eac3c43ce7d8d
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-07-23T19:26:27-03:00
            Stats  : +15/-25 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/keychain/c/34bc3d8a023608a6fe8bd6c0a81eac3c43ce7d8d?branch=rawhide

            Log:
            update to the new keychain-3.0.0_beta1 python based

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/keychain.spec b/keychain.spec
index 1cb3b71..efd939c 100644
--- a/keychain.spec
+++ b/keychain.spec
@@ -1,19 +1,16 @@
 Name:           keychain
 Summary:        Agent manager for OpenSSH, ssh.com, Sun SSH, and GnuPG
-Version:        2.9.8
+Version:        3.0.0_beta1
 Release:        %autorelease
-License:        GPL-2.0-only
+License:        GPL-3.0-only
 URL:            https://github.com/danielrobbins/%{name}
 Source:         https://github.com/danielrobbins/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
 Source1:        %{name}.sh
 Source2:        %{name}.csh
 Source3:        README.Fedora
 BuildArch:      noarch
-BuildRequires:  bash-completion
-BuildRequires:  make
-BuildRequires:  perl-podlators
-Requires:       findutils
-
+BuildRequires:  python3-devel
+BuildRequires:  pyproject-rpm-macros
 
 %description
 Keychain is a manager for OpenSSH, ssh.com, Sun SSH and GnuPG agents.
@@ -26,35 +23,29 @@ local machine is rebooted.
 %prep
 %autosetup
 cp %{SOURCE3} .
-# Remove /usr/ucb from PATH as it's not used in Fedora
-sed -i -e 's|/usr/ucb:||' %{name}.sh
-# Remove shebang from bash completion script
-sed -i -e '1{\@^#!/usr/bin/env bash@d}' completions/%{name}.bash
+
+%generate_buildrequires
+%pyproject_buildrequires
 
 %build
-%make_build %{name} %{name}.1
+%pyproject_wheel
 
 %install
-install -D -p -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
+%pyproject_install
+%pyproject_save_files keychain
 install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
 install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
-install -D -p -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 
-# Bash completion
-install -D -p -m 0644 completions/%{name}.bash %{buildroot}%{bash_completions_dir}/%{name}
-
-%files
-%license COPYING.txt
+%files -f %{pyproject_files}
+%license LICENSE
 %doc ChangeLog.md README.md README.Fedora
 %config(noreplace) %{_sysconfdir}/profile.d/%{name}.sh
 %config(noreplace) %{_sysconfdir}/profile.d/%{name}.csh
 %{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1*
-%{bash_completions_dir}/%{name}
 
 %check
-# Basic check to ensure the binary was built correctly and to silent rpmlint
-./%{name} --version
+PYTHONPATH=%{buildroot}%{python3_sitelib} %{buildroot}%{_bindir}/%{name} --version
 
 %changelog
 %autochangelog
+

diff --git a/sources b/sources
index e9ff696..9b65482 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (keychain-2.9.2.tar.gz) = 1b4aa06037cb3f89f4cfa6a4c1a1104ca6a757175a636043b7fb4776773a81f20b38b058b86618b8e6b89cf7c61af86e6441da70ed92b0c18d31fb50b3dd8a96
-SHA512 (keychain-2.9.8.tar.gz) = f6677f1e365703bada641757bb7d06d8d578c48fb0350c7e3ea032c6c3b4e725f59fd10800ef02aadbf25e8e973135da5d4d3705270340dc75b6756a736a71af
+SHA512 (keychain-3.0.0_beta1.tar.gz) = 25c0a0e4b3b0ee5fd4e31b1b1013473dc64f35d9215c9b2a8219c8e5954187ade71e9eac21b034345d757806202537397ac0ee317d704aa51ea6b4e028dcabda

                 reply	other threads:[~2026-07-25 18:47 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=178500524248.1.16999993498133264101.rpms-keychain-34bc3d8a0236@fedoraproject.org \
    --to=filiperosset@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