[yum-commits] package-cleanup.py

James Antill james at osuosl.org
Wed Apr 6 14:02:38 UTC 2011


 package-cleanup.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 99fc2cf4554f4dcf3ca402c00281450f88954de8
Author: James Antill <james at and.org>
Date:   Wed Apr 6 09:53:57 2011 -0400

    For leaf-regexp don't match libreoffice, and match *-data package.

diff --git a/package-cleanup.py b/package-cleanup.py
index a788b34..a4eb7d9 100755
--- a/package-cleanup.py
+++ b/package-cleanup.py
@@ -93,7 +93,7 @@ class PackageCleanup(YumUtilBase):
                     help='list all packages leaf nodes that do not match'\
                          ' leaf-regex')
         leafgrp.add_option("--leaf-regex", 
-                    default="(^(compat-)?lib.+|.*libs?[\d-]*$)",
+                    default="(^(compat-)?lib(?!reoffice).+|.*libs?[\d-]*|.*-data$)",
                     help='A package name that matches this regular expression' \
                          ' (case insensitively) is a leaf')
         leafgrp.add_option("--exclude-devel", default=False, 


More information about the Yum-commits mailing list