From f67cbe8f068c40d7034c9428a1e776aeddd60ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Tue, 22 Sep 2009 13:27:15 +0000 Subject: [PATCH] Fix the special file patterns for the new code using python magic module --- ChangeLog | 4 ++++ pisi/operations/build.py | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89c16ff8..0fa2f551 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-09-22 Fatih Aşıcı + * pisi/operations/build.py: Fix the special file patterns + for the new code using python magic module. + 2009-09-16 Ozan Çağlayan * pisi/archive.py (ArchiveBzip2): Implement ArchiveBzip2 to support .bz2 archive files, diff --git a/pisi/operations/build.py b/pisi/operations/build.py index 48cb7b62..5088ba8b 100644 --- a/pisi/operations/build.py +++ b/pisi/operations/build.py @@ -95,9 +95,9 @@ def check_path_collision(package, pkgList): def exclude_special_files(filepath, fileinfo, ag): keeplist = [] if not ag.has_key('KeepSpecial') else ag['KeepSpecial'] patterns = { - "libtool":".*: libtool library file", - "python":".*: python.*byte-compiled", - "perl":".*: Perl POD document text" + "libtool": "libtool library file", + "python": "python.*byte-compiled", + "perl": "Perl POD document text" } if "libtool" in keeplist: