[projects/distfiles] Handle -b option for patchset_source (but for now do nothing with it).
arekm
arekm at pld-linux.org
Sat Oct 11 23:25:58 CEST 2025
commit b6f3f6176082636cea742a10067916a3090b0040
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Oct 11 23:25:49 2025 +0200
Handle -b option for patchset_source (but for now do nothing with it).
specparser.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/specparser.pl b/specparser.pl
index 510fbc5..acf789d 100755
--- a/specparser.pl
+++ b/specparser.pl
@@ -127,10 +127,11 @@ sub preparse_spec($) # {{{
} elsif (my ($patchset) = /^%patchset_source\s+(.+)$/) {
use Getopt::Long qw(GetOptionsFromString);
my ($f, $s);
- my ($ret, $args) = GetOptionsFromString($patchset, 's=s' => \$s, 'f=s' => \$f);
+ my ($ret, $args) = GetOptionsFromString($patchset, 's=s' => \$s, 'f=s' => \$f, 'b=s' => \$b);
%patchset = (
pattern => $f,
filelist => $s,
+ min_patch_nr => $b,
start => $args->[0],
end => $args->[1],
);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/distfiles.git/commitdiff/b6f3f6176082636cea742a10067916a3090b0040
More information about the pld-cvs-commit
mailing list