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/oksh] rawhide: added a smoke test to silent rpmlint
Date: Wed, 10 Jun 2026 02:36:24 GMT	[thread overview]
Message-ID: <178105898478.1.5436381022148949497.rpms-oksh-b62dbd105c43@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/oksh
            Branch : rawhide
            Commit : b62dbd105c43f2dfadf1c04e903eacc52bb7ecb9
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-09T23:26:37-03:00
            Stats  : +5/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/oksh/c/b62dbd105c43f2dfadf1c04e903eacc52bb7ecb9?branch=rawhide

            Log:
            added a smoke test to silent rpmlint

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

---
diff --git a/oksh.spec b/oksh.spec
index 9626535..9b77cf6 100644
--- a/oksh.spec
+++ b/oksh.spec
@@ -7,7 +7,7 @@ Summary:        Portable OpenBSD ksh, based on the Public Domain Korn Shell
 # being under ISC and BSD-3-Clause license.
 License:        LicenseRef-Fedora-Public-Domain AND ISC AND BSD-3-Clause
 URL:            https://github.com/ibara/%{name}
-Source0:        https://github.com/ibara/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
+Source:         https://github.com/ibara/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
 
 BuildRequires:  gcc
 BuildRequires:  make
@@ -27,6 +27,10 @@ Portable OpenBSD ksh, based on the Public Domain Korn Shell.
 %make_install
 install -D -p -m 0644 ksh.kshrc %{buildroot}%{_sysconfdir}/ksh.kshrc
 
+%check
+# Smoke test to ensure the shell compiles and executes correctly
+%{buildroot}%{_bindir}/oksh -c 'echo "Hello from oksh!"'
+
 %post
 if [ "$1" = 1 ]; then
     if [ ! -f %{_sysconfdir}/shells ] ; then

                 reply	other threads:[~2026-06-10  2:36 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=178105898478.1.5436381022148949497.rpms-oksh-b62dbd105c43@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