Your message dated Sat, 23 Feb 2019 18:34:59 +0000
with message-id <e1gxc8z-0008ks...@fasolo.debian.org>
and subject line Bug#898204: fixed in hwinfo 21.63-3
has caused the Debian Bug report #898204,
regarding hwinfo: suggesting minor packaging improvements
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
898204: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898204
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: hwinfo
Version: 21.52-1
Severity: wishlist
Tags: patch
I tried making hwinfo cross buildable, but that turned out to be rather
more difficult. While at it I went improved some aspects of the
packaging. The attached patch contains my suggestions. The various
aspectes are:
* Including architecture.mk is simpler than computing
DEB_HOST_MULTIARCH.
* Including pkg-info.mk is simpler than working out the version and
coming up with tricky sed expressions.
* Using dh_auto_build (which happens to not work in parallel mode for
hwinfo) allows passing cross compilers to make at least.
Regardless of whether you apply them or not, you should close this bug
report no later than your next hwinfo upload. I hope this helps.
Helmut
diff --minimal -Nru hwinfo-21.52/debian/changelog hwinfo-21.52/debian/changelog
--- hwinfo-21.52/debian/changelog 2018-02-12 17:56:22.000000000 +0100
+++ hwinfo-21.52/debian/changelog 2018-05-08 18:48:42.000000000 +0200
@@ -1,3 +1,10 @@
+hwinfo (21.52-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Simplify packaging by using more dpkg and debhelper. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de> Tue, 08 May 2018 18:48:42 +0200
+
hwinfo (21.52-1) unstable; urgency=medium
* New upstream version 21.52
diff --minimal -Nru hwinfo-21.52/debian/rules hwinfo-21.52/debian/rules
--- hwinfo-21.52/debian/rules 2018-02-12 17:56:22.000000000 +0100
+++ hwinfo-21.52/debian/rules 2018-05-08 18:48:42.000000000 +0200
@@ -5,23 +5,21 @@
#export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow,+pie
DPKG_EXPORT_BUILDFLAGS=1
+include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/pkg-info.mk
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
-DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e
's/[-].*//')
-
# this is passed to patched hwinfo Makefile
-export HWINFO_VERSION=$(VERSION)
+export HWINFO_VERSION=$(DEB_VERSION_UPSTREAM)
%:
dh $@
override_dh_auto_build:
- make
- make doc
+ dh_auto_build --no-parallel
+ dh_auto_build --no-parallel -- doc
override_dh_auto_clean:
dh_auto_clean
@@ -40,4 +38,4 @@
ln -s /usr/share/javascript/jquery/jquery.js $(DOCDIR)/jquery.js
gen-upstream-changelog:
- bash debian/gen-upstream-changelog.sh $(VERSION)
+ bash debian/gen-upstream-changelog.sh $(DEB_VERSION_UPSTREAM)
--- End Message ---
--- Begin Message ---
Source: hwinfo
Source-Version: 21.63-3
We believe that the bug you reported is fixed in the latest version of
hwinfo, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 898...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tomasz Buchert <tom...@debian.org> (supplier of updated hwinfo package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 23 Feb 2019 18:52:02 +0100
Source: hwinfo
Architecture: source
Version: 21.63-3
Distribution: unstable
Urgency: medium
Maintainer: Sebastien Badia <sba...@debian.org>
Changed-By: Tomasz Buchert <tom...@debian.org>
Closes: 898204
Changes:
hwinfo (21.63-3) unstable; urgency=medium
.
[ Helmut Grohne ]
* d/rules: improve build process (Closes: #898204)
Checksums-Sha1:
7c50b1eeb19ab2bd813bc2246598f8e436ba8468 2127 hwinfo_21.63-3.dsc
108e708e6eb7f16d906df44a86bcf9fcdc6c42c7 18464 hwinfo_21.63-3.debian.tar.xz
abe97ea2a597f94d9fafeec9e642a8fbafca80b6 6983 hwinfo_21.63-3_amd64.buildinfo
Checksums-Sha256:
60b02da115ca793c9994bdcbe2381a8f9ded5c29d7b11b875445fc9d59b3a610 2127
hwinfo_21.63-3.dsc
61f9ad0d4bd5b89a85499c69bf4a7565a910b8dfa55258cf7f2bae73d0196ee1 18464
hwinfo_21.63-3.debian.tar.xz
35e35ae286b6fff5b4513a6a1056bd87d39dd49c926a73ab8f15d6ab5751d7db 6983
hwinfo_21.63-3_amd64.buildinfo
Files:
719fb1e7559cd886356c4c2d3ed3f3df 2127 admin optional hwinfo_21.63-3.dsc
eab4d4d556f3aa4e091d0631c7539fbf 18464 admin optional
hwinfo_21.63-3.debian.tar.xz
774d3e8d54dd749e7059d84d1da62502 6983 admin optional
hwinfo_21.63-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEzmRl4OZ9N8ZVV+eKAK40x+rZ6zgFAlxxjEcSHHRvbWFzekBi
dWNoZXJ0LnBsAAoJEACuNMfq2es44jAP/2AVhtUROPs3trOkkgC9jGvC7YGwnY8V
x3i+jhvUIkwIAYVK9FqYmyWN3BWEgesYiRFyWX6Hws3ueRh0evLQ1i/Gussbf/qR
GobFaoRz7xG3Mup2tcSEYlyu9dpkjVKHlxFA7SIc8QY+kryQuW6W7Uh8cI/HETGl
o7ZqNIkwJFDvFPLuCcSuwzYwL13ON5FYHlDwgZy0vxs+uZzhDWy6+Y60NBBLLxao
g288TpbH1B6IWYdFOQTTDO73x3SZw8v7eIw0PtJVHG2NqCDzyG1JqrZlC6Z0W9J/
FwNmPmVQMKpdOAM/l4DoiU6b73ae7kbkz04yhs0HH39nDnVoRzZ7uskMyQ+bNhq3
IPM4/o/v0G1T2P/Yv+6BYnRBlwGOVUtbVV4gbsg6gVLgXh+L1ICbX8bdaPOc2D4w
X2PtBGkSIx7eT4q/p3dqxq/mZPkiU+pz6XHxqnVVnwvcjRKgbklnbj43g9rPax94
39iSCfMRY+DwTVzrDBexM/MrV/a3fYyCIPWndP4QycorU6Hxpddmx6q3v31QTjLb
q7kp+puGpI68QB9aNaYRQrjUvHk5Zge/0bYPEOenTGjBKoePt/N1DovMnrd51ZzL
UP/E4Ikyszl6vNENSj5R02zP3VAEkApwIOajmUnOjNHiAzcZlSe4wwcNg05MOoeU
5veAWYNb3+vQ
=+vu9
-----END PGP SIGNATURE-----
--- End Message ---