Re: [Rpm-maint] [rpm-software-management/rpm] %force file list directive (#1118)

2020-03-12 Thread Michael Schroeder
It's not so easy, it needs some changes in rpm's aliasing detection code (i.e. 
symlinked directories) so that the rpm internals know what's going on.

I'm already working on this, but the development has been stalled the last 
weeks due to other work needing to be done first.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1118#issuecomment-598129379___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %force file list directive (#1118)

2020-03-12 Thread Vít Ondruch
Alternatively, I can also imagine more specific `%replace_{symlink,directory}` 
where RPM would know what was expected there and what is the replacement.

On top of that, RPM could automatically create backup and own the backup, so it 
is removed when RPM is removed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1118#issuecomment-598109398___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] %force file list directive (#1118)

2020-03-12 Thread Vít Ondruch
Thinking about symlink <-> directory conversion, wouldn't be possible to have 
something like `%force` file list directive? That would do something like 
"remove whatever is standing in a way, be it file/directory/symlink and place 
there content from this RPM".

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1118___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint