[cygwin-apps htdocs - The cygwin-apps website files] branch master, updated. 53e9aca4e54e3542f1ad28292e2e466d4c2a62f4

jturney-9JcytcrH/[email protected]
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/apps-htdocs.git;h=53e9aca4e54e3542f1ad28292e2e466d4c2a62f4

commit 53e9aca4e54e3542f1ad28292e2e466d4c2a62f4
Author: Jon Turney <[email protected]>
Date:   Mon Nov 13 14:37:31 2017 +0000

    Add putative syntax for obsoletes: as well


Diff:
---
 setup.ini.html |   37 ++++++++++++++++++++++++++-----------
 1 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/setup.ini.html b/setup.ini.html
index 886ba58..cdb92e8 100644
--- a/setup.ini.html
+++ b/setup.ini.html
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
-	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <link href="cygwin-apps.css" title="cygwin-apps" media="screen" type="text/css" rel="stylesheet" />
@@ -150,16 +149,32 @@ This entry should not be used in conjunction with the "source:" entry.</p>
 
 <h4>Note: The following directives are not fully implemented yet.</h4>
 
-<p><tt>Depends: <i>package [(= | &lt;= | &gt;= | &lt; | &gt;
-    version-identifier)] [, package ...]</i></tt></p>
-<p>This is a more sophisticated version of the <tt>requires:</tt> keyword,
-allowing the specification of explicit version number relationships.  Packages
-are separated by commas instead of spaces.</p>
+<p><tt>Depends: <i>version-relations</i></tt></p>
+<p>This is a more sophisticated version of <tt>requires:</tt>, allowing the
+specification of version relationships.</p>
 
-<p><tt>Build-Depends: <i>package [(= | &lt;= | &gt;= | &lt; | &gt;
-    version-identifier)] [, package ...]</i></tt></p>
-<p>Indicates the binary packages required to build the current source
-package.</p>
+<p><tt>Obsoletes: <i>version-relations</i></tt></p>
+<p>Indicates packages this package obsoletes.</p>
+
+<p><tt>Build-Depends: <i>version-relations</i></i></tt></p>
+<p>Indicates the binary packages required to build the source package.</p>
+
+<h4 id="relationship">Syntax of relationship fields</h4>
+
+<p><tt>Depends:</tt>, <tt>Obsoletes:</tt>, <tt>Build-Depends:</tt> all have a
+  common syntax.  They are a list of package names separated by commas.  They
+  may restrict their applicability to particular versions of each named package.
+  This is done in parentheses after each package name.  The parentheses should
+  contain a relation, one of <tt>=,&lt;=,&gt;=,&lt;,&gt;</tt> followed by
+  a <tt>version-identifier</tt>.
+</p>
+
+<p>
+  <tt><i>version-relations</i></tt> is <tt><i>version-relation</i>
+  [, <i>version-relation</i> ...]</tt>
+</p>
+<p><tt><i>version-relation</i></tt> is <tt><i>package [(= | &lt;= | &gt;= | &lt;
+    | &gt; version-identifier)]</i></tt></p>
 
 <h3>An example</h3>
 <pre>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.