git://git.jankratochvil.net
/
massrebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2d73156
)
runone: nc=nocommon
author
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sat, 5 Sep 2020 17:27:34 +0000
(19:27 +0200)
committer
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sat, 5 Sep 2020 17:27:34 +0000
(19:27 +0200)
runone
patch
|
blob
|
history
diff --git
a/runone
b/runone
index
3a06d7d
..
70746e9
100755
(executable)
--- a/
runone
+++ b/
runone
@@
-50,19
+50,19
@@
for pkg in "$@";do
continue
fi
# if not pkg.endswith('.rpm'): log.error("%s doesn't appear to be an rpm - skipping", pkg)
continue
fi
# if not pkg.endswith('.rpm'): log.error("%s doesn't appear to be an rpm - skipping", pkg)
- mv -f resultdir/*.src.rpm ../$srcrpm.
dt
.rpm
+ mv -f resultdir/*.src.rpm ../$srcrpm.
nc
.rpm
cd ..
cd ..
- test -e $srcrpm.dt.rpm
- ln $srcrpm.dt.rpm $srcrpm.dt5.rpm
+ test -e $srcrpm.nc.rpm
rm -rf $srcrpm.d
rm -rf $srcrpm.d
- for ext in "" ".
dt.rpm" ".dt5
.rpm";do
+ for ext in "" ".
nc
.rpm";do
resultdir=$PWD/$srcrpm$ext.resultdir
test ! -e $resultdir
set +e
# --chain instead of --rebuild as otherwise -a does not work
$mock --resultdir=$resultdir --nocheck $(
resultdir=$PWD/$srcrpm$ext.resultdir
test ! -e $resultdir
set +e
# --chain instead of --rebuild as otherwise -a does not work
$mock --resultdir=$resultdir --nocheck $(
- if [ "$ext" = ".dt.rpm" ];then echo -a https://www.jankratochvil.net/t/rpmdts/ ;fi
- if [ "$ext" = ".dt5.rpm" ];then echo -a https://www.jankratochvil.net/t/rpmdts5/;fi
+ if [ "$ext" = ".nc.rpm" ];then echo -a https://www.jankratochvil.net/t/nocommon/;fi
+ if [ "$ext" = ".dt.rpm" ];then echo -a https://www.jankratochvil.net/t/rpmdts/ ;fi
+ if [ "$ext" = ".dt5.rpm" ];then echo -a https://www.jankratochvil.net/t/rpmdts5/ ;fi
) --chain $srcrpm$ext &>$srcrpm$ext.mocklog
mockrc=$?
set -e
) --chain $srcrpm$ext &>$srcrpm$ext.mocklog
mockrc=$?
set -e