diff --git a/.gitignore b/.gitignore index 6151ca8..ee2117b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/parallel-20190922.tar.bz2 +SOURCES/parallel-20241222.tar.bz2 diff --git a/.parallel.metadata b/.parallel.metadata index 2c36cea..4980d24 100644 --- a/.parallel.metadata +++ b/.parallel.metadata @@ -1 +1 @@ -cb827e2e5a3ab4d8ad68a7fd316243d7bb8e53b6 SOURCES/parallel-20190922.tar.bz2 +384aac907986b21578671ec344fedfd2706ab28a SOURCES/parallel-20241222.tar.bz2 diff --git a/SPECS/parallel.spec b/SPECS/parallel.spec index b8e8bc5..d9ee238 100644 --- a/SPECS/parallel.spec +++ b/SPECS/parallel.spec @@ -1,16 +1,30 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + Name: parallel Summary: Shell tool for executing jobs in parallel -Version: 20190922 -Release: 1%{?dist} - -License: GPLv3+ -URL: http://www.gnu.org/software/parallel/ -Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 - +Version: 20241222 +Release: %autorelease +# Automatically converted from old format: GFDL and GPLv3+ - review is highly recommended. +License: LicenseRef-Callaway-GFDL AND GPL-3.0-or-later +URL: https://www.gnu.org/software/parallel/ +Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 BuildArch: noarch - +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: make BuildRequires: perl-generators -BuildRequires: %{_bindir}/pod2man +BuildRequires: perl-podlators +BuildRequires: sed + +%define __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 @@ -38,42 +52,155 @@ additional features. %prep %autosetup +# Replace shebang by replacing "env" by removing "env ". +# FIXME: this is quite a hack +sed -i '1s:/env :/:' src/env_parallel.* %build -%configure +autoreconf -ivf +%configure %make_build %install %make_install rm -vrf %{buildroot}%{_pkgdocdir} -sed -i -e '1s|!#/usr/bin/env perl|#!%{__perl}|' %{buildroot}%{_bindir}/* -# FIXME: do it properly -sed -i -e '1{\@^#!@d}' %{buildroot}%{_bindir}/env_parallel.* -chmod -x %{buildroot}%{_bindir}/env_parallel.* %files -%license COPYING +%license LICENSES/GPL-3.0-or-later.txt LICENSES/GFDL-1.3-or-later.txt %doc README NEWS %{_bindir}/parallel %{_bindir}/parcat %{_bindir}/parset +%{_bindir}/parsort %{_mandir}/man1/parallel.1* %{_mandir}/man1/parcat.1* %{_mandir}/man1/parset.1* +%{_mandir}/man1/parsort.1* %{_mandir}/man7/parallel* -%exclude %{_bindir}/env_parallel* -%exclude %{_mandir}/man1/env_parallel.1* +%{_bindir}/env_parallel* +%{_mandir}/man1/env_parallel.1* %{_bindir}/sem %{_mandir}/man1/sem.1* %{_bindir}/sql %{_mandir}/man1/sql.1* %{_bindir}/niceload %{_mandir}/man1/niceload.1* +%{_datadir}/bash-completion/completions/parallel +%{_datadir}/zsh/site-functions/_parallel %changelog -* Mon Mar 25 2024 Sergey Cherevko - 20190922-1 +## START: Generated by rpmautospec +* Wed Dec 25 2024 Filipe Rosset - 20241222-3 +- trying to fix parallel build for epel8 + +* Tue Dec 24 2024 Filipe Rosset - 20241222-1 +- update parallel to 20241222 + +* Mon Sep 23 2024 Filipe Rosset - 20240922-2 +- update parallel to 20240922 + +* Mon Sep 23 2024 Filipe Rosset - 20240922-1 +- update parallel to 20240922 + +* Mon Sep 16 2024 Filipe Rosset - 20240822-1 +- update parallel to 20240822 + +* Mon Sep 02 2024 Miroslav Suchý - 20240722-2 +- convert license to SPDX + +* Wed Aug 14 2024 Filipe Rosset - 20240722-1 +- update parallel to 20240722 + +* Thu Jul 18 2024 Fedora Release Engineering - 20240622-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jul 15 2024 Filipe Rosset - 20240622-1 +- update to 20240622 fixes rbhz#2267428 + +* Mon Mar 25 2024 Sergey Cherevko - 20230822-3 - Rebuilt for MSVSphere 8.9 +* Thu Jan 25 2024 Fedora Release Engineering - 20230822-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 20230822-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Sep 09 2023 Filipe Rosset - 20230822-1 +- update to parallel-20230822 + +* Sun Jul 30 2023 Filipe Rosset - 20230722-1 +- update to 20230722 + +* Thu Jul 20 2023 Fedora Release Engineering - 20230522-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 09 2023 Filipe Rosset - 20230522-1 +- update to 20230522 + +* Tue May 02 2023 Filipe Rosset - 20230422-2 +- update parallel to 20230422 + +* Tue May 02 2023 Filipe Rosset - 20230422-1 +- update parallel to 20230422 + +* Fri Mar 31 2023 Filipe Rosset - 20230322-1 +- update to 20230322 + +* Sun Feb 19 2023 Filipe Rosset - 20230122-1 +- update to 20230122 + +* Thu Jan 19 2023 Fedora Release Engineering - 20221122-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Nov 24 2022 Filipe Rosset - 20221122-1 +- updated to latest version + +* Mon Oct 24 2022 Filipe Rosset - 20221022-1 +- update to 20221022 + +* Sat Sep 24 2022 Filipe Rosset - 20220922-1 +- Update to 20220922 + +* Tue Aug 23 2022 Filipe Rosset - 20220822-1 +- update to 20220822 + +* Fri Jul 22 2022 Fedora Release Engineering - 20220322-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Mar 30 2022 Filipe Rosset - 20220322-1 +- update to 20220322 + +* Thu Jan 20 2022 Fedora Release Engineering - 20211222-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 05 2022 Jirka Hladky - 20211222-2 +- Remove all shell dependencies + +* Thu Jul 22 2021 Fedora Release Engineering - 20201222-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 20201222-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Jan 16 2021 Filipe Rosset - 20201222-1 +- Update to 20201222 + +* Mon Aug 17 2020 Filipe Rosset - 20200722-1 +- Update to 20200722 + +* Tue Jul 28 2020 Fedora Release Engineering - 20200522-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Filipe Rosset - 20200522-1 +- Update to 20200522 + +* Wed Apr 22 2020 Filipe Rosset - 20200322-1 +- Update to 20200322 fixes rhbz#1740919 + +* Wed Jan 29 2020 Fedora Release Engineering - 20190922-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Oct 16 2019 Jirka Hladky - 20190922-1 - Update to 20190922 @@ -157,3 +284,5 @@ chmod -x %{buildroot}%{_bindir}/env_parallel.* - Added a comment to the description, concerning the moreutils compatibility * Sun Feb 6 2011 Golo Fuchert - 20110205-1 - Initial package. Based on a package by Ole Tange and Markus Ammer. + +## END: Generated by rpmautospec