Hi Michael, On Thu, 6 Mar 2025 16:16:37 +0100, Michael Schroeder wrote: > On Thu, Mar 06, 2025 at 01:16:05PM +0100, Jean Delvare wrote: > > This comes as a surprise to me, I would expect my __tar definition to > > be honored by rpmuncompress the same way it was honored before that > > helper binary was introduced. Is this a bug? > > (...) > > A somewhat related question would be: Should rpmuncompress support a > "--define" option?
I'm not sure. Depends on the purpose of rpmuncompress. If it is supposed to be a general purpose, standalone binary (and the description of the commit introducing this helper binary suggests this was the intention), then indeed a --define option would be welcome, so that the user can change the definition of %__tar and all other macros used by rpmuncompress. OTOH, rpmuncompress is currently installed under /usr/lib/rpm, NOT /usr/bin. This would typically indicate an internal helper with no guarantee that the users can use it directly for their own purpose. In that case, you normally only implement the command line options that are needed internally, so it would only make sense to implement a --define option if rpmbuild needs it. But well that's only my 2 cents as a random user, I'm not involved in rpm development in any way. -- Jean Delvare SUSE L3 Support _______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org https://lists.rpm.org/mailman/listinfo/rpm-maint