git://git.jankratochvil.net
/
macros.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix architecture detection by RPM vars: "_arch" -> "_target_cpu"
[macros.git]
/
AutoGen.pm
diff --git
a/AutoGen.pm
b/AutoGen.pm
index
af3ffe1
..
3294492
100644
(file)
--- a/
AutoGen.pm
+++ b/
AutoGen.pm
@@
-173,7
+173,7
@@
my($class,%args)=@_;
));
_system "make dist-tarZ" if $Options{"dist-tarZ"};
_move _rpmeval("_srcrpmdir")."/$name-*.src.rpm",".";
));
_system "make dist-tarZ" if $Options{"dist-tarZ"};
_move _rpmeval("_srcrpmdir")."/$name-*.src.rpm",".";
- _move _rpmeval("_rpmdir")."/"._rpmeval("_
arch")."/$name-*."._rpmeval("_arch
").".rpm",".";
+ _move _rpmeval("_rpmdir")."/"._rpmeval("_
target_cpu")."/$name-*."._rpmeval("_target_cpu
").".rpm",".";
_system "ls -l $name-*";
exit 0; # should never return
}
_system "ls -l $name-*";
exit 0; # should never return
}