summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--buildfct6
-rwxr-xr-xgetmock16
2 files changed, 20 insertions, 2 deletions
diff --git a/buildfct b/buildfct
index 6eb7063..93314c8 100644
--- a/buildfct
+++ b/buildfct
@@ -1,6 +1,6 @@
alias rpmdate='LC_ALL="C" date +"%a %b %d %Y"'
-alias build='rpmbuild --define "_source_filedigest_algorithm 0" --define "_specdir $(pwd)" --define "_sourcedir $(pwd)"'
-alias msrpm='rpmbuild -bs --define "_source_filedigest_algorithm 0" --define "_specdir $(pwd)" --define "_sourcedir $(pwd)" --define "dist .remi" $(basename $(pwd)).spec'
+alias build='rpmbuild --define "_specdir $(pwd)" --define "_sourcedir $(pwd)"'
+alias msrpm='rpmbuild -bs --define "_specdir $(pwd)" --define "_sourcedir $(pwd)" --define "dist .remi" $(basename $(pwd)).spec'
alias rhpkg='echo NO PLEASE, use fedpkg'
mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock
@@ -49,12 +49,14 @@ alias mockfc25xscl55=" mock --configdir=$mocketc -r fc25xscl55
alias mockfc25xscl56=" mock --configdir=$mocketc -r fc25xscl56 rebuild "
alias mockfc25xscl70=" mock --configdir=$mocketc -r fc25xscl70 rebuild "
alias mockfc25xscl71=" mock --configdir=$mocketc -r fc25xscl71 rebuild "
+alias mockfc25xscl72=" mock --configdir=$mocketc -r fc25xscl72 rebuild "
alias mockfc26i=" setarch i686 mock --configdir=$mocketc -r fc26i --arch i686 rebuild "
alias mockfc26x=" mock --configdir=$mocketc -r fc26x rebuild "
alias mockfc26xscl56=" mock --configdir=$mocketc -r fc26xscl56 rebuild "
alias mockfc26xscl70=" mock --configdir=$mocketc -r fc26xscl70 rebuild "
alias mockfc26xscl71=" mock --configdir=$mocketc -r fc26xscl71 rebuild "
+alias mockfc26xscl72=" mock --configdir=$mocketc -r fc26xscl72 rebuild "
#alias mockel4i="setarch i686 mock --configdir=$mocketc -r el4i --arch i386 rebuild "
#alias mockel4it="setarch i686 mock --configdir=$mocketc -r el4it --arch i386 rebuild "
diff --git a/getmock b/getmock
index ad2ab70..005c8eb 100755
--- a/getmock
+++ b/getmock
@@ -12,6 +12,9 @@ case $1 in
;;
esac
case $dep in
+scl72el*) dep=${dep#scl72el}
+ type=enterprise
+ ;;
scl71el*) dep=${dep#scl71el}
type=enterprise
;;
@@ -33,6 +36,9 @@ el*) dep=${dep#el}
fc*) dep=${dep#fc}
type=fedora
;;
+scl72fc*) dep=${dep#scl72fc}
+ type=fedora
+ ;;
scl71fc*) dep=${dep#scl71fc}
type=fedora
;;
@@ -327,6 +333,16 @@ elif [ $1 = scl71 ]; then
getOneMock scl71el${i}x $opt
done
+elif [ $1 = scl72 ]; then
+ for i in 25 26
+ do
+ getOneMock scl72fc${i}x $opt
+ done
+# for i in 6 7
+# do
+# getOneMock scl72el${i}x $opt
+# done
+
else
for i in $*
do