diff mbox series

[2/3] debian: Only build for Linux

Message ID 20210205003125.24463-3-bastiangermann@fishpost.de (mailing list archive)
State Superseded
Headers show
Series debian: minor fixes | expand

Commit Message

Bastian Germann Feb. 5, 2021, 12:31 a.m. UTC
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>
---
 debian/changelog | 1 +
 debian/control   | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

Comments

Darrick J. Wong Feb. 5, 2021, 12:48 a.m. UTC | #1
On Fri, Feb 05, 2021 at 01:31:24AM +0100, Bastian Germann wrote:
> 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>

Yep, we dropped support for hurd and bsd and macos a while ago...

Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  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
>
diff mbox series

Patch

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