From deb3937cce400f436d063b4c2f5699c1e3a7a991 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Wed, 19 Oct 2022 16:36:22 +0800 Subject: [PATCH] optimise spec file --- libvorbis.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libvorbis.spec b/libvorbis.spec index ab2c3ff..9c85666 100644 --- a/libvorbis.spec +++ b/libvorbis.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Summary: The Vorbis General Audio Compression Codec @@ -60,14 +60,18 @@ sed -i "s/-mcpu=750//" configure # remove unpackaged files from the buildroot rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +%generate_compatibility_deps + %check make check %files +%dir %{abidir} %license COPYING %{_libdir}/libvorbis.so.* %{_libdir}/libvorbisfile.so.* %{_libdir}/libvorbisenc.so.* +%{abidir}/libvorbis*.dump %files doc %doc AUTHORS @@ -87,6 +91,9 @@ make check %ldconfig_scriptlets %changelog +* Wed Oct 19 2022 mgb01105731 - 1.3.7-3 +- optimise spec file + * Tue Oct 11 2022 mgb01105731 - 1.3.7-2 - add doc package -- Gitee