def mark_filesystem_directories(fsdir)
      if fsdir.eql?("/") || fsdir.eql?("/usr/lib") || fsdir.eql?("/usr/share/empty")
        "%dir %attr(0555,root,root) #{fsdir}"
      elsif filesystem_directories.include?(fsdir)
        "%dir %attr(0755,root,root) #{fsdir}"
      else
        "%dir #{fsdir}"
      end
    end
def mark_filesystem_directories(fsdir)
      if fsdir.eql?("/") || fsdir.eql?("/usr/lib") || fsdir.eql?("/usr/share/empty")
        "%dir %attr(0555,root,root) #{fsdir}"
      elsif filesystem_directories.include?(fsdir)
        "%dir %attr(0755,root,root) #{fsdir}"
      else
        "%dir #{fsdir}"
      end
    end
Mark filesystem directories with ownership and permissions specified in the filesystem package
 https://git.fedorahosted.org/cgit/filesystem.git/plain/filesystem.spec

 @return [String]