Mise à jour de mock
By Pierre-Yves on Tuesday, October 30 2007, 23:46 - Général - Permalink
After the update mock changes !
Changement de mock après sa mise à jour
French version
Avec la dernière mise à jour mock change !
Venant de faire face à ce problème, je vous met ici un petit mot pour vous dire que la manière de faire marcher mock a changé avec la dernière mise à jour. En effet au lieu de passer par le traditionnel
mock chemin/to/fichier.src.rpm
ou
setarch i386 mock -r fedora-7-i386 chemin/to/fichier.src.rpm
Il faut dorénavant passer par
mock rebuild chemin/to/fichier.src.rpm
ou
setarch i386 mock -r fedora-7-i386 rebuild chemin/to/fichier.src.rpm
Ce rebuild vous évite une jolie erreure...
Bon mock :)
PS La réponse fut trouvé grace à nphilipp de #fedora-devel et à cette discussion de la list fedora-devel
English version
With the last update of mock the way to use it has also changed !
Because I have just faced that problem, I write down here few words to explain the situation With the new update, your way to use mock:
mock path/to/file.src.rpm
or
setarch i386 mock -r fedora-7-i386 path/to/file.src.rpm
do not work anymore.
I should for now use
mock rebuild path/to/file.src.rpm
or
setarch i386 mock -r fedora-7-i386 rebuild path/to/file.src.rpm
Enjoy your mock :)
PS the awnswer has been found thanks to nphilipp from #fedora-devel and this thread on the mailing list Fedora-devel