[opensuse-buildservice] Dep resolution in libreoffice broken when adding Requires(pre): %{name}-%{version}

Hi, as per summary in libreoffice spec the lang packages are expanded from macro. For some unrelated stuff I need to have dep in post over the package itself so I added it to the spec the above and it now fails with following error localy and is unresolvable in OBS: buildinfo is broken... it says: │·································· unresolvable: nothing provides \ The change is only this but it can be of course contained only for that requires(pre) line. https://build.opensuse.org/package/rdiff/LibreOffice:Factory/libreoffice?lin... I am not exactly sure what is wrong, but given that fedora people can use something similar with rpmbuild i would not deem the spec approach as really broken. Cheers Tom -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Tomáš Chvátal <tchvatal@suse.cz> writes:
I am not exactly sure what is wrong
My guess would be either a bug in the langpack macro, or in how it is expanded. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Tue, Jan 28, 2014 at 09:46:17PM +0100, Tomá?? Chvátal wrote:
Hi,
as per summary in libreoffice spec the lang packages are expanded from macro. For some unrelated stuff I need to have dep in post over the package itself so I added it to the spec the above and it now fails with following error localy and is unresolvable in OBS:
buildinfo is broken... it says: ???·································· unresolvable: nothing provides \
The change is only this but it can be of course contained only for that requires(pre) line.
https://build.opensuse.org/package/rdiff/LibreOffice:Factory/libreoffice?lin...
I am not exactly sure what is wrong, but given that fedora people can use something similar with rpmbuild i would not deem the spec approach as really broken.
Seems I need to look at the specfile parser again. As a workaround, please use: Requires(pre,): ... Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Dne St 29. ledna 2014 13:01:31, Michael Schroeder napsal(a):
On Tue, Jan 28, 2014 at 09:46:17PM +0100, Tomá?? Chvátal wrote:
I am not exactly sure what is wrong, but given that fedora people can use something similar with rpmbuild i would not deem the spec approach as really broken.
Seems I need to look at the specfile parser again. As a workaround, please use:
Requires(pre,): ...
Thanks a lot for the workaround. Cheers Tom
participants (3)
-
Andreas Schwab
-
Michael Schroeder
-
Tomáš Chvátal