From 6c95f04b6cb5ab1a0bd5125b7d86f10e02985bda Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jul 13 2020 22:33:58 +0000 Subject: Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- diff --git a/libsrtp.spec b/libsrtp.spec index 6db337b..6bf71db 100644 --- a/libsrtp.spec +++ b/libsrtp.spec @@ -2,7 +2,7 @@ Name: libsrtp Version: 2.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: An implementation of the Secure Real-time Transport Protocol (SRTP) License: BSD URL: https://github.com/cisco/libsrtp @@ -38,10 +38,10 @@ sed -i 's/-z noexecstack//' Makefile.in %build export CFLAGS="%{optflags} -fPIC" %configure --enable-nss -make %{?_smp_mflags} shared_library +%make_build shared_library %install -make install DESTDIR=%{buildroot} +%make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets @@ -57,6 +57,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/*.so %changelog +* Mon Jul 13 2020 Tom Stellard - 2.3.0-3 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild