Is %autosetup another unwanted baby of Fedora?

Mikolaj Izdebski mizdebsk at redhat.com
Tue Jul 14 16:26:54 UTC 2015


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


More information about the devel mailing list