mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-10-03 20:10:25 +00:00
Only mark files in "/usr/share/doc" as documentation files
This commit is contained in:
@@ -43,9 +43,7 @@ namespace Packaging.Targets.Rpm
|
||||
{
|
||||
return RpmFileFlags.None;
|
||||
}
|
||||
else if (!entry.Mode.HasFlag(LinuxFileMode.S_IXGRP)
|
||||
&& !entry.Mode.HasFlag(LinuxFileMode.S_IXOTH)
|
||||
&& !entry.Mode.HasFlag(LinuxFileMode.S_IXUSR))
|
||||
else if (entry.TargetPath.StartsWith("/usr/share/doc"))
|
||||
{
|
||||
return RpmFileFlags.RPMFILE_DOC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user