Julien Cristau pushed to branch debian-unstable at X Strike Force / app / 
apitrace


Commits:
48329890 by Julien Cristau at 2019-09-15T09:06:04Z
rules: fix built-using to have the source package version, not binNMU.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,7 +1,7 @@
-apitrace (8.0+repack-2) unstable; urgency=medium
+apitrace (8.0+repack-2) UNRELEASED; urgency=medium
 
-  * rules: Attempt to fix built-using to have the source package
-    version, not binNMU.
+  * rules: fix built-using to have the source package version, not
+    binNMU.
 
  -- Timo Aaltonen <tjaal...@debian.org>  Thu, 12 Sep 2019 15:46:48 +0300
 


=====================================
debian/rules
=====================================
@@ -28,15 +28,9 @@ override_dh_missing:
        dh_missing --fail-missing
 
 override_dh_gencontrol:
-       echo "built-using:Depends=zlib (= $(shell dpkg-query -s zlib1g-dev \
-                                               | grep Version: \
-                                               | cut -d' ' -f2 \
-                                               | sed 's/+.*//'))" \
+       dpkg-query -f 'built-using:Depends=$${source:Package} (= 
$${source:Version})\n' --show zlib1g-dev \
                 >> debian/apitrace-tracers.substvars
-       echo "built-using:Depends=snappy (= $(shell dpkg-query -s libsnappy-dev 
\
-                                               | grep Version: \
-                                               | cut -d' ' -f2 \
-                                               | sed 's/+.*//'))" \
+       dpkg-query -f 'built-using:Depends=$${source:Package} (= 
$${source:Version})\n' --show libsnappy-dev \
                 >> debian/apitrace-tracers.substvars
        dh_gencontrol
 



View it on GitLab: 
https://salsa.debian.org/xorg-team/app/apitrace/commit/483298902444c8d433694f918432488bf521d061

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/app/apitrace/commit/483298902444c8d433694f918432488bf521d061
You're receiving this email because of your account on salsa.debian.org.


Reply via email to