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>
|
2009-09-16 Ozan Çağlayan <ozan@pardus.org.tr>
|
||||||
* pisi/archive.py (ArchiveBzip2): Implement ArchiveBzip2 to support
|
* pisi/archive.py (ArchiveBzip2): Implement ArchiveBzip2 to support
|
||||||
.bz2 archive files,
|
.bz2 archive files,
|
||||||
|
|||||||
@@ -95,9 +95,9 @@ def check_path_collision(package, pkgList):
|
|||||||
def exclude_special_files(filepath, fileinfo, ag):
|
def exclude_special_files(filepath, fileinfo, ag):
|
||||||
keeplist = [] if not ag.has_key('KeepSpecial') else ag['KeepSpecial']
|
keeplist = [] if not ag.has_key('KeepSpecial') else ag['KeepSpecial']
|
||||||
patterns = {
|
patterns = {
|
||||||
"libtool":".*: libtool library file",
|
"libtool": "libtool library file",
|
||||||
"python":".*: python.*byte-compiled",
|
"python": "python.*byte-compiled",
|
||||||
"perl":".*: Perl POD document text"
|
"perl": "Perl POD document text"
|
||||||
}
|
}
|
||||||
|
|
||||||
if "libtool" in keeplist:
|
if "libtool" in keeplist:
|
||||||
|
|||||||
Reference in New Issue
Block a user