diff --git a/SVT-AV1-rpmlintrc b/SVT-AV1-rpmlintrc deleted file mode 100644 index c056ffc..0000000 --- a/SVT-AV1-rpmlintrc +++ /dev/null @@ -1,3 +0,0 @@ -# [ 44s] libSvtAv1Enc-suse0.x86_64: E: shlib-policy-name-error (Badness: 10000) libSvtAv1Encsuse0 -# Go home rpmlint, you are drunk! -addFilter("shlib-policy-name-error") diff --git a/SVT-AV1.spec b/SVT-AV1.spec index 269b8fe..6876a31 100644 --- a/SVT-AV1.spec +++ b/SVT-AV1.spec @@ -25,7 +25,6 @@ License: BSD-2-Clause-Patent Group: Productivity/Multimedia/Other URL: https://gitlab.com/AOMediaCodec/SVT-AV1 Source: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v%{version}/SVT-AV1-v%{version}.tar.gz -Source9: %{name}-rpmlintrc BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ @@ -93,6 +92,9 @@ help2man -N --help-option=-help --version-string=%{version} %{buildroot}%{_bindi LD_LIBRARY_PATH="%{buildroot}%{_libdir}" \ help2man -N --help-option=-help --version-string=%{version} --no-discard-stderr %{buildroot}%{_bindir}/SvtAv1EncApp > %{buildroot}%{_mandir}/man1/SvtAv1EncApp.1 +b="%{buildroot}/%{_defaultdocdir}/%{name}" +mkdir -p "$b" +cp -a Docs README.md "$b/" %fdupes %{buildroot}/%{_prefix} %post -n libSvtAv1Dec%{sover} -p /sbin/ldconfig @@ -109,12 +111,11 @@ help2man -N --help-option=-help --version-string=%{version} --no-discard-stderr %{_libdir}/libSvtAv1Enc.so.%{sover}* %files -%doc README.md -%doc Docs %{_bindir}/SvtAv1DecApp %{_bindir}/SvtAv1EncApp %{_mandir}/man1/SvtAv1DecApp.1* %{_mandir}/man1/SvtAv1EncApp.1* +%doc %{_defaultdocdir}/%{name}/ %files devel %{_libdir}/libSvtAv1Dec.so