]> git.pld-linux.org Git - packages/rpmlint.git/blob - rpmlint-groups.patch
up to 1.7
[packages/rpmlint.git] / rpmlint-groups.patch
1 --- rpmlint-1.7/Pkg.py~ 2015-07-08 16:38:24.000000000 +0300
2 +++ rpmlint-1.7/Pkg.py  2015-07-15 15:10:07.954186622 +0300
3 @@ -197,7 +197,7 @@
4      the rpm package (if installed) if no filename is given"""
5      groups = []
6      if not filename:
7 -        with InstalledPkg("rpm") as p:
8 +        with InstalledPkg("rpmlint") as p:
9              groupsfiles = [x for x in p.files() if x.endswith('/GROUPS')]
10              if groupsfiles:
11                  filename = groupsfiles[0]
This page took 0.072458 seconds and 3 git commands to generate.