Re: [Rpm-maint] [rpm-software-management/rpm] External changelog integration (Discussion #2768)

2023-11-16 Thread Panu Matilainen
They're not scripts, and will not become such, it makes no sense really. For script generated files section there's already -f. The difference to %changelog is that a changelog is not a build result, it's something that exists before it. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] External changelog integration (Discussion #2768)

2023-11-16 Thread Vít Ondruch
So if they were scripts, the output of the script could be used as changelog / file list -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/discussions/2768#discussioncomment-7590337 You are receiving this because you are subscribed to this

[Rpm-maint] [rpm-software-management/rpm] Fix integer overflow in memory calculations on 32bit systems (PR #2770)

2023-11-16 Thread Panu Matilainen
long int on at least x86 Linux is exactly the same as a plain int, so calculations can easily overflow. 32bit systems are not expected to have hundreds of gigabytes of memory but a 32bit process on a x86_64 can run into all sorts of funny things, such having 500GB system memory. At which point

Re: [Rpm-maint] [rpm-software-management/rpm] EXDEV error with rename(2) on overlayfs (Issue #2355)

2023-11-16 Thread xuchunmei000
> FTR, the `mv(1)` command works around this by simply recursively copying the > directory and removing the old one. Therefore, the workaround is as simple as > doing: > > ``` > # cd /usr/lib/sysimage > # cp -r rpm rpmold.1 > # rm -rf rpm > # rpmdb --rebuilddb > ``` these workaround steps make