Yamaban wrote:
On Mon, 21 Mar 2016 14:02, Bjoern Voigt wrote:
Lars Müller wrote:
On Thu, Mar 17, 2016 at 10:12:19PM +0100, Bjoern Voigt wrote: [ 8< ] One fix would be to add
%dir %{_libdir64}/pulse-%{pa_version} %dir %{_libdir64}/pulse-%{pa_version}/modules
to every pulseaudio-SUBPACKAGE_NAME-%{pa_version} package. In fact, this is already the case:
pulseaudio.spec from pulseaudio-8.0-2.2.src.rpm (Tumbleweed package): [...] %dir %{_libdir}/pulse-%{drvver}/ %dir %{_libdir}/pulse-%{drvver}/modules/ [...]
RPM laughts at you. For testing the strings "dir-path" and "dir-path/" are NOT equal.
Hint: the "/" at the end is hindering the removal of the dirs after de-install.
B/c rpm asks for the owner of "dir-path" and the packages own "dir-path/".
Yes. This has caused me some grey hairs already. Please do not repeat such errors.
IMHO, the comment / enforcement: "Do NOT add a trailing slash to the %dir entries in the spec file" should find its way into the docs, wiki, and spec-cleaner. Ok, but RPM (the command line tool "rpm") works with trailing slash too. The problems are caused by Zypper. See my setups/test cases in my previous mail.
Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org