diff options
-rw-r--r-- | el7x80.cfg | 116 | ||||
-rw-r--r-- | el8x.tpl | 5 | ||||
-rw-r--r-- | el8x80.cfg | 31 | ||||
-rw-r--r-- | fc31x.tpl | 2 | ||||
-rw-r--r-- | fc31x80.cfg | 11 | ||||
-rw-r--r-- | fc32x.tpl | 2 | ||||
-rw-r--r-- | fc32x74.cfg | 11 | ||||
-rw-r--r-- | fc33x.cfg | 2 | ||||
-rw-r--r-- | fc33x.tpl | 2 | ||||
-rw-r--r-- | fc33x74.cfg | 11 |
10 files changed, 187 insertions, 6 deletions
diff --git a/el7x80.cfg b/el7x80.cfg new file mode 100644 index 0000000..6c65459 --- /dev/null +++ b/el7x80.cfg @@ -0,0 +1,116 @@ +include('el7x.tpl') + +config_opts['macros']['%dtsversion']="8" +config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-8/enable" +config_opts['macros']['%dtsprefix']="devtoolset-8-" + +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 +syslog_ident=mock +syslog_device= + +# repos +[rhel-7] +name=rhel-7 +baseurl=file:///mnt/rhel-7-x86_64/ +enabled=1 +exclude=libicu-devel + +[rc] +name=rc +baseurl=http://ftp.redhat.com/redhat/rhel/rc/7/Server/x86_64/os/ +enabled=0 + +[rc-optional] +name=rc-optional +baseurl=http://ftp.redhat.com/redhat/rhel/rc/7/Server-optional/x86_64/os/ +enabled=0 + +[centos-base] +name=BaseOS +mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os +failovermethod=priority +enabled=0 + +[centos-updates] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates +failovermethod=priority +enabled=0 + +[epel] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64 +failovermethod=priority +exclude=epel-rpm-macros +enabled=1 + +[epel-testing] +name=epel-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=x86_64 +failovermethod=priority +enabled=0 + +[remi] +name=remi public +baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/remi/x86_64/ +enabled=1 +exclude=php-pecl-* libicu-last-devel + +[remi-test] +name=remi test +baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/test/x86_64/ +enabled=0 + +[remi-php80] +name=remi php80 +baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php80/x86_64/ +enabled=1 + +[remi-priv] +name=remi prive +baseurl=file:///home/rpmbuild/site/rpms/priv/el7.x86_64/ +enabled=1 + +[rpmfusion-free] +name=rpmfusion-free +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-6&arch=x86_64 +enabled=0 + +[rpmfusion-free-updates] +name=rpmfusion-free-updates +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-6&arch=x86_64 +enabled=0 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/x86_64/ +cost=2000 +enabled=0 + +[result] +name=result +baseurl=file:///var/lib/mock/el7x/ +enabled=1 + +[centos-sclo-rh] +name=CentOS-7 - SCLo rh +baseurl=http://mirror.centos.org/centos/7/sclo/$basearch/rh/ +enabled=0 + +[msprod] +name=msprod +baseurl=https://packages.microsoft.com/rhel/7/prod/ +enabled=1 +includepkgs=msodbcsql17 + +""" + @@ -62,7 +62,8 @@ enabled=1 [epel] name=epel -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=x86_64 +;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=x86_64 +baseurl=https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/ failovermethod=priority exclude=epel-rpm-macros enabled=1 @@ -73,7 +74,7 @@ mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=playground-epel8&ar failovermethod=priority exclude=epel-rpm-macros includepkgs=GeoIP* -enabled=1 +enabled=0 [remi] name=remi public diff --git a/el8x80.cfg b/el8x80.cfg new file mode 100644 index 0000000..498e4aa --- /dev/null +++ b/el8x80.cfg @@ -0,0 +1,31 @@ +import datetime; + +include('el8x.tpl') + +config_opts['root'] = 'el8x80' +config_opts['resultdir'] = "/var/lib/mock/el8x80" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-7.4', 'redis:remi-5.0'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="php" +config_opts['macros']['%_module_stream']="remi-7.4" +config_opts['macros']['%_module_version']="80200" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[remi-php80] +name=remi php80 +baseurl=file:/home/rpmbuild/site/rpms/enterprise/8/php80/x86_64/ +enabled=0 +metadata_expire=15 + +[result-el8x80] +name=result-el8x +baseurl=file:/var/lib/mock/el8x80/ +metadata_expire=15 +enabled=1 + +""" @@ -1,6 +1,6 @@ config_opts['root'] = 'fc31x' config_opts['target_arch'] = 'x86_64' -config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache gcc' config_opts['dist'] = 'fc31' # only useful for --resultdir variable subst config_opts['extra_chroot_dirs'] = [ '/run/lock', ] config_opts['releasever'] = '31' diff --git a/fc31x80.cfg b/fc31x80.cfg new file mode 100644 index 0000000..9f7b3c2 --- /dev/null +++ b/fc31x80.cfg @@ -0,0 +1,11 @@ +include('fc31x.tpl') + +config_opts['yum.conf'] += """ +[remi-php80] +name=remi php80 +baseurl=file:/home/rpmbuild/site/rpms/fedora/31/php80/x86_64/ +enabled=1 +metadata_expire=1 + +""" + @@ -1,6 +1,6 @@ config_opts['root'] = 'fc32x' config_opts['target_arch'] = 'x86_64' -config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache gcc' config_opts['dist'] = 'fc32' # only useful for --resultdir variable subst config_opts['extra_chroot_dirs'] = [ '/run/lock', ] config_opts['releasever'] = '32' diff --git a/fc32x74.cfg b/fc32x74.cfg new file mode 100644 index 0000000..3e108c8 --- /dev/null +++ b/fc32x74.cfg @@ -0,0 +1,11 @@ +include('fc32x.tpl') + +config_opts['yum.conf'] += """ +[remi-php80] +name=remi php80 +baseurl=file:/home/rpmbuild/site/rpms/fedora/32/php80/x86_64/ +enabled=1 +metadata_expire=1 + +""" + @@ -1,5 +1,5 @@ include('fc33x.tpl') # Temp -# config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache php-devel php-pear' +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache php-devel php-pear' @@ -1,6 +1,6 @@ config_opts['root'] = 'fc33x' config_opts['target_arch'] = 'x86_64' -config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache gcc' config_opts['dist'] = 'fc33' # only useful for --resultdir variable subst config_opts['extra_chroot_dirs'] = [ '/run/lock', ] config_opts['releasever'] = '33' diff --git a/fc33x74.cfg b/fc33x74.cfg new file mode 100644 index 0000000..d160145 --- /dev/null +++ b/fc33x74.cfg @@ -0,0 +1,11 @@ +include('fc33x.tpl') + +config_opts['yum.conf'] += """ +[remi-php80] +name=remi php80 +baseurl=file:/home/rpmbuild/site/rpms/fedora/33/php80/x86_64/ +enabled=1 +metadata_expire=1 + +""" + |