Fix the special file patterns for the new code using python magic module
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user