From ce95c3464e28b572038b36518bc594fc7ed7ad30 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Mon, 1 Feb 2021 13:45:01 +0100 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libsndfile.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libsndfile.spec b/libsndfile.spec index 34948e9..99ddf5a 100644 --- a/libsndfile.spec +++ b/libsndfile.spec @@ -1,7 +1,7 @@ Summary: Library for reading and writing sound files Name: libsndfile Version: 1.0.31 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ and GPLv2+ and BSD URL: http://libsndfile.github.io/libsndfile/ Source0: https://github.com/libsndfile/libsndfile/releases/download/%{version}/libsndfile-%{version}.tar.bz2 @@ -71,11 +71,11 @@ autoreconf -I M4 -fiv # for system-gsm patch 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 install DESTDIR=$RPM_BUILD_ROOT +%make_install rm -rf __docs mkdir __docs cp -pR $RPM_BUILD_ROOT%{_docdir}/%{name}/* __docs @@ -148,6 +148,10 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check %changelog +* Mon Jul 13 2020 Tom Stellard - 1.0.31-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 27 2021 Michal Hlavinka - 1.0.31-1 - updated to 1.0.31