fix sub-package arch

epel9
Leigh Scott 3 years ago
parent 2de682f628
commit fb6e41827d

@ -54,10 +54,12 @@ Obsoletes: %{name}-devel < %{version}-%{release}
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%package models %package models
Summary: Model files for %{name} Summary: Model files for %{name}
Requires: libvmaf = %{version}-%{release}
BuildArch: noarch
%description models %description models
The %{name}-models package contains model files. The %{name}-models package contains model files.
These are needed for apps that can't use the builtin models. These are needed for apps that can't use the builtin models.
@ -82,7 +84,7 @@ popd
mkdir -p %{buildroot}%{rpmmacrodir} mkdir -p %{buildroot}%{rpmmacrodir}
cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF
# libvmaf RPM Macros # libvmaf RPM Macros
%libvmaf_version %{version} %libvmaf_version %{version}
EOF EOF
touch -r LICENSE %{buildroot}%{rpmmacrodir}/macros.%{name} touch -r LICENSE %{buildroot}%{rpmmacrodir}/macros.%{name}

Loading…
Cancel
Save