RPM Spec file %setup macro when you don't know the root name?
1
vote
1
answer
1078
views
How do I use the %setup macro if I don't know the root name of the archive. For example, in my case I have
archive.tar.gz
that extracts to
myproject-/
Each time I run that I may get a different gitsha
. How can I configure that to work with a .spec
file using %setup
?
Version looks like this,
Version: 1.11
What I want is something like --strip 1
from tar.
Asked by Evan Carroll
(34663 rep)
Apr 2, 2020, 07:57 AM
Last activity: Apr 2, 2020, 01:30 PM
Last activity: Apr 2, 2020, 01:30 PM