d/control: Use ${gir:Depends}, ${gir:Provides} in -dev package if available
authorSimon McVittie <smcv@debian.org>
Mon, 20 Jan 2025 10:46:52 +0000 (10:46 +0000)
committerSimon McVittie <smcv@debian.org>
Mon, 20 Jan 2025 10:46:52 +0000 (10:46 +0000)
Don't completely rely on those variables, for backportability.

debian/control

index 056c99391167e493e7d91299aafda0cf12ada963..99c23d3305d6a044e64433ddd7d3b0e226dffbef 100644 (file)
@@ -102,10 +102,12 @@ Depends:
  libglib2.0-dev,
  libostree-1-1 (= ${binary:Version}),
  pkgconf,
+ ${gir:Depends},
  ${misc:Depends},
 Suggests:
  libostree-doc,
 Provides:
+ ${gir:Provides},
  gir1.2-ostree-1.0-dev (= ${binary:Version}),
 Description: Development files for the libostree library
  libostree is a library for managing bootable, immutable, versioned