Rework fdupes, drop pointless rpmlintrc
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/SVT-AV1?expand=0&rev=23
This commit is contained in:
parent
e63c504924
commit
bb338b03cb
@ -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")
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user