From fed776abe5b466ac863731d37070c4dcf3c151eb Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Tue, 18 Aug 2020 10:33:17 +0200 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- speex.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/speex.spec b/speex.spec index 0a91a08..6de1806 100644 --- a/speex.spec +++ b/speex.spec @@ -1,7 +1,7 @@ Summary: A voice compression format (codec) Name: speex Version: 1.2.0 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD URL: https://www.speex.org/ Source0: https://downloads.xiph.org/releases/speex/%{name}-%{version}.tar.gz @@ -40,10 +40,10 @@ speech. This package contains tools files and user's manual for %{name}. # Remove rpath from speexenc and speexdec sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf %ldconfig_scriptlets @@ -69,6 +69,10 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf %changelog +* Tue Aug 18 2020 Tomas Korbar - 1.2.0-7 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jul 29 2020 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild