chiark / gitweb /
dgit-user(7): Suggest "3.0 (native)" rather than bodging 1.0 native
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 31 Oct 2016 01:51:28 +0000 (01:51 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 31 Oct 2016 01:51:31 +0000 (01:51 +0000)
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>
dgit-user.7.pod

index e7300522098434daf7f3053d7745873f50a1e8de..fc0d5905b2668c86bdbfdfb7ab7aeea2fc4f451f 100644 (file)
@@ -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