https://bugzilla.rpmfusion.org/show_bug.cgi?id=4639

--- Comment #10 from Ben Rosser <rosser....@gmail.com> ---
Thanks for taking a look!

> IIRC using the %setup macro is the preferred way to unpack additional sources.
> http://www.tldp.org/HOWTO/RPM-HOWTO/build.html

> Do you think it is possible?

So I'd like to do this, but it wasn't immediately obvious if there was a good
way to do so, which is why I didn't initially. Based on my limited
understanding of the setup macro it seems like I would have to:

a) Remove the empty submodule directory from the git repo.
b) Extract each archive using %(auto)setup into a new directory.
c) Move the extracted directory to wherever it needs to be in the repo.

Doing this (multi-line operation) five times seemed painful when I could
instead do it in one line per submodule with tar --strip-components=1. That
being said, I can go ahead and and migrate to it if that would be preferred (or
required by policy).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org

Reply via email to