public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/parallel] epel10: Merge branch 'rawhide' into epel10
@ 2026-10-31  1:51 Filipe Rosset
  0 siblings, 0 replies; 3+ messages in thread
From: Filipe Rosset @ 2026-10-31  1:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/parallel
Branch : epel10
Commit : 60ffb8f2d8e7333e45f47e85f2f8f6ae38752d17
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-10-30T22:51:07-03:00
Stats  : +3/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/parallel/c/60ffb8f2d8e7333e45f47e85f2f8f6ae38752d17?branch=epel10

Log:
Merge branch 'rawhide' into epel10

---
diff --git a/parallel.spec b/parallel.spec
index e998f06..a2c6f4a 100644
--- a/parallel.spec
+++ b/parallel.spec
@@ -1,6 +1,6 @@
 Name:           parallel
 Summary:        Shell tool for executing jobs in parallel
-Version:        20260922
+Version:        20261022
 Release:        %autorelease
 License:        GPL-3.0-or-later AND GFDL-1.3-or-later
 URL:            https://www.gnu.org/software/parallel/

diff --git a/sources b/sources
index d8e9e8e..2153886 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (parallel-20260922.tar.bz2) = ae7bcead31b3a068900c851fc48c0239cd39d7a8310ac7cbd885ab41bee4ff6e5786bcbfeafb31bb6f445ba4142a151a464f8f9fcfbd889909e503ef18b5ee56
-SHA512 (parallel-20260922.tar.bz2.sig) = ab8458003f417088908f974c770a03f6dac48d60f41a9c9ac8024f21abab5305ae88f2c458cc0bae584540435769637319d1991a1ae9c63ac5b768494370466f
+SHA512 (parallel-20261022.tar.bz2) = 69a0ea3795bb606c9275fa37a0eca9896a488d43755498543d874a5fb0e312eb00e7f219281051eaaa32525393e41bdd8c72658cbb7e1e59de03a6000e94c652
+SHA512 (parallel-20261022.tar.bz2.sig) = 113c4f24ff04a54d9b9c1f89adf8da05b1961db0e69d23451595422085943d9f9210a3d218585245f34f137c9a1907370728a816a769e3981a8338bdae95bdc5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [rpms/parallel] epel10: Merge branch 'rawhide' into epel10
@ 2026-10-18 20:17 Filipe Rosset
  0 siblings, 0 replies; 3+ messages in thread
From: Filipe Rosset @ 2026-10-18 20:17 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/parallel
Branch : epel10
Commit : 5ca07be1b06c9b5012b445f2181294271f7d7f8a
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-10-18T17:17:36-03:00
Stats  : +482/-5 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/parallel/c/5ca07be1b06c9b5012b445f2181294271f7d7f8a?branch=epel10

Log:
Merge branch 'rawhide' into epel10

---
diff --git a/README.packit b/README.packit
index 72ae4cd..41bc266 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.16.2.post1.dev18+g099fa292c.
+The file was generated using packit 1.16.3.post1.dev11+g14b012ef4.

diff --git a/env_parallel-config-dir-precedence.patch b/env_parallel-config-dir-precedence.patch
new file mode 100644
index 0000000..0dafe03
--- /dev/null
+++ b/env_parallel-config-dir-precedence.patch
@@ -0,0 +1,473 @@
+--- a/src/env_parallel.bash
++++ b/src/env_parallel.bash
+@@ -334,7 +334,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -416,10 +427,24 @@
+     if perl -e 'exit grep { /^--record-?env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            # Create the directory if it does not exist
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > "$HOME"/.parallel/ignored_vars
++	    cat > "$_parallel_config_dir_SH"/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+ 
+--- a/src/env_parallel.zsh
++++ b/src/env_parallel.zsh
+@@ -334,7 +334,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -416,10 +427,24 @@
+     if perl -e 'exit grep { /^--record-?env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            # Create the directory if it does not exist
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > "$HOME"/.parallel/ignored_vars
++	    cat > "$_parallel_config_dir_SH"/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+ 
+--- a/src/env_parallel.ksh
++++ b/src/env_parallel.ksh
+@@ -334,7 +334,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -416,10 +427,24 @@
+     if perl -e 'exit grep { /^--record-?env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            # Create the directory if it does not exist
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > "$HOME"/.parallel/ignored_vars
++	    cat > "$_parallel_config_dir_SH"/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+ 
+--- a/src/env_parallel.sh
++++ b/src/env_parallel.sh
+@@ -334,7 +334,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -416,10 +427,24 @@
+     if perl -e 'exit grep { /^--record-?env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            # Create the directory if it does not exist
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > "$HOME"/.parallel/ignored_vars
++	    cat > "$_parallel_config_dir_SH"/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+ 
+--- a/src/env_parallel.ash
++++ b/src/env_parallel.ash
+@@ -334,7 +334,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -416,10 +427,24 @@
+     if perl -e 'exit grep { /^--record-?env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            # Create the directory if it does not exist
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > "$HOME"/.parallel/ignored_vars
++	    cat > "$_parallel_config_dir_SH"/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+ 
+--- a/src/env_parallel.dash
++++ b/src/env_parallel.dash
+@@ -334,7 +334,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -416,10 +427,24 @@
+     if perl -e 'exit grep { /^--record-?env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            # Create the directory if it does not exist
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > "$HOME"/.parallel/ignored_vars
++	    cat > "$_parallel_config_dir_SH"/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+ 
+--- a/src/env_parallel.mksh
++++ b/src/env_parallel.mksh
+@@ -334,7 +334,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -416,10 +427,24 @@
+     if perl -e 'exit grep { /^--record-?env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            # Create the directory if it does not exist
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > "$HOME"/.parallel/ignored_vars
++	    cat > "$_parallel_config_dir_SH"/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+ 
+--- a/src/env_parallel.pdksh
++++ b/src/env_parallel.pdksh
+@@ -76,7 +76,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -127,10 +138,23 @@
+     if perl -e 'exit grep { /^--record-env$/ } @ARGV' -- "$@"; then
+ 	true skip
+     else
++	_parallel_config_dir_SH=$(perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            -d $dir or mkdir $dir;
++            print $dir;
++        ')
+ 	(_names_of_ALIASES;
+ 	 _names_of_FUNCTIONS;
+ 	 _names_of_VARIABLES) |
+-	    cat > $HOME/.parallel/ignored_vars
++	    cat > $_parallel_config_dir_SH/ignored_vars
++	unset _parallel_config_dir_SH
+ 	return 0
+     fi
+     
+--- a/src/env_parallel.fish
++++ b/src/env_parallel.fish
+@@ -80,7 +80,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+@@ -100,9 +111,22 @@
+       # --record-env
+       perl -e 'exit grep { /^--record-env$/ } @ARGV' -- $argv; or begin;
+         begin;
++          set _parallel_config_dir_FISH (perl -e '
++            my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++            my @dirs = grep { -d $_ }
++                ($ENV{PARALLEL_HOME},
++                 (map { "$_/parallel" }
++                  $xdg_config_home,
++                  split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                 $ENV{HOME} . "/.parallel");
++            my $dir = $dirs[0] || $ENV{HOME} . "/.parallel";
++            -d $dir or mkdir $dir;
++            print $dir;
++        ');
+ 	  functions -n | perl -pe 's/,/\n/g';
+ 	  set -n;
+-	end | cat > $HOME/.parallel/ignored_vars;
++	end | cat > $_parallel_config_dir_FISH/ignored_vars;
++          set -e _parallel_config_dir_FISH;
+       end;
+ 
+       # Export function definitions
+--- a/src/env_parallel.csh
++++ b/src/env_parallel.csh
+@@ -70,7 +70,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {
+--- a/src/env_parallel.tcsh
++++ b/src/env_parallel.tcsh
+@@ -71,7 +71,18 @@
+                 $next_is_env=/^--env$/;
+             }
+             if(grep { /^_$/ } @envvar) {
+-                if(not open(IN, "<", "$ENV{HOME}/.parallel/ignored_vars")) {
++                
++            sub _parallel_config_dir {
++                my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $ENV{HOME} . "/.config";
++                my @dirs = grep { -d $_ }
++                    ($ENV{PARALLEL_HOME},
++                     (map { "$_/parallel" }
++                      $xdg_config_home,
++                      split(/:/, $ENV{XDG_CONFIG_DIRS} // "")),
++                     $ENV{HOME} . "/.parallel");
++                return $dirs[0] || $ENV{HOME} . "/.parallel";
++            }
++            if(not open(IN, "<", _parallel_config_dir() . "/ignored_vars")) {
+              	    print STDERR "parallel: Error: ",
+             	    "Run \"parallel --record-env\" in a clean environment first.\n";
+                 } else {

diff --git a/parallel.spec b/parallel.spec
index 8a417c8..e998f06 100644
--- a/parallel.spec
+++ b/parallel.spec
@@ -1,12 +1,16 @@
 Name:           parallel
 Summary:        Shell tool for executing jobs in parallel
-Version:        20260822
+Version:        20260922
 Release:        %autorelease
 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
 Source2:        cda01a4208c4f74506107e7bd1ab451688888888.asc
+# Fix env_parallel to use the same config directory precedence as parallel
+# (PARALLEL_HOME, XDG_CONFIG_HOME/parallel, XDG_CONFIG_DIRS/parallel, ~/.parallel)
+# Resolves: rhbz#2521562
+Patch0:         env_parallel-config-dir-precedence.patch
 BuildArch:      noarch
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -47,7 +51,7 @@ additional features.
 
 %prep
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
-%autosetup
+%autosetup -p1
 # Fix shebangs in env_parallel scripts to use direct interpreter paths instead of env
 sed -i '1s:/env :/:' src/env_parallel.*
 

diff --git a/sources b/sources
index a1cff5f..d8e9e8e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (parallel-20260822.tar.bz2) = 48dbd81d90ef51293709b79310a81cf6a0dda8ccaa0d95cf7031ff9501db658951ce7a303e192cb3ed14fb1c72894bfe243426a8f465406141d470a486aab9cc
-SHA512 (parallel-20260822.tar.bz2.sig) = be2323364ee5615adc07dda70c2e931500da98f1cb19b5c7ec31fcaf1b556a16f6b9d92dbc569c5d3ebd267a1bf661a7fd896a8e8538ffd5fc1d3ec7d225b2da
+SHA512 (parallel-20260922.tar.bz2) = ae7bcead31b3a068900c851fc48c0239cd39d7a8310ac7cbd885ab41bee4ff6e5786bcbfeafb31bb6f445ba4142a151a464f8f9fcfbd889909e503ef18b5ee56
+SHA512 (parallel-20260922.tar.bz2.sig) = ab8458003f417088908f974c770a03f6dac48d60f41a9c9ac8024f21abab5305ae88f2c458cc0bae584540435769637319d1991a1ae9c63ac5b768494370466f

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [rpms/parallel] epel10: Merge branch 'rawhide' into epel10
@ 2026-08-31 19:10 Filipe Rosset
  0 siblings, 0 replies; 3+ messages in thread
From: Filipe Rosset @ 2026-08-31 19:10 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/parallel
Branch : epel10
Commit : 9b609192523e77232cdeaea2db8d4c39551465ed
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-08-31T16:10:06-03:00
Stats  : +14/-21 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/parallel/c/9b609192523e77232cdeaea2db8d4c39551465ed?branch=epel10

Log:
Merge branch 'rawhide' into epel10

---
diff --git a/.packit.yaml b/.packit.yaml
index a7925c5..567e4ae 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -9,20 +9,11 @@ jobs:
   - job: pull_from_upstream
     trigger: release
     dist_git_branches:
-      - epel-all
-      - fedora-all
+      - fedora-rawhide
 
   - job: koji_build
     trigger: commit
     allowed_committers: ['packit','all_admins']
     dist_git_branches:
-      - epel-all
-      - fedora-all
-
-  - job: bodhi_update
-    trigger: commit
-    allowed_builders: ['packit','all_users']
-    dist_git_branches:
-      - fedora-branched
-      - epel-branched
+      - fedora-rawhide
 

diff --git a/README.packit b/README.packit
index 173195e..72ae4cd 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.16.1.post1.dev2+gf84fe2d5b.
+The file was generated using packit 1.16.2.post1.dev18+g099fa292c.

diff --git a/parallel.spec b/parallel.spec
index 8f54348..8a417c8 100644
--- a/parallel.spec
+++ b/parallel.spec
@@ -1,9 +1,8 @@
 Name:           parallel
 Summary:        Shell tool for executing jobs in parallel
-Version:        20260722
+Version:        20260822
 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

diff --git a/sources b/sources
index 7ed8c70..a1cff5f 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (parallel-20260722.tar.bz2) = d25139f6afa0ed5571845499e5e57b8dec314263981b7bbf729b9d58f155d9a1e842b410af37ad37c9cca52f9c7e15c54a124a16731b75bf37dfe7077d70c1ea
-SHA512 (parallel-20260722.tar.bz2.sig) = 265270032807992a6be55296a233c73d19f9f3a9dabe3a0c6a253ff98cdc267e441abd9b8b8a522d6aa45d39caacb80749d7b46fe8c6f22c9aa6bf4b06adfccb
+SHA512 (parallel-20260822.tar.bz2) = 48dbd81d90ef51293709b79310a81cf6a0dda8ccaa0d95cf7031ff9501db658951ce7a303e192cb3ed14fb1c72894bfe243426a8f465406141d470a486aab9cc
+SHA512 (parallel-20260822.tar.bz2.sig) = be2323364ee5615adc07dda70c2e931500da98f1cb19b5c7ec31fcaf1b556a16f6b9d92dbc569c5d3ebd267a1bf661a7fd896a8e8538ffd5fc1d3ec7d225b2da

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-31  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31  1:51 [rpms/parallel] epel10: Merge branch 'rawhide' into epel10 Filipe Rosset
  -- strict thread matches above, loose matches on Subject: below --
2026-10-18 20:17 Filipe Rosset
2026-08-31 19:10 Filipe Rosset

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