git://git.jankratochvil.net
/
macros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a597f
)
Fixed rpm build if '%configure' specified in .spec file w/o any arguments.
author
short
<>
Thu, 10 Jul 2003 11:39:05 +0000
(11:39 +0000)
committer
short
<>
Thu, 10 Jul 2003 11:39:05 +0000
(11:39 +0000)
AutoGen.pm
patch
|
blob
|
history
diff --git
a/AutoGen.pm
b/AutoGen.pm
index
1fad581
..
a7f223f
100644
(file)
--- a/
AutoGen.pm
+++ b/
AutoGen.pm
@@
-159,7
+159,7
@@
my($class,%args)=@_;
$spec=~s/\\\n/ /gs;
$class->run(%Options,
"ARGV"=>["--copy"],
- "configure_args"=>[split /\s+/,($spec=~/^
%configure\s+
(.*)$/m)[0]],
+ "configure_args"=>[split /\s+/,($spec=~/^
[%]configure\b[ \t]*
(.*)$/m)[0]],
);
_remove "ChangeLog"; # force its rebuild by Makefile/rcs2log
_system "make dist $name.spec";