Re: %prep leaving SPECPARTS directories lying around

2023-09-14 Thread Jerry James
On Thu, Sep 14, 2023 at 12:32 PM Adam Williamson
 wrote:
> It seems like, as of fairly recently, the %prep stage for any Fedora
> package build leaves an empty directory named the same as the package
> source directory with with -SPECPARTS appended lying around.
>
> Do we know why this is happening, and can it be stopped? It already
> caused problems for CI for a few packages, and it's just a bit messy...

I think it is related to the dynamic spec file feature.  See
https://github.com/rpm-software-management/rpm/discussions/2032.

Also see https://github.com/rpm-software-management/rpm/issues/2532
for some other cases where SPECPARTS caused issues.
-- 
Jerry James
http://www.jamezone.org/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


%prep leaving SPECPARTS directories lying around

2023-09-14 Thread Adam Williamson
It seems like, as of fairly recently, the %prep stage for any Fedora
package build leaves an empty directory named the same as the package
source directory with with -SPECPARTS appended lying around.

Do we know why this is happening, and can it be stopped? It already
caused problems for CI for a few packages, and it's just a bit messy...
-- 
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org
https://www.happyassassin.net



___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue