Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 07/08/2013 09:13 PM, Rene Engelhard wrote:
On Mon, Jul 08, 2013 at 06:08:54PM +0200, Petr Mladek wrote:
--- cut ---
requires = "%BASISPACKAGEPREFIX%PRODUCTVERSION-core01 %PACKAGEVERSION %
PACKAGEVERSION"
--- cut ---

epm produces the attached control file. It seems that deb does not like
the two versions in

--- cut ---
Depends: libobasis4.2-core01 (>= 4.2.0.0.alpha0, <= 4.2.0.0.alpha0)
--- cut ----

Exactly,

The build passes when I remove one %PACKAGEVERSION from the epm package
definition.

I am not Debian expert and
http://www.debian.org/doc/debian-policy/ch-relationships.html is not
clear about the two versions variant. I wonder if

There is no "two version variant".


        (>= 4.2.0.0.alpha0, <= 4.2.0.0.alpha0)

is a valid syntax.

It isn't. You simply cannot do that.

Depends: libobasis4.2-core01 (>= 4.2.0.0.alpha0), libobasis4.2-core01 (<= 4.2.0.0.alpha0)

should do, though.

So this is a bug in EPM and <http://cgit.freedesktop.org/libreoffice/core/commit/?id=2b62198dfcfd3fe738382207235a68cdc9b40d30> "Fix EPMs deb Depends syntax" should fix it, at least for our internal EPM 3.7. (As I note in the commit message, I cannot verify whether this would also be fixed in later upstream EPM versions.)

Stephan


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.