Kaydet (Commit) 2b62198d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix EPMs deb Depends syntax

...that it is broken at least in our bundled EPM 3.7 became evident with
d07cbe86 "fdo#65541: Proper EPM %requires
dependencies, at least for Linux" failing for --with-package-format=deb now.

I cannot verify whether this is a known/fixed problem in upstream EPM (which is
at version 4.2 by now), as the download links at
<http://freecode.com/projects/epm> point at a (temporarily, at least)
unavailable ftp.easysw.com server.

Change-Id: Idad1cdfc55d870200ccb24ea94a2fe7c0ed2c9e8
üst 13cddb12
...@@ -260,6 +260,15 @@ diff -urN epm-3.7-old//deb.c epm-3.7/deb.c ...@@ -260,6 +260,15 @@ diff -urN epm-3.7-old//deb.c epm-3.7/deb.c
else else
fprintf(fp, "Architecture: %s\n", platform->machine); fprintf(fp, "Architecture: %s\n", platform->machine);
@@ -139,7 +192,7 @@
else
{
if (d->vernumber[1] < INT_MAX)
- fprintf(fp, " (>= %s, <= %s)", d->version[0], d->version[1]);
+ fprintf(fp, " (>= %s), %s (<= %s)", d->version[0], d->product, d->version[1]);
else
fprintf(fp, " (>= %s)", d->version[0]);
}
@@ -148,9 +193,9 @@ @@ -148,9 +193,9 @@
putc('\n', fp); putc('\n', fp);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment