Release together with mock-core-configs-30.1 which has these changes:

  • Added repositories for Fedora 30 (and Fedora 31 repos now points to rawhide).

  • distribution-gpg-keys for rhel8beta is being installed directly from Koji, because EPEL8 does not exist yet.

  • Fedora 27 config has been moved to eol directory.

  • gpgcheck is enabled for testing and debuginfo now.

  • Fedoras 29+ have included modular repos now. Additionally, there is now module_platform_id defined in these configs, which allows you to install modules without errors.

Mock new features:

  • All mock configs are parsed and evaluated by Jinja2. Here is small example how it can be used:
# define your own config variable
config_opts['fedora_number'] = '30'
config_opts['root'] = 'fedora-{{ fedora_number }}-x86_64'
config_opts['dist'] = 'fc{{ fedora_number }}'

Another - more general - example from site-defaults.cfg:

# You can use jinja templates, e.g.:
# config_opts['foobar'] = '{{ foo }} bar'
# which will result in 'bar bar' (using value defined few lines above)
# more complicated example:
# config_opts['foo'] = "{{ plugin_conf['package_state_enable'] }}"
# which will result in "True"

This feature can simplify mock's configs in the future. I intentionally did not use it now, because it is too fresh. Please experiment with this feature on your own and report any error or issues. If there would be none, then I will start using it in main configs.

  • Use 32-bit personality for armv7/armv8 builds.

  • You can now specify decompress program for root_cache. This is new default in site-defaults.cfg GH#230:

## decompress_program is needed only for bsdtar, otherwise `compress_program` with `-d` is used
## for bsdtar use "unpigz" or "gunzip"
# config_opts['plugin_conf']['root_cache_opts']['decompress_program'] = "pigz"

Bugfixes:

  • Added Scientific Linux on the list of RHEL clones GH#228

  • Fixed exclude pattern for BSDTar GH#219

  • There used to be living part of site-defaults.cfg:

config_opts['bootstrap_chroot_additional_packages'] = []
config_opts['bootstrap_module_enable'] = []
config_opts['bootstrap_module_install'] = []

This is now commented out by default, and the defaults are set in mock code. You can still override it in site-defaults.cfg.

This update has been submitted for testing by msuchy.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon ngompa commented & provided feedback 2 years ago
karma

Works for me.

User Icon lslebodn commented & provided feedback 2 years ago
karma

-1

[root@70994cb94028 ~]# yum update --enablerepo=epel-testing -y
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: tux.rainside.sk
 * epel: download.eng.brq.redhat.com
 * epel-testing: mirror.nextlayer.at
 * extras: tux.rainside.sk
 * updates: ftp.upjs.sk
Resolving Dependencies
--> Running transaction check
---> Package distribution-gpg-keys.noarch 0:1.28-1.el7 will be updated
---> Package distribution-gpg-keys.noarch 0:1.29-1.el7 will be an update
---> Package mock.noarch 0:1.4.13-1.el7 will be updated
---> Package mock.noarch 0:1.4.14-1.el7 will be an update
--> Processing Dependency: python2-jinja2 for package: mock-1.4.14-1.el7.noarch
---> Package mock-core-configs.noarch 0:29.4-1.el7 will be updated
---> Package mock-core-configs.noarch 0:30.1-1.el7 will be an update
--> Finished Dependency Resolution
Error: Package: mock-1.4.14-1.el7.noarch (epel-testing)
           Requires: python2-jinja2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@70994cb94028 ~]# repoquery --whatprovides python2-jinja2
[root@70994cb94028 ~]# repoquery --whatprovides python-jinja2
python-jinja2-0:2.7.2-2.el7.noarch

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

2 years ago

msuchy edited this update.

New build(s):

  • mock-1.4.14-2.el7

Removed build(s):

  • mock-1.4.14-1.el7

Karma has been reset.

2 years ago

This update has been submitted for testing by msuchy.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon lslebodn commented & provided feedback 2 years ago
karma

No issues with mock-1.4.14-2.el7

+1

User Icon kathenas commented & provided feedback 2 years ago
karma

No issues with mock-1.4.14-2.el7

User Icon ngompa provided feedback 2 years ago
karma

This update has been submitted for batched by bodhi.

2 years ago

This update has been submitted for stable by ngompa.

2 years ago

This update has been pushed to stable.

2 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
2 years ago
in testing
2 years ago
in stable
2 years ago
modified
2 years ago

Automated Test Results