Mailinglist Archive: opensuse-packaging (235 mails)
| < Previous | Next > |
[opensuse-packaging] Re: How to fix python-bytecode-inconsistent-mtime rpmlint warning?
- From: Marguerite Su <i@xxxxxxxxxxxxx>
- Date: Wed, 14 Mar 2012 21:45:56 +0800
- Message-id: <CAK0PdAnTb9Rz4=hmUtuLaKGGCnzL8=K+=uUVmTRCFFdHA-TUXw@mail.gmail.com>
On Wed, Mar 14, 2012 at 9:43 PM, Marguerite Su <i@xxxxxxxxxxxxx> wrote:
rpmlint log here:
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=hotot-qt&project=home%3AMargueriteSu&repository=openSUSE_Factory
package spec here:
https://build.opensuse.org/package/view_file?file=hotot.spec&package=hotot-qt&project=home%3AMargueriteSu&rev=550aec6067d8cf434b9328853f7fb4d1
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
Hi, all,
I'm packaging a twitter client, whose GTK version uses Python. And I
got python-bytecode-inconsistent-mtime rpmlint warning.
Actually I got that msg a few times before when I was packaging other
python applications.
At first I try to fix it by running "python -m compileall *.pyc", but
recently OBS import a new rule which will check if you have buildroot
in your *.pyc file. I then "fix" a warning to an 10000 error. That's
too bad.
I googled the web to find a answer, only one item related:
https://bugzilla.redhat.com/show_bug.cgi?id=591730
In that bug report, the packager said he fixed it, but leaved no method for
me.
So now it seems I'm the only one who frequently get this warning.
I'm thinking two methods to fix it:
1. find . -name "*.pyc" | sed to replace buildroot in pyc to null.
2. delete all *.pyc
Any better idea for me ?
rpmlint log here:
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=hotot-qt&project=home%3AMargueriteSu&repository=openSUSE_Factory
package spec here:
https://build.opensuse.org/package/view_file?file=hotot.spec&package=hotot-qt&project=home%3AMargueriteSu&rev=550aec6067d8cf434b9328853f7fb4d1
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
| < Previous | Next > |