diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-03-25 08:24:43 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-03-25 08:24:43 +0100 |
commit | 7ad9ea45ab46fa4c14fb7d141c1b97c7e7fc34e4 (patch) | |
tree | 58224e9f40b03dd372d07c4de1a8f9357b5fdff5 | |
parent | b762a52c453d447d2b63dcfeb4abe44f71a9f7fc (diff) |
php70 metapackage + build stuff for new collection
-rw-r--r-- | buildfct | 1 | ||||
-rwxr-xr-x | getmock | 6 | ||||
-rw-r--r-- | mock/fc21xscl70.cfg | 110 |
3 files changed, 117 insertions, 0 deletions
@@ -87,6 +87,7 @@ alias mockfc21x=" mock --configdir=$mocketc -r fc21x alias mockfc21xscl54=" mock --configdir=$mocketc -r fc21xscl54 rebuild " alias mockfc21xscl55=" mock --configdir=$mocketc -r fc21xscl55 rebuild " alias mockfc21xscl56=" mock --configdir=$mocketc -r fc21xscl56 rebuild " +alias mockfc21xscl70=" mock --configdir=$mocketc -r fc21xscl70 rebuild " alias mockfc22i=" setarch i686 mock --configdir=$mocketc -r fc22i --arch i686 rebuild " alias mockfc22x=" mock --configdir=$mocketc -r fc22x rebuild " @@ -12,6 +12,9 @@ case $1 in ;; esac case $dep in +scl70el*) dep=${dep#scl70el} + type=enterprise + ;; scl56el*) dep=${dep#scl56el} type=enterprise ;; @@ -27,6 +30,9 @@ el*) dep=${dep#el} fc*) dep=${dep#fc} type=fedora ;; +scl70fc*) dep=${dep#scl70fc} + type=fedora + ;; scl56fc*) dep=${dep#scl56fc} type=fedora ;; diff --git a/mock/fc21xscl70.cfg b/mock/fc21xscl70.cfg new file mode 100644 index 0000000..8a0c2e6 --- /dev/null +++ b/mock/fc21xscl70.cfg @@ -0,0 +1,110 @@ +config_opts['root'] = 'scl70fc21x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php70-build php70-php-devel' +config_opts['dist'] = 'fc21' # 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.fc21x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/scl70fc21x" +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']=".fc21.remi" +config_opts['macros']['%fedora']="21" +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-21&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/21/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/21/Everything/x86_64/os/ + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f21&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/21/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/21/x86_64/ +enabled=1 + +[updates-testing] +name=updates-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f21&arch=x86_64 +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/21/x86_64/ +enabled=0 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/21/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/21/test/x86_64/ +enabled=1 + +[remi-dev] +name=remi dev +baseurl=file:/home/rpmbuild/site/rpms/fedora/21/devs/x86_64/ +enabled=0 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-21&arch=x86_64 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-21&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-21&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-21&arch=x86_64 +enabled=0 + +[result] +name=result +baseurl=file:/var/lib/mock/scl70fc21x/ +enabled=1 + +""" |