Re: [Rpm-maint] [rpm-software-management/rpm] Could the default %clean section remove non-readable+non-empty directories? (Issue #2519)

2024-03-20 Thread Panu Matilainen
Another case where we'll run into this is if/when we add support for vpath 
builds in read-only tree (#2985). 

The default `%clean` is a macro now, making this kind of thing easy.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2519#issuecomment-2009015669
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Could the default %clean section remove non-readable+non-empty directories? (Issue #2519)

2023-10-04 Thread Michal Domonkos
FTR, CMake does something similar on `make clean` as I discovered the other 
day. As for the test-suite artifacts, we already do exactly 
[that](https://github.com/rpm-software-management/rpm/blob/ea19571b86ff1f828efc264744715b69e30d6832/tests/mktree.fedora#L82).
 It just seems natural to have `%clean` follow suit...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2519#issuecomment-1746525731
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Could the default %clean section remove non-readable+non-empty directories? (Issue #2519)

2023-06-01 Thread Panu Matilainen
Yeah, rpm itself suffers from this too. Both from the POV that rpmbuild may 
leave cruft behind (which does look like a bug when you look at it that way), 
but also when building rpm itself the test-suite can be non-removable 
afterwards.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2519#issuecomment-1571775581
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint