summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-24 00:35:09 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-24 00:35:09 (EDT)
commit8eb547afe47f1ba6fbc9fd1c21c97410171a535e (patch)
tree6ad4ee2ef2c8e3e1b8d66a868769f13cfd125588
parentea8a05a7878754a8a7c90c2611a84680577f8138 (diff)
Use substitution variables in control files.
NOTE: Requires opkbuild 3.0.0-alpha3 (not yet released) or at least commit ac831a4f in opkbuild's Git repository.
-rw-r--r--libexpat.1-dbg.pkg/control6
-rw-r--r--libexpat.1-dev.pkg/control6
-rw-r--r--libexpat.1.pkg/control4
-rw-r--r--substvars4
-rw-r--r--xmlwf-doc.pkg/control2
-rw-r--r--xmlwf.pkg/control2
6 files changed, 11 insertions, 13 deletions
diff --git a/libexpat.1-dbg.pkg/control b/libexpat.1-dbg.pkg/control
index 3e1f970..5e195e4 100644
--- a/libexpat.1-dbg.pkg/control
+++ b/libexpat.1-dbg.pkg/control
@@ -1,9 +1,7 @@
Architecture: any
Platform: all
-Depends: libexpat.1 (= 2.1.0-1)
+Depends: libexpat.1 (= ${Binary-Version})
Description: XML parser library - debugging symbols
- Expat is an XML parser library written in C. It is a stream-oriented parser in
- which an application registers handlers for things the parser might find in the
- XML document (like start tags).
+ ${Common-Description}
.
This package provides debugging symbols for Expat.
diff --git a/libexpat.1-dev.pkg/control b/libexpat.1-dev.pkg/control
index 4ae2a5f..3855796 100644
--- a/libexpat.1-dev.pkg/control
+++ b/libexpat.1-dev.pkg/control
@@ -1,9 +1,7 @@
Architecture: any
Platform: all
-Depends: libexpat.1 (= 2.1.0-1)
+Depends: libexpat.1 (= ${Binary-Version})
Description: XML parser library - development files
- Expat is an XML parser library written in C. It is a stream-oriented parser in
- which an application registers handlers for things the parser might find in the
- XML document (like start tags).
+ ${Common-Description}
.
This package provides development files for Expat.
diff --git a/libexpat.1.pkg/control b/libexpat.1.pkg/control
index d9f987a..a77d8a6 100644
--- a/libexpat.1.pkg/control
+++ b/libexpat.1.pkg/control
@@ -1,6 +1,4 @@
Architecture: any
Platform: all
Description: XML parser library
- Expat is an XML parser library written in C. It is a stream-oriented parser in
- which an application registers handlers for things the parser might find in the
- XML document (like start tags).
+ ${Common-Description}
diff --git a/substvars b/substvars
new file mode 100644
index 0000000..18484c5
--- /dev/null
+++ b/substvars
@@ -0,0 +1,4 @@
+Common-Description:
+ Expat is an XML parser library written in C. It is a stream-oriented parser in
+ which an application registers handlers for things the parser might find in the
+ XML document (like start tags).
diff --git a/xmlwf-doc.pkg/control b/xmlwf-doc.pkg/control
index 7f4e1af..0a4c009 100644
--- a/xmlwf-doc.pkg/control
+++ b/xmlwf-doc.pkg/control
@@ -1,6 +1,6 @@
Architecture: all
Platform: all
-Depends: libexpat.1 (= 2.1.0-1), xmlwf
+Depends: libexpat.1 (= ${Binary-Version}), xmlwf
Description: XML parser library - example application documentation files
This package provides the manual page for xmlwf, an example application of
Expat that determines if an XML document is well-formed.
diff --git a/xmlwf.pkg/control b/xmlwf.pkg/control
index 89ecd2a..f1d6c4b 100644
--- a/xmlwf.pkg/control
+++ b/xmlwf.pkg/control
@@ -1,6 +1,6 @@
Architecture: any
Platform: all
-Depends: libexpat.1 (= 2.1.0-1)
+Depends: libexpat.1 (= ${Binary-Version})
Description: XML parser library - example application
This package provides an example application of Expat that determines if an XML
document is well-formed.