summaryrefslogtreecommitdiff
path: root/dgit-user.7.pod
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-31 01:51:28 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-31 01:51:31 +0000
commita45f75bad000ac3230dace4291cda2e167d8102d (patch)
tree7422bd6a5abb2111f7b40f771ea24f1514c9479b /dgit-user.7.pod
parenta5871faec2c932db9255631dc094bc8f429b9f9a (diff)
dgit-user(7): Suggest "3.0 (native)" rather than bodging 1.0 native
This is better than --dpkg-source:-sn because it produces a git tree which doesn't need weird options, and doesn't delete the user's .orig (which might still be useful eg for some dgit fetch). Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit-user.7.pod')
-rw-r--r--dgit-user.7.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/dgit-user.7.pod b/dgit-user.7.pod
index e730052..fc0d590 100644
--- a/dgit-user.7.pod
+++ b/dgit-user.7.pod
@@ -391,15 +391,15 @@ you need to provide a source package
but don't care about its format/layout
(for example because some software you have consumes source packages,
not git histories)
-you can use this recipe to generate a C<1.0> "native"
+you can use this recipe to generate a C<3.0 (native)>
source package, which is just a tarball
with accompanying .dsc metadata file:
=over 4
- % git rm debian/source/version
- % git commit -m 'switch to 1.0 source format'
- % dgit -wgf --dpkg-buildpackage:-sn build-source
+ % echo '3.0 (native)' >debian/source/format
+ % git commit -m 'switch to native source format' debian/source/format
+ % dgit -wgf build-source
=back