This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=8285a5a3b0266b0cbf4187f4b57647fafb881ada

commit 8285a5a3b0266b0cbf4187f4b57647fafb881ada
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Nov 15 23:31:26 2022 +0100

    debian: Add build dependencies for release process
    
    Move these dependencies from the CI setup into the Build-Depends so they
    are declaratively specified and easily available for other users.
---
 .gitlab-ci.yml | 6 +-----
 debian/control | 4 ++++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index de4a63a5e..cd6abd26c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,17 +6,13 @@ variables:
 before_script:
   - apt update -qq
   - apt install -qq -y eatmydata
-  - eatmydata apt install -qq -y --no-install-recommends
-    git ca-certificates
-  - eatmydata apt build-dep -qq -y .
+  - eatmydata apt -P pkg.dpkg.author-release build-dep -qq -y .
   - ./autogen
 
 # Test whether the release can be done.
 dist-check:
   stage: test
   script:
-    - eatmydata apt install -qq -y --no-install-recommends
-      libmodule-build-perl
     - ./configure
     - make distcheck
 
diff --git a/debian/control b/debian/control
index b24ae38aa..c46bfbc0e 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,10 @@ Build-Depends:
 # Needed for the functional test.
  bzip2 <!nocheck>,
  xz-utils <!nocheck>,
+# Needed for the author release process.
+ git <pkg.dpkg.author-release>,
+ ca-certificates <pkg.dpkg.author-release>,
+ libmodule-build-perl <pkg.dpkg.author-release>,
 # Needed for the test suite in author mode.
  fakeroot <pkg.dpkg.author-testing>,
  gnupg <pkg.dpkg.author-testing>,

-- 
Dpkg.Org's dpkg

Reply via email to