Re: [Rpm-maint] rpm --verify -p does not work

2011-05-16 Thread Panu Matilainen
On 05/13/2011 04:11 PM, Michael Schroeder wrote: On Fri, May 13, 2011 at 03:49:37PM +0300, Panu Matilainen wrote: Hmm. Collections aside, me thinks the actual bug is permitting verify to run on non-installed packages in the first place, verify (and verifyscript) is only meaningful for installed

Re: [Rpm-maint] rpmdbAdd is gone?

2011-05-16 Thread Panu Matilainen
On 05/13/2011 04:05 PM, Michael Schroeder wrote: On Fri, May 13, 2011 at 04:00:59PM +0300, Panu Matilainen wrote: On 05/12/2011 06:59 PM, Michael Schroeder wrote: Hmm, I see that rpmdbAdd() et al have been removed in favor of rpmts, but there don't seem to be equivalent functions. How about

Re: [Rpm-maint] man page not clear enough

2011-05-16 Thread Roman B.
On Wed, May 4, 2011 at 01:09, Roman B. rbys...@gmail.com wrote: Hi, I think the rpm man page is not clear enough. For the following commands       rpm {-q|--query} [select-options] [query-options]       rpm {-V|--verify} [select-options] [verify-options] something like PACKAGE_NAME should

[Rpm-maint] Do not abort if chown/chmod fails but the file is already correct

2011-05-16 Thread Michael Schroeder
This small patch makes rpm not abort the installation if chown()/chmod() faild but the files already have the correct ownership/mode. It also allows a failed mtime update on directories. IIRC the use case was some NFS mounted directory. Cheers, Michael. -- Michael Schroeder

[Rpm-maint] Support magic_and_path flag in fileaattrs

2011-05-16 Thread Michael Schroeder
This patch adds support for a new fileattrs flag, magic_and_path. Normally files get fed into the dependency helper if either the path regexp or the magic regexp matches. With the flag, both have to match. (If you don't like the name, feel free to choose a better one.) Cheers, Michael. --