From fb6e41827de1063962c5355d3311833e27da4505 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Sat, 11 Dec 2021 12:56:05 +0000 Subject: [PATCH] fix sub-package arch --- vmaf.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vmaf.spec b/vmaf.spec index 53a22ff..e44c893 100644 --- a/vmaf.spec +++ b/vmaf.spec @@ -54,10 +54,12 @@ Obsoletes: %{name}-devel < %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package models -Summary: Model files for %{name} +%package models +Summary: Model files for %{name} +Requires: libvmaf = %{version}-%{release} +BuildArch: noarch -%description models +%description models The %{name}-models package contains model files. These are needed for apps that can't use the builtin models. @@ -82,7 +84,7 @@ popd mkdir -p %{buildroot}%{rpmmacrodir} cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF # libvmaf RPM Macros -%libvmaf_version %{version} +%libvmaf_version %{version} EOF touch -r LICENSE %{buildroot}%{rpmmacrodir}/macros.%{name}