summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2019-01-22 22:06:41 +0000
committerDmitry Bogatov <KAction@debian.org>2019-01-22 22:06:41 +0000
commit298d61bf9d5eb726b3395d486ab5cb2a5af88615 (patch)
treecf50bf00784afffb6a74386878cb6896c66ec57b
parent7beda940660d8cfc13e6660b4b628c0cfa260dbe (diff)
Document runit:Breaks substitution variable
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_runit7
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 9bfb0fe..c1bc909 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1dh-runit (2.8.3) UNRELEASED; urgency=medium
2
3 * Document runit:Breaks substitution variable
4
5 -- Dmitry Bogatov <KAction@debian.org> Tue, 22 Jan 2019 22:06:09 +0000
6
1dh-runit (2.8.2) unstable; urgency=medium 7dh-runit (2.8.2) unstable; urgency=medium
2 8
3 * Upload to unstable 9 * Upload to unstable
diff --git a/dh_runit b/dh_runit
index a699692..447ae70 100755
--- a/dh_runit
+++ b/dh_runit
@@ -105,6 +105,7 @@ HERE
105 } 105 }
106 # runit=2.1.2-20 introduced 'runit-log' user 106 # runit=2.1.2-20 introduced 'runit-log' user
107 addsubstvar($pkg, 'runit:Conflicts', 'runit', '<< 2.1.2-20~'); 107 addsubstvar($pkg, 'runit:Conflicts', 'runit', '<< 2.1.2-20~');
108 addsubstvar($pkg, 'runit:Breaks', 'runit', '<< 2.1.2-20~');
108 addsubstvar($pkg, 'misc:Depends', 'runit-helper', '>= 2.8.1~'); 109 addsubstvar($pkg, 'misc:Depends', 'runit-helper', '>= 2.8.1~');
109} 110}
110 111
@@ -169,6 +170,12 @@ is error, following are supported:
169 170
170=back 171=back
171 172
173=head1 SUBSTITUTION VARIABLES
174
175Package, created with help of B<dh_runit> does not depends on B<runit>,
176but should add I<runit:Breaks> variable into I<Breaks> field in I<debian/control>
177to ensure, that no breakages are caused by too old version of B<runit> package.
178
172=head1 EXAMPLES 179=head1 EXAMPLES
173 180
174This section contains several example snippets from F<I<package>.runit> 181This section contains several example snippets from F<I<package>.runit>