SPECS: sed_to_patch.pl - work offline
sparky
sparky at pld-linux.org
Thu Aug 3 21:16:38 CEST 2006
Author: sparky Date: Thu Aug 3 19:16:38 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- work offline
---- Files affected:
SPECS:
sed_to_patch.pl (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/sed_to_patch.pl
diff -u SPECS/sed_to_patch.pl:1.3 SPECS/sed_to_patch.pl:1.4
--- SPECS/sed_to_patch.pl:1.3 Thu Aug 3 04:04:19 2006
+++ SPECS/sed_to_patch.pl Thu Aug 3 21:16:33 2006
@@ -5,7 +5,6 @@
#
# TODO:
# - comments
-# - support cvs branches
# - place %patch correctly if there is %if
# - remove BR sed >= 4.0 if no more seds
#
@@ -14,7 +13,6 @@
my @patches;
-
my $spec = shift @ARGV or die "No spec file specified\n";
my $patch_name = shift @ARGV || "";
(my $pkgname = $spec) =~ s/\.spec$//;
@@ -91,7 +89,7 @@
close F_OUT;
unlink "sed_to_patch.srcdir";
-system( qw(./builder -bp sed_to_patch.pl.spec) );
+system( qw(./builder -nn -bp sed_to_patch.pl.spec) );
open F_IN, "sed_to_patch.srcdir" or die;
my $builddir = <F_IN>;
close F_IN;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/sed_to_patch.pl?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list