From abe26b8bb347b376f3f0a738c9fdbe385ee987e58695c3ee5b90ed071fab57b4 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 24 Aug 2016 15:13:36 +0000 Subject: [PATCH] Accepting request 421756 from home:dimstar:Factory - Fix boo#995089: * Do not attempt to produce a file-magic-32bit package: there is nothing arch-dependant in this package (for completeness, this was already fixed just before by Marcus) * Fix baselibs.conf for libmagic1-32bit to require file-magic instead of file-magic-32bit. * Build file-magic as noarch on openSUSE >= 1200 (where rpm is new enough to support this). OBS-URL: https://build.opensuse.org/request/show/421756 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=146 --- baselibs.conf | 1 + file.changes | 12 ++++++++++++ file.spec | 3 +++ 3 files changed, 16 insertions(+) diff --git a/baselibs.conf b/baselibs.conf index ccb07e9..cee82f7 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,5 @@ libmagic1 + requires "file-magic = " file-devel requires -file- requires "libmagic1- = " diff --git a/file.changes b/file.changes index 901e08f..f8b9fec 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Aug 24 14:16:09 UTC 2016 - dimstar@opensuse.org + +- Fix boo#995089: + * Do not attempt to produce a file-magic-32bit package: there is + nothing arch-dependant in this package (for completeness, this + was already fixed just before by Marcus) + * Fix baselibs.conf for libmagic1-32bit to require file-magic + instead of file-magic-32bit. + * Build file-magic as noarch on openSUSE >= 1200 (where rpm is + new enough to support this). + ------------------------------------------------------------------- Wed Aug 24 14:16:08 UTC 2016 - meissner@suse.com diff --git a/file.spec b/file.spec index 821efa6..36eee69 100644 --- a/file.spec +++ b/file.spec @@ -79,6 +79,9 @@ Summary: The magic files for libmagic to use Group: Productivity/File utilities Obsoletes: libmagic-data < %{version} Provides: libmagic-data = %{version} +%if 0%{?suse_version} >= 1200 +BuildArch: noarch +%endif %description magic This package contains the basic magic files that libmagic reads and uses