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/parallel] rawhide: add a smoke test to silent rpmlint
Date: Wed, 10 Jun 2026 02:56:33 GMT	[thread overview]
Message-ID: <178106019324.1.3856862322630124130.rpms-parallel-0234c0c77b25@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/parallel
            Branch : rawhide
            Commit : 0234c0c77b253e0638cd091d113843708b413fa2
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-09T23:39:31-03:00
            Stats  : +8/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/parallel/c/0234c0c77b253e0638cd091d113843708b413fa2?branch=rawhide

            Log:
            add a smoke test to silent rpmlint

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

---
diff --git a/parallel.spec b/parallel.spec
index fc08fb4..1dd3b8d 100644
--- a/parallel.spec
+++ b/parallel.spec
@@ -2,8 +2,7 @@ Name:           parallel
 Summary:        Shell tool for executing jobs in parallel
 Version:        20260522
 Release:        %autorelease
-# Automatically converted from old format: GFDL and GPLv3+ - review is highly recommended.
-License:        LicenseRef-Callaway-GFDL AND GPL-3.0-or-later
+License:        GPL-3.0-or-later AND GFDL-1.3-or-later
 URL:            https://www.gnu.org/software/parallel/
 Source0:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
 Source1:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2.sig
@@ -13,13 +12,14 @@ BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  make
 BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
 BuildRequires:  perl-podlators
 BuildRequires:  perl(FileHandle)
 BuildRequires:  sed
 # for gpg verification
-BuildRequires: gnupg2
+BuildRequires:  gnupg2
 
-%define __requires_exclude sh$
+%global __requires_exclude sh$
 
 # Due to a naming conflict, both packages cannot be installed in parallel
 # To prevent user confusion, GNU parallel is installed in a compatibility
@@ -48,8 +48,7 @@ additional features.
 %prep
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %autosetup
-# Replace shebang by replacing "env" by removing "env ".
-# FIXME: this is quite a hack
+# Fix shebangs in env_parallel scripts to use direct interpreter paths instead of env
 sed -i '1s:/env :/:' src/env_parallel.*
 
 %build
@@ -61,6 +60,9 @@ autoreconf -ivf
 %make_install
 rm -vrf %{buildroot}%{_pkgdocdir}
 
+%check
+%{buildroot}%{_bindir}/parallel --version
+
 %files
 %license LICENSES/GPL-3.0-or-later.txt LICENSES/GFDL-1.3-or-later.txt
 %doc README NEWS

                 reply	other threads:[~2026-06-10  2:56 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=178106019324.1.3856862322630124130.rpms-parallel-0234c0c77b25@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