linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] debian: minor fixes
@ 2021-02-05 20:34 Bastian Germann
  2021-02-05 20:34 ` [PATCH v2 1/3] debian: Drop unused dh-python from Build-Depends Bastian Germann
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bastian Germann @ 2021-02-05 20:34 UTC (permalink / raw)
  To: linux-xfs; +Cc: Bastian Germann

This series contains unrelated changes for the xfsprogs Debian package.

v2: Resend with Reviewed-bys applied.

Bastian Germann (3):
  debian: Drop unused dh-python from Build-Depends
  debian: Only build for Linux
  debian: Prevent installing duplicate changelog

 debian/changelog | 8 ++++++++
 debian/control   | 8 ++++----
 debian/rules     | 2 +-
 3 files changed, 13 insertions(+), 5 deletions(-)

-- 
2.30.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/3] debian: Drop unused dh-python from Build-Depends
  2021-02-05 20:34 [PATCH v2 0/3] debian: minor fixes Bastian Germann
@ 2021-02-05 20:34 ` Bastian Germann
  2021-02-05 20:34 ` [PATCH v2 2/3] debian: Only build for Linux Bastian Germann
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Bastian Germann @ 2021-02-05 20:34 UTC (permalink / raw)
  To: linux-xfs; +Cc: Bastian Germann, Helmut Grohne, Darrick J . Wong

xfsprogs participates in dependency loops relevant to architecture
bootstrap. Identifying easily droppable dependencies, it was found
that xfsprogs does not use dh-python in any way.

Reported-by: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
---
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ce4a224d..7b0120c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xfsprogs (5.10.0-3) unstable; urgency=medium
+
+  * Drop unused dh-python from Build-Depends (Closes: #981361)
+
+ -- Bastian Germann <bastiangermann@fishpost.de>  Fri, 05 Feb 2021 00:18:31 +0100
+
 xfsprogs (5.10.0-2) unstable; urgency=low
 
   * Team upload
diff --git a/debian/control b/debian/control
index b0eb1566..8975bd13 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: admin
 Priority: optional
 Maintainer: XFS Development Team <linux-xfs@vger.kernel.org>
 Uploaders: Nathan Scott <nathans@debian.org>, Anibal Monsalve Salazar <anibal@debian.org>, Bastian Germann <bastiangermann@fishpost.de>
-Build-Depends: libinih-dev, uuid-dev, dh-autoreconf, debhelper (>= 5), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, dh-python, pkg-config
+Build-Depends: libinih-dev, uuid-dev, dh-autoreconf, debhelper (>= 5), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, pkg-config
 Standards-Version: 4.0.0
 Homepage: https://xfs.wiki.kernel.org/
 
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 2/3] debian: Only build for Linux
  2021-02-05 20:34 [PATCH v2 0/3] debian: minor fixes Bastian Germann
  2021-02-05 20:34 ` [PATCH v2 1/3] debian: Drop unused dh-python from Build-Depends Bastian Germann
@ 2021-02-05 20:34 ` Bastian Germann
  2021-02-05 20:34 ` [PATCH v2 3/3] debian: Prevent installing duplicate changelog Bastian Germann
  2021-02-05 20:45 ` [PATCH v2 0/3] debian: minor fixes Eric Sandeen
  3 siblings, 0 replies; 5+ messages in thread
From: Bastian Germann @ 2021-02-05 20:34 UTC (permalink / raw)
  To: linux-xfs; +Cc: Bastian Germann, Darrick J . Wong

Use architecture linux-any to exclude kfreebsd and hurd from building
the package. Those will always fail.

Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
---
 debian/changelog | 1 +
 debian/control   | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7b0120c2..2da58f30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 xfsprogs (5.10.0-3) unstable; urgency=medium
 
   * Drop unused dh-python from Build-Depends (Closes: #981361)
+  * Only build for Linux
 
  -- Bastian Germann <bastiangermann@fishpost.de>  Fri, 05 Feb 2021 00:18:31 +0100
 
diff --git a/debian/control b/debian/control
index 8975bd13..1da8093d 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Provides: fsck-backend
 Suggests: xfsdump, acl, attr, quota
 Breaks: xfsdump (<< 3.0.0)
 Replaces: xfsdump (<< 3.0.0)
-Architecture: any
+Architecture: linux-any
 Description: Utilities for managing the XFS filesystem
  A set of commands to use the XFS filesystem, including mkfs.xfs.
  .
@@ -31,7 +31,7 @@ Package: xfslibs-dev
 Section: libdevel
 Depends: libc6-dev | libc-dev, uuid-dev, xfsprogs (>= 3.0.0), ${misc:Depends}
 Breaks: xfsprogs (<< 3.0.0)
-Architecture: any
+Architecture: linux-any
 Description: XFS filesystem-specific static libraries and headers
  xfslibs-dev contains the libraries and header files needed to
  develop XFS filesystem-specific programs.
@@ -49,7 +49,7 @@ Description: XFS filesystem-specific static libraries and headers
 Package: xfsprogs-udeb
 Package-Type: udeb
 Section: debian-installer
-Architecture: any
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: A stripped-down version of xfsprogs, for debian-installer
  This package is an xfsprogs package built for reduced size, so that it
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 3/3] debian: Prevent installing duplicate changelog
  2021-02-05 20:34 [PATCH v2 0/3] debian: minor fixes Bastian Germann
  2021-02-05 20:34 ` [PATCH v2 1/3] debian: Drop unused dh-python from Build-Depends Bastian Germann
  2021-02-05 20:34 ` [PATCH v2 2/3] debian: Only build for Linux Bastian Germann
@ 2021-02-05 20:34 ` Bastian Germann
  2021-02-05 20:45 ` [PATCH v2 0/3] debian: minor fixes Eric Sandeen
  3 siblings, 0 replies; 5+ messages in thread
From: Bastian Germann @ 2021-02-05 20:34 UTC (permalink / raw)
  To: linux-xfs; +Cc: Bastian Germann, Darrick J . Wong

The doc/CHANGES file is both processed by dh_installdocs and
dh_installchangelogs. So it ends up as changelog.gz and CHANGES.gz.
Prevent that by excluding it from dh_installdocs.

Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2da58f30..5421aed6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ xfsprogs (5.10.0-3) unstable; urgency=medium
 
   * Drop unused dh-python from Build-Depends (Closes: #981361)
   * Only build for Linux
+  * Prevent installing duplicate changelog (Closes: #570704)
 
  -- Bastian Germann <bastiangermann@fishpost.de>  Fri, 05 Feb 2021 00:18:31 +0100
 
diff --git a/debian/rules b/debian/rules
index 7304222c..c6ca5491 100755
--- a/debian/rules
+++ b/debian/rules
@@ -87,7 +87,7 @@ binary-arch: checkroot built
 	rm -f debian/xfslibs-dev/lib/libhandle.la
 	rm -f debian/xfslibs-dev/lib/libhandle.a
 	rm -fr debian/xfslibs-dev/usr/lib
-	dh_installdocs
+	dh_installdocs -XCHANGES
 	dh_installchangelogs
 	dh_strip
 	dh_compress
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 0/3] debian: minor fixes
  2021-02-05 20:34 [PATCH v2 0/3] debian: minor fixes Bastian Germann
                   ` (2 preceding siblings ...)
  2021-02-05 20:34 ` [PATCH v2 3/3] debian: Prevent installing duplicate changelog Bastian Germann
@ 2021-02-05 20:45 ` Eric Sandeen
  3 siblings, 0 replies; 5+ messages in thread
From: Eric Sandeen @ 2021-02-05 20:45 UTC (permalink / raw)
  To: Bastian Germann, linux-xfs

On 2/5/21 2:34 PM, Bastian Germann wrote:
> This series contains unrelated changes for the xfsprogs Debian package.
> 
> v2: Resend with Reviewed-bys applied.

FYI this is fine, but not necessary - I pull commits out of patchwork and
it magically adds any existing RVBs to each patch.

Thanks,
-Eric

> Bastian Germann (3):
>   debian: Drop unused dh-python from Build-Depends
>   debian: Only build for Linux
>   debian: Prevent installing duplicate changelog
> 
>  debian/changelog | 8 ++++++++
>  debian/control   | 8 ++++----
>  debian/rules     | 2 +-
>  3 files changed, 13 insertions(+), 5 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-05 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05 20:34 [PATCH v2 0/3] debian: minor fixes Bastian Germann
2021-02-05 20:34 ` [PATCH v2 1/3] debian: Drop unused dh-python from Build-Depends Bastian Germann
2021-02-05 20:34 ` [PATCH v2 2/3] debian: Only build for Linux Bastian Germann
2021-02-05 20:34 ` [PATCH v2 3/3] debian: Prevent installing duplicate changelog Bastian Germann
2021-02-05 20:45 ` [PATCH v2 0/3] debian: minor fixes Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).