diff options
-rw-r--r-- | buildfct | 16 | ||||
-rwxr-xr-x | mkallrepo | 4 | ||||
-rw-r--r-- | mock/fc22i.cfg | 103 | ||||
-rw-r--r-- | mock/fc22it.cfg | 103 | ||||
-rw-r--r-- | mock/fc22x.cfg | 108 | ||||
-rw-r--r-- | mock/fc22xscl54.cfg | 110 | ||||
-rw-r--r-- | mock/fc22xscl55.cfg | 110 | ||||
-rw-r--r-- | mock/fc22xscl56.cfg | 110 | ||||
-rw-r--r-- | mock/fc22xt.cfg | 108 |
9 files changed, 765 insertions, 7 deletions
@@ -88,6 +88,12 @@ alias mockfc21xscl54=" mock --configdir=$mocketc -r fc21xscl54 alias mockfc21xscl55=" mock --configdir=$mocketc -r fc21xscl55 rebuild " alias mockfc21xscl56=" mock --configdir=$mocketc -r fc21xscl56 rebuild " +alias mockfc22i=" setarch i686 mock --configdir=$mocketc -r fc22i --arch i686 rebuild " +alias mockfc22x=" mock --configdir=$mocketc -r fc22x rebuild " +alias mockfc22xscl54=" mock --configdir=$mocketc -r fc22xscl54 rebuild " +alias mockfc22xscl55=" mock --configdir=$mocketc -r fc22xscl55 rebuild " +alias mockfc22xscl56=" mock --configdir=$mocketc -r fc22xscl56 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 " #alias mockel4x=" mock --configdir=$mocketc -r el4x rebuild " @@ -135,7 +141,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in $(seq 21 -1 18) + for i in $(seq 22 -1 18) do echo -n "$(date +%X) fc$i " setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" @@ -224,7 +230,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in $(seq 21 -1 20) + for i in $(seq 22 -1 20) do echo -n "$(date +%X) test-fc$i " setarch i686 mock $quiet --configdir=$mocketc -r fc${i}it --arch i686 rebuild $1 && echo " Ok." || echo " Error !" @@ -249,7 +255,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in $(seq 21 -1 18) + for i in $(seq 22 -1 18) do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -395,7 +401,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in $(seq 21 -1 19) + for i in $(seq 22 -1 19) do echo -n "$(date +%X) scl54 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl54 rebuild $1 && echo " Ok." || echo " Error !" @@ -421,7 +427,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in $(seq 21 -1 20) + for i in $(seq 22 -1 20) do echo -n "$(date +%X) test-fc$i " mock $quiet --configdir=$mocketc -r fc${i}xt rebuild $1 && echo " Ok." || echo " Error !" @@ -6,7 +6,7 @@ TMPLNK=$(mktemp) cd /home/rpmbuild/site/rpms #for dep in *.{i386,ppc,ppc64,x86_64} fedora/*/*/{i386,ppc,ppc64,x86_64} -for dep in fedora/{13,14,15,16,17,18,19,20,21}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} +for dep in fedora/{13,14,15,16,17,18,19,20,21,22}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} do arch=${dep##*/} @@ -51,7 +51,7 @@ else echo "Rien à lier." fi #for dep in *.{i386,ppc,ppc64,x86_64} fedora/*/*/{i386,ppc,ppc64,x86_64} -for dep in SRPMS fedora/{13,14,15,16,17,18,19,20,21}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} +for dep in SRPMS fedora/{13,14,15,16,17,18,19,20,21,22}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} do if [ -d $dep/repodata -a $dep -nt $dep/repodata -a ! -f $dep/.closed ] then echo "== Actualisation de $dep ==" diff --git a/mock/fc22i.cfg b/mock/fc22i.cfg new file mode 100644 index 0000000..028850b --- /dev/null +++ b/mock/fc22i.cfg @@ -0,0 +1,103 @@ +config_opts['root'] = 'fc22i' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc22' # only useful for --resultdir variable subst + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc22i/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc22i" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j6" +config_opts['macros']['%vendor']="Remi Collet" +config_opts['macros']['%packager']="http://blog.famillecollet.com/" +config_opts['macros']['%dist']=".fc22.remi" +config_opts['macros']['%fedora']="22" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=i386 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/22/Everything/i386/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/22/Everything/i386/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f22&arch=i386 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/22/i386/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/22/i386/ +# http://fr2.rpmfind.net/linux/fedora/updates/22/i386/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f22&arch=i386 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/22/i386/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/remi/i386/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/i386/ +enabled=1 + +[remi-test] +name=remi test +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/test/i386/ +enabled=0 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-22&arch=i386 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=i386 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=i386 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-22&arch=i386 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/fc22i/ +enabled=1 + +""" + diff --git a/mock/fc22it.cfg b/mock/fc22it.cfg new file mode 100644 index 0000000..435d490 --- /dev/null +++ b/mock/fc22it.cfg @@ -0,0 +1,103 @@ +config_opts['root'] = 'fc22i' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc22' # only useful for --resultdir variable subst + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc22i/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc22i" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j6" +config_opts['macros']['%vendor']="Remi Collet" +config_opts['macros']['%packager']="http://blog.famillecollet.com/" +config_opts['macros']['%dist']=".fc22.remi" +config_opts['macros']['%fedora']="22" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=i386 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/22/Everything/i386/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/22/Everything/i386/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f22&arch=i386 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/22/i386/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/22/i386/ +# http://fr2.rpmfind.net/linux/fedora/updates/22/i386/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f22&arch=i386 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/22/i386/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/remi/i386/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/i386/ +enabled=1 + +[remi-test] +name=remi test +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/test/i386/ +enabled=1 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-22&arch=i386 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=i386 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=i386 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-22&arch=i386 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/fc22i/ +enabled=1 + +""" + diff --git a/mock/fc22x.cfg b/mock/fc22x.cfg new file mode 100644 index 0000000..79b94f4 --- /dev/null +++ b/mock/fc22x.cfg @@ -0,0 +1,108 @@ +config_opts['root'] = 'fc22x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc22' # only useful for --resultdir variable subst + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc22x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc22x" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j6" +config_opts['macros']['%vendor']="Remi Collet" +config_opts['macros']['%packager']="http://blog.famillecollet.com/" +config_opts['macros']['%dist']=".fc22.remi" +config_opts['macros']['%fedora']="22" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/22/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/22/Everything/x86_64/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f22&arch=x86_64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/22/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/22/x86_64/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f22&arch=x86_64 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/22/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/remi/x86_64/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ +enabled=1 + +[remi-test] +name=remi test +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/test/x86_64/ +enabled=0 + +[remi-dev] +name=remi dev +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/devs/x86_64/ +enabled=0 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/fc22x/ +enabled=1 + +""" + diff --git a/mock/fc22xscl54.cfg b/mock/fc22xscl54.cfg new file mode 100644 index 0000000..d466922 --- /dev/null +++ b/mock/fc22xscl54.cfg @@ -0,0 +1,110 @@ +config_opts['root'] = 'scl54fc22x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php54-build' +config_opts['dist'] = 'fc22' # only useful for --resultdir variable subst + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc22x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/scl54fc22x" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j6" +config_opts['macros']['%vendor']="Remi Collet" +config_opts['macros']['%packager']="http://blog.famillecollet.com/" +config_opts['macros']['%dist']=".fc22.remi" +config_opts['macros']['%fedora']="22" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" +config_opts['macros']['%nophptag']="1" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/22/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/22/Everything/x86_64/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f22&arch=x86_64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/22/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/22/x86_64/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f22&arch=x86_64 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/22/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/remi/x86_64/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ +enabled=1 + +[remi-test] +name=remi test +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/test/x86_64/ +enabled=0 + +[remi-dev] +name=remi dev +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/devs/x86_64/ +enabled=0 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/scl54fc22x/ +enabled=1 + +""" diff --git a/mock/fc22xscl55.cfg b/mock/fc22xscl55.cfg new file mode 100644 index 0000000..51560a4 --- /dev/null +++ b/mock/fc22xscl55.cfg @@ -0,0 +1,110 @@ +config_opts['root'] = 'scl55fc22x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php55-build' +config_opts['dist'] = 'fc22' # only useful for --resultdir variable subst + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc22x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/scl55fc22x" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j6" +config_opts['macros']['%vendor']="Remi Collet" +config_opts['macros']['%packager']="http://blog.famillecollet.com/" +config_opts['macros']['%dist']=".fc22.remi" +config_opts['macros']['%fedora']="22" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" +config_opts['macros']['%nophptag']="1" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/22/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/22/Everything/x86_64/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f22&arch=x86_64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/22/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/22/x86_64/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f22&arch=x86_64 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/22/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/remi/x86_64/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ +enabled=1 + +[remi-test] +name=remi test +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/test/x86_64/ +enabled=0 + +[remi-dev] +name=remi dev +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/devs/x86_64/ +enabled=0 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/scl55fc22x/ +enabled=1 + +""" diff --git a/mock/fc22xscl56.cfg b/mock/fc22xscl56.cfg new file mode 100644 index 0000000..ba57f14 --- /dev/null +++ b/mock/fc22xscl56.cfg @@ -0,0 +1,110 @@ +config_opts['root'] = 'scl56fc22x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php56-build' +config_opts['dist'] = 'fc22' # only useful for --resultdir variable subst + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc22x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/scl56fc22x" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j6" +config_opts['macros']['%vendor']="Remi Collet" +config_opts['macros']['%packager']="http://blog.famillecollet.com/" +config_opts['macros']['%dist']=".fc22.remi" +config_opts['macros']['%fedora']="22" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" +config_opts['macros']['%nophptag']="1" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/22/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/22/Everything/x86_64/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f22&arch=x86_64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/22/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/22/x86_64/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f22&arch=x86_64 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/22/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/remi/x86_64/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ +enabled=1 + +[remi-test] +name=remi test +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/test/x86_64/ +enabled=0 + +[remi-dev] +name=remi dev +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/devs/x86_64/ +enabled=0 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/scl56fc22x/ +enabled=1 + +""" diff --git a/mock/fc22xt.cfg b/mock/fc22xt.cfg new file mode 100644 index 0000000..ea90eb0 --- /dev/null +++ b/mock/fc22xt.cfg @@ -0,0 +1,108 @@ +config_opts['root'] = 'fc22x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc22' # only useful for --resultdir variable subst + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc22x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc22x" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j6" +config_opts['macros']['%vendor']="Remi Collet" +config_opts['macros']['%packager']="http://blog.famillecollet.com/" +config_opts['macros']['%dist']=".fc22.remi" +config_opts['macros']['%fedora']="22" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/22/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/22/Everything/x86_64/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f22&arch=x86_64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/22/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/22/x86_64/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f22&arch=x86_64 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/22/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/remi/x86_64/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ +enabled=1 + +[remi-test] +name=remi test +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/test/x86_64/ +enabled=1 + +[remi-dev] +name=remi dev +baseurl=file:/home/rpmbuild/site/rpms/fedora/22/devs/x86_64/ +enabled=0 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-22&arch=x86_64 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/fc22x/ +enabled=1 + +""" + |