Fix the special file patterns for the new code using python magic module

This commit is contained in:
Fatih Aşıcı
2009-09-22 13:27:15 +00:00
parent 4a3520c4a0
commit f67cbe8f06
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
2009-09-22 Fatih Aşıcı <fatih@pardus.org.tr>
* pisi/operations/build.py: Fix the special file patterns
for the new code using python magic module.
2009-09-16 Ozan Çağlayan <ozan@pardus.org.tr>
* pisi/archive.py (ArchiveBzip2): Implement ArchiveBzip2 to support
.bz2 archive files,
+3 -3
View File
@@ -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: