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