From 2e5516b5e6ce3f666bcdd90965bd891afa36f149 Mon Sep 17 00:00:00 2001 From: Vincent Mihalkovic Date: Apr 09 2021 14:39:22 +0000 Subject: make python{2,3}-magic depend on file-libs --- diff --git a/file.spec b/file.spec index e909609..9f5b3f0 100644 --- a/file.spec +++ b/file.spec @@ -15,7 +15,7 @@ Summary: Utility for determining file types Name: file Version: 5.40 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Source0: http://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -69,7 +69,7 @@ Summary: Python 2 bindings for the libmagic API BuildRequires: python2-devel BuildRequires: python2-setuptools BuildArch: noarch -Requires: %{name} = %{version}-%{release} +Requires: file-libs = %{version}-%{release} %{?python_provide:%python_provide python2-magic} %description -n python2-magic @@ -84,7 +84,7 @@ Summary: Python 3 bindings for the libmagic API BuildRequires: python3-devel BuildRequires: python3-setuptools BuildArch: noarch -Requires: %{name} = %{version}-%{release} +Requires: file-libs = %{version}-%{release} Provides: python3-magic = %{version}-%{release} Obsoletes: python3-magic < %{version}-%{release} Conflicts: python3-magic < %{version}-%{release} @@ -204,6 +204,9 @@ cd %{py3dir} %endif %changelog +* Thu Apr 08 2021 Vincent Mihalkovic - 5.40-2 +- make python{2,3}-magic depend on file-libs (#1947453) + * Wed Mar 31 2021 Vincent Mihalkovic - 5.40-1 - update to new version 5.40