On 07/14/2015 06:19 PM, Haïkel wrote: >> I maintain most of patches as commits in private branches of upstream >> git repos and generate them with "git format-patch >> <latest-release-tag>". %autosetup and %autopatch don't work with patches >> generated this way, while %patch does. >> >> > Works for me, you need to tell %autosetup that you're using git with the > option -S git Yes, but that means adding explicit BuildRequires on git to every package. I don't want to do that. -- Mikolaj Izdebski Software Engineer, Red Hat IRC: mizdebsk -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct