How to set %vendor in mock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

in the past, I used to set up %vendor in mock by adding
...
config_opts['macros'] += '%vendor       VENDOR'
...
to customized mock *.cfgs.


This stopped working with FC7's recent upgrade to mock-0.8.x:

# mock --configdir=/foo/etc/mock -r fedora-7-i386-test init
INFO: mock suid wrapper version 0.8.4 
ERROR: unsupported operand type(s) for +=: 'dict' and 'str'
Traceback (most recent call last):
  File "/usr/libexec/mock.py", line 333, in <module>
    main(retParams)
  File "/usr/libexec/mock.py", line 249, in main
    execfile(cfg)
  File "/foo/etc/mock/fedora-7-i386-test.cfg", line 7, in <module>
    config_opts['macros'] += '%vendor   VENDOR'
TypeError: unsupported operand type(s) for +=: 'dict' and 'str'

Any ideas?

Ralf


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux