repo-font-audit is a tool to check whether a font package for Fedora complies with Packaging:FontsPolicy.(Url:http://fedoraproject.org/wiki/Packaging:FontsPolicy) After doing this check, it reports the error that the zenheiset script has wrong permission set(744). And it also reports that the zenheiset script should not be in wqy-zenhei-fonts. From the FontsPolicy, the script should be put in wqy-zenhei-fonts-common. There are two candidates solution: 1. remove the zenheiset script from wqy-zenhei-fonts package. 2. keep the zenheiset script in wqy-zenhei-fonts-common, following the steps below: a. mv the zenheiset script and docs files to wqy-zenhei-fonts-common (README, COPYING etc.) b. correct the zenheiset script permission to 0755 or other possible permission. Which solution do you prefer? Maybe we can discuss it on irc.(#fedora-meeting, freenode.) After discussing, I will modify the zenhei and microhei package to comply with the FontPolicy.
Here are the steps about how to use the repo-font-audit tool: 1. installing createrepo and fontpackages-tools: # yum install createrepo fontpackages-tools 2. putting your packages and any font package they depends on in a test directory 3. indexing this directory with createrepo: $ createrepo path-to-test-directory 4. running repo-font-audit: $ repo-font-audit test absolute-path-to-test-directory
repo-font-audit tool will report 2 error and 2 warning: 1. Error: zenheiset script has unusual file permission. 2. Error: zenheiset should not in wqy-zenhei-fonts.noarch.rpm. Above is the packager tasks, I will handle this after discussion. 3. Warning: can't pass fontlint check on wqy-zenhei.ttc. 4. Warning: fonts with partial script coverage. Above is the upstream task, Warning 4 is ignorable I guess. For warning 3, could be checked with fontlint in FontForge, and need to be reported to wenquanyi upstream.
>Maybe we can discuss it on irc.(#fedora-meeting, freenode.) Sorry, forget to put my nickname: epico or epico_laptop.
Created attachment 396971 [details] Warning when the user run this script with non-root.
Move the zenheiset script to docdir, and change permission to 0755 because of rpmlint. And according the FontsPolicy, zenheiset is moved in a seperate wqy-zenhei-fonts-common packages with docs together. Commit changes to devel and F-13, as F-13 Alpha is coming.
strange, I somehow did not get these emails. I am glad that you have fixed the script permission issues. thanks for the fontlint warnings, it is a very minor issue. I will try to fix it in the next release (coming soon). I will let you know when it is ready.
welcome
Close bug, as this is a minor issue.