diff options
author | Remi Collet <remi@remirepo.net> | 2023-08-30 13:26:22 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-08-30 13:26:22 +0200 |
commit | 50bfee1cfd193e46a868b28f551bb374da88715f (patch) | |
tree | 0ccf12ab051f82c337e9035bca614a2a688bc67b | |
parent | 4c69d8c7595f5d2b5f41ed84d2cc9d326995957a (diff) |
php 8.3 as base mock config
l--------- | el7x54.cfg | 1 | ||||
-rw-r--r-- | el7x83.cfg | 120 | ||||
-rw-r--r-- | el8x83.cfg | 28 | ||||
-rw-r--r-- | el9x83.cfg | 34 | ||||
-rw-r--r-- | fc37x83.cfg | 32 | ||||
-rw-r--r-- | fc38x83.cfg | 32 | ||||
-rw-r--r-- | fc39x.tpl | 2 | ||||
-rw-r--r-- | fc39x83.cfg | 32 |
8 files changed, 280 insertions, 1 deletions
diff --git a/el7x54.cfg b/el7x54.cfg new file mode 120000 index 0000000..869b8b9 --- /dev/null +++ b/el7x54.cfg @@ -0,0 +1 @@ +el7x.cfg
\ No newline at end of file diff --git a/el7x83.cfg b/el7x83.cfg new file mode 100644 index 0000000..29869af --- /dev/null +++ b/el7x83.cfg @@ -0,0 +1,120 @@ +include('el7x.tpl') + +config_opts['macros']['%dtsversion']="10" +config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-10/enable" +config_opts['macros']['%dtsprefix']="devtoolset-10-" + +config_opts['root'] = 'el7x83' +config_opts['resultdir'] = "/var/lib/mock/el7x83" + +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 +enabled=0 + +[centos-updates] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates +enabled=0 + +[epel] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64 +exclude=epel-rpm-macros +enabled=1 + +[epel-testing] +name=epel-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=x86_64 +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-php83] +name=remi php83 +baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php83/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 + +[result83] +name=result +baseurl=file:///var/lib/mock/el7x83/ +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=0 +includepkgs=msodbcsql17 + +""" + diff --git a/el8x83.cfg b/el8x83.cfg new file mode 100644 index 0000000..a5db247 --- /dev/null +++ b/el8x83.cfg @@ -0,0 +1,28 @@ +import datetime; + +include('el8x.tpl') + +config_opts['root'] = 'el8x83' +config_opts['resultdir'] = "/var/lib/mock/el8x83" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.3', 'redis:remi-7.0'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +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-8.3" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-el8x83] +name=result-el8x +baseurl=file:/var/lib/mock/el8x83/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True + +""" diff --git a/el9x83.cfg b/el9x83.cfg new file mode 100644 index 0000000..018395d --- /dev/null +++ b/el9x83.cfg @@ -0,0 +1,34 @@ +import datetime; + +include('el9x.tpl') + +config_opts['root'] = 'el9x83' +config_opts['resultdir'] = "/var/lib/mock/el9x83" + +config_opts['module_enable'] = ['php:remi-8.3', 'redis:remi-7.0'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +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-8.3" +config_opts['macros']['%_module_version']="90200" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[remi-php83] +name=remi php83 +baseurl=file:/home/rpmbuild/site/rpms/enterprise/9/php83/x86_64/ +enabled=0 +metadata_expire=15 + +[result-el9x83] +name=result-el9x +baseurl=file:/var/lib/mock/el9x83/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True + +""" diff --git a/fc37x83.cfg b/fc37x83.cfg new file mode 100644 index 0000000..a1e1407 --- /dev/null +++ b/fc37x83.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc37x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc37x83' +config_opts['resultdir'] = "/var/lib/mock/fc37x83" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37x83/" + +config_opts['module_enable'] = ['php:remi-8.3'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +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-8.3" +config_opts['macros']['%_module_version']="37" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc37x83] +name=result-fc37x83 +baseurl=file:/var/lib/mock/fc37x83/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc38x83.cfg b/fc38x83.cfg new file mode 100644 index 0000000..50b9fa7 --- /dev/null +++ b/fc38x83.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc38x83' +config_opts['resultdir'] = "/var/lib/mock/fc38x83" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38x83/" + +config_opts['module_enable'] = ['php:remi-8.3'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +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-8.3" +config_opts['macros']['%_module_version']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc38x83] +name=result-fc38x83 +baseurl=file:/var/lib/mock/fc38x83/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + @@ -70,7 +70,7 @@ name=updates-testing #metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f39&arch=x86_64 baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/39/Everything/x86_64/ -enabled=0 +enabled=1 [remi] name=remi public diff --git a/fc39x83.cfg b/fc39x83.cfg new file mode 100644 index 0000000..e574e15 --- /dev/null +++ b/fc39x83.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc39x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc39x83' +config_opts['resultdir'] = "/var/lib/mock/fc39x83" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39x83/" + +config_opts['module_enable'] = ['php:remi-8.3'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +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-8.3" +config_opts['macros']['%_module_version']="39" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc39x83] +name=result-fc39x83 +baseurl=file:/var/lib/mock/fc39x83/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + |