[Chilli] R: building chilli from source

Isidor Zeuner chilli at quidecco.de
Wed Apr 21 16:03:25 UTC 2010


Hello Brigitta,

> i tried to apply the patch you attached before but I fail to apply it.
> This is the error:
> 
> [centos at localhost coova-chilli-1.2.2]$ sudo patch coova-chilli.spec.in <
> coova-rpm-ssl.diff 
> patching file coova-chilli.spec.in
> Reversed (or previously applied) patch detected!  Assume -R? [n] y
> Hunk #2 FAILED at 22.
> 1 out of 2 hunks FAILED -- saving rejects to file > coova-chilli.spec.in.rej
> [centos at localhost coova-chilli-1.2.2]$
> 

Why did you apply it on the file coova-chilli.spec.in? It was meant to
be applied to the complete source directory. As you are creating an
RPM, the cleanest way would be to register the patch in the spec file
before running rpmbuild, see [1] on how to do this. If you want to
apply it to the source directory directly and run configure/make
yourself, please have a look on how Hardy did it (to whom I sent the
same patch). Please note that this is not exactly a coova-chilli issue
anymore.

When proceeding, please use the fixed patch Daniel has posted a short
while ago. Mine apparently did not work correctly with version 1.2.2.

Best regards,

Isidor

[1] https://fedoraproject.org/wiki/How_to_create_an_RPM_package#An_example:_eject


More information about the Chilli mailing list