public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/parallel] rawhide: add a smoke test to silent rpmlint
@ 2026-06-10 2:56 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-10 2:56 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 2:56 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:56 [rpms/parallel] rawhide: add 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