Hello,
I’m trying to build a python package.
All the other buildings for i586 11.1 to 11.3 succeeded.
This is the error:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/packages/BUILDROOT/wordforge-0.8-6.1.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/lib/python2.6/site-packages/WordForge-0.8.Beta.1-py2.6.egg-info
/usr/lib/python2.6/site-packages/WordForge/CHANGELOG
/usr/lib/python2.6/site-packages/WordForge/Editor/__init__.py
/usr/lib/python2.6/site-packages/WordForge/Editor/__init__.pyc
...
In 11.1 this works fine:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/wordforge-0.8-6.1-buildroot
Wrote: /usr/src/packages/SRPMS/wordforge-0.8-6.1.src.rpm
Wrote: /usr/src/packages/RPMS/x86_64/wordforge-0.8-6.1.x86_64.rpm
Any hints on this?
Thanks in advance,
Gzalo
gzcordeiro:
Hello,
I’m trying to build a python package.
All the other buildings for i586 11.1 to 11.3 succeeded.
This is the error:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/usr/src/packages/BUILDROOT/wordforge-0.8-6.1.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/lib/python2.6/site-packages/WordForge-0.8.Beta.1-py2.6.egg-info
/usr/lib/python2.6/site-packages/WordForge/CHANGELOG
/usr/lib/python2.6/site-packages/WordForge/Editor/init .py
/usr/lib/python2.6/site-packages/WordForge/Editor/init .pyc
…
In 11.1 this works fine:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/wordforge-0.8-6.1-buildroot
Wrote: /usr/src/packages/SRPMS/wordforge-0.8-6.1.src.rpm
Wrote: /usr/src/packages/RPMS/x86_64/wordforge-0.8-6.1.x86_64.rpm
Any hints on this?
Thanks in advance,
Gzalo
Hi
Have a look here… “Compatibility with older distributions”
http://en.opensuse.org/openSUSE:Packaging_Python
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
up 3 days 10:56, 2 users, load average: 0.06, 0.02, 0.00
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.21
Hi,
malcolmlewis:
Hi
Have a look here… “Compatibility with older distributions”
openSUSE:Packaging Python - openSUSE
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
up 3 days 10:56, 2 users, load average: 0.06, 0.02, 0.00
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.21
Thanks for the link.
However, the problem is not the compatibility with older, but with newer distributions…
Probably related to the expansion of macros, like %python_sitearch.
Cheers,
Gzalo
gzcordeiro:
Hi,
malcolmlewis;2263876 Wrote:
> Hi
> Have a look here… “Compatibility with older distributions”
> ‘openSUSE:Packaging Python - openSUSE’
> (openSUSE:Packaging Python - openSUSE Wiki )
>
> –
> Cheers Malcolm °¿° (Linux Counter #276890 )
> SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
> up 3 days 10:56, 2 users, load average: 0.06, 0.02, 0.00
> GPU GeForce 8600 GTS Silent - Driver Version: 260.19.21
Thanks for the link.
However, the problem is not the compatibility with older, but with
newer distributions…
Probably related to the expansion of macros, like %python_sitearch.
Cheers,
Gzalo
Hi
Greater than 11.3 is python 2.7 and use sitelib
%{python_sitelib}/Wordforge
%{python_sitelib}/Wordforge-%{version}-py%{py_ver}.egg-info
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
up 3 days 13:27, 2 users, load average: 4.09, 4.94, 3.95
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.21