diff --git a/ChangeLog b/ChangeLog index a1e8cb3f..bc73fc9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-01-17 Ozan Çağlayan + * pisi/operations/build.py (get_abandoned_files): Delimit the paths + written in pspec.xml's Files section with a trailing '/' for not + matching similar patterns like /usr/lib and /usr/libexec during + abandoned files checking. + 2009-01-14 Ozan Çağlayan * pisi/cli/listavailable.py (print_packages): Resize the first column dynamically according to the longest package name (#9021) and fix some diff --git a/pisi/operations/build.py b/pisi/operations/build.py index 8f917f31..f5992618 100644 --- a/pisi/operations/build.py +++ b/pisi/operations/build.py @@ -376,7 +376,7 @@ class Builder: for root, dirs, files in os.walk(install_dir): for file_ in files: already_in_package = False - fpath = pisi.util.join_path(root, file_) + fpath = pisi.util.join_path(root, file_) + '/' for path in all_paths_in_packages: if not fpath.find(path): already_in_package = True