On Wed, Feb 13, 2013 at 3:41 AM, Farkas Levente <lfarkas@lfarkas.org> wrote:

a simple rpmbuild --rebuild anaconda-11.1.2.259-1.src.rpm will fail at
patch part...


Builds fine for me in mock.  Perhaps something is wrong with your build environment?

-Jeff

[jeff@build1 ~]$ mock -r epel-5-x86_64 anaconda-11.1.2.259-1.src.rpm
INFO: mock.py version 1.1.21 starting...
State Changed: init plugins
INFO: selinux enabled
State Changed: start
INFO: Start(anaconda-11.1.2.259-1.src.rpm)  Config(epel-5-x86_64)
State Changed: lock buildroot
State Changed: clean
INFO: chroot (/var/lib/mock/epel-5-x86_64) unlocked and deleted
State Changed: unlock buildroot
State Changed: init
State Changed: lock buildroot
Mock Version: 1.1.21
INFO: Mock Version: 1.1.21
INFO: calling preinit hooks
INFO: enabled root cache
INFO: root cache aged out! cache will be rebuilt
INFO: enabled yum cache
State Changed: cleaning yum metadata
INFO: enabled ccache
State Changed: running yum
State Changed: creating cache
State Changed: unlock buildroot
INFO: Installed packages:
State Changed: setup
State Changed: build
INFO: Done(anaconda-11.1.2.259-1.src.rpm) Config(epel-5-x86_64) 1 minutes 40 seconds
INFO: Results and/or logs in: /var/lib/mock/epel-5-x86_64/result