On Sun, Jun 20, 2010 at 11:12:31PM +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i have a strange error with my freediams Package. My osc says: RPMLINT report: =============== freediams.x86_64: W: wrong-script-end-of-line-encoding /usr/share/freediams/forms/fagerstrom.xml freediams.x86_64: W: wrong-script-end-of-line-encoding /usr/share/freediams/textfiles/listemotsfr.txt This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution.
2 packages and 0 specfiles checked; 0 errors, 2 warnings.
But inside the OBS (home:saigkill:medical) i'm getting: + /usr/lib/rpm/brp-hook Processing files: freediams-0.3.0-3.1.i586 error: File not found: /usr/src/packages/BUILDROOT/freediams-0.3.0-3.1.i386/usr/lib64/freediams Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wOfc0H
After that the Build breaks.
What is now to do? And if i must fix this, how can i do this?
Obsoletes: %{name} < %{version}-%{release} is kind of useless. use LIBRARY_BASENAME="%_lib" then it will even work on other lib64 systems. On your error: In %files you use unconditionally: %dir /usr/lib64/freediams which breaks the build on non-64bit systems. use %dir %{_libdir}/freediams or so. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org