From cc17ab040885585ec83e9365eb2a02221383afd8 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: May 28 2018 12:13:06 +0000 Subject: Revert "make python{2,3}-magic depend on file-libs, instead of file" This reverts commit 9e7a3e2ed39766697cb1ad9e08c85d8ce8e7a379 because the python{2,3}-magic noarch subpackages cannot depend on the arch-specific file-libs package. --- diff --git a/file.spec b/file.spec index a1a692f..51ec3e8 100644 --- a/file.spec +++ b/file.spec @@ -75,7 +75,7 @@ BuildRequires: python2-devel BuildRequires: python-setuptools %endif BuildArch: noarch -Requires: file-libs%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %{?python_provide:%python_provide python2-magic} %description -n python2-magic @@ -89,7 +89,7 @@ file(1) command. Summary: Python 3 bindings for the libmagic API BuildRequires: python3-devel BuildArch: noarch -Requires: file-libs%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %description -n python3-magic This package contains the Python 3 bindings to allow access to the @@ -210,7 +210,6 @@ cd %{py3dir} %changelog * Mon May 28 2018 Kamil Dudka - 5.33-6 -- make python{2,3}-magic depend on file-libs, instead of file - make file-devel depend on file-libs, instead of file - reintroduce file-static subpackage (#1575661) - drop obsolete Group tag