On 2018-11-03 3:13 p.m., Luya Tshimbalanga wrote: > > Thanks. The suggestion worked. Another question is how to apply a patch > on this example > > Source0: > https://github.com/%{name}/LuxCore/archive/luxcorerender_v%{version}.tar.gz > Source1: > https://github.com/%{name}/BlendLuxCore/archive/blendluxcore_v%{version}.tar.gz > Patch0: %{name}-cmake-python.patch > > %prep > > %autosetup -Np1 -n LuxCore-%{name}_v%{version} > %autosetup -T -D -a 1 -n LuxCore-%{name}_v%{version} > > The build keeps on rejecting the patch in this case. Is there a better > alternative? > > > Luya > Answering my own question. Changing -Np1 to -Np2 solved the issue. Luya
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx