On 04/12/2010 10:04 AM, Takashi Iwai wrote:
At Mon, 12 Apr 2010 09:54:59 +0200, I wrote:
At Sun, 11 Apr 2010 08:36:58 +0200, Dave Plater wrote:
Hi, I'm updating multimedia:apps solfege and the new version produces a lot of .pyc files on make install which contain text which refers to the path that the file was installed in :- /usr/src/packages/BUILDROOT/solfege-3.16.1-1.x86_64//usr/share/solfege/solfege/ This causes lot's of rpmlint errors ie. ;- solfege.x86_64: E: file-contains-buildroot (Badness: 10000) /usr/share/solfege/solfege/cfg.pyc I understand these files to be compiled python but being a complete novice with python I don't know what to do with them.
You'd need to refresh the patch solfege-compile-all-fix.diff in m:l or FACTORY solfege package for Makefile of solfege-3.16.1...
Or. a better patch would be something like below.
Takashi
--- --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/Makefile.in +++ b/Makefile.in @@ -142,7 +142,7 @@
compileall: ifneq (x"$(nopycompile)",xYES) - $(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/$(datadir)/$(PACKAGE)/solfege')" + $(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)$(datadir)/$(PACKAGE)/solfege',10,'$(datadir)/$(PACKAGE)/solfege')" endif
mkinstalldirs:
I made the above patch into solfege-python-nocompile.patch but the build service is down ATM. I've revoked the sr to factory already. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org