buildsubdir needs %autosetup or %setup parsing #64
Labels
No labels
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
obsolete
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
yestax/setup#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To define buildsubdir, %setup or %autosetup need to be parsed. Even if it is just a comment like # %autosetup!
do rpmspec --parse to see the actuel specfile resolved
See https://github.com/rpm-software-management/rpm/issues/3890
This issue is to follow what will happen in future versions of RPM and maybe simplify the package generation.
This is to say that: for buildsubdir to be defined. %setup or %autosetup needs to be parsed even if it is just in a comment.
This means that removing a # %autosetup will break the specfile as it does not init buildubdir anymore.
The github issue shows a workaround and tracks this bug.
Update setup.specto buildsubdir needs %autosetup or %setup parsing