diff --git a/baselibs.conf b/baselibs.conf index 858aa1c..b8aba93 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,6 +1,8 @@ libmagic1 - obsoletes "file- <= " + obsoletes "file- < " provides "file- = " + requires "file-magic- = " file file-devel requires "libmagic1- = " +file-magic diff --git a/file.spec b/file.spec index 90543d5..4daf567 100644 --- a/file.spec +++ b/file.spec @@ -90,6 +90,8 @@ to estimate a file's type. Summary: Library with file's functionality Group: System/Libraries Requires: file-magic = %{version} +Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} %description -n %libname This library reads magic files and detects file types. Used by file command