On Sat, Mar 3, 2012 at 12:39 AM, Johannes Weberhofer
Am 02.03.12 17:03, schrieb Dominique Leuenberger a.k.a DimStar:
Quoting Marguerite Su :
On Fri, Mar 2, 2012 at 1:31 PM, Johannes Weberhofer
wrote: Thanks for your quick help. I have done that and fixed some rpmlint errors & warnings. it can build successfully now. But there're still 3 out of my effort (I'm not familiar with these warnings and 'cause my mother language is not English/I'm not major in CS, I can't understand what they are talking about, even with explanations on Wiki.). can you help me polishing it further ?
They are:
W: percent in %post (I am not the author of your work. I have no idea which "%" triggers this warning)
I suggest you check the resulting package with rpm -qp --scripts <rpmname> ==> If you see some % somewhere, you can identify what was not expanded and might have wrong side-effects
You have copied my pear_xmldir whilst you are using xmldir; that can't expand.
oh, thank you, lol. the long specfile dazzled me.
W: missing-lsb-keyword (not familiar with shell, and I don't know what is "lsb")
LSB: Linux Standard Base It likely is caused by missing headers in the /etc/init.d/xinc script being installed.
There is a description available at http://en.opensuse.org/openSUSE:Packaging_init_scripts
Thanks. I add a tag: Short-Description in lsb header, which is #!/bin/sh ### BEGIN INIT INFO ... ### END INIT INFO and add a legal header copied from /etc/init.d/skeleton (init script template).
W: htaccess-file (not familiar with apache rewrite rule and regex)
I don't think there is anything wrong here: it's simpy a warning that you DO have a .htaccess file; it might or might not work on an installed system.
Donminqiue
I filtered it using php5-pear-xinc.rpmlintrc.
Best Regards, Johannes
-- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Thank you all for the time and help. Now I'm going to push it back to s:p:a. Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org