public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/oksh] rawhide: added a smoke test to silent rpmlint
@ 2026-06-10  2:36 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-10  2:36 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-06-10  2:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10  2:36 [rpms/oksh] rawhide: added a smoke test to silent rpmlint Filipe Rosset

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