From 42e23c3cb90ad6dfd5c04de566f871aee3fb2c0e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jul 14 2020 16:25:30 +0000 Subject: Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- diff --git a/kyotocabinet.spec b/kyotocabinet.spec index c095bc5..95e9f77 100644 --- a/kyotocabinet.spec +++ b/kyotocabinet.spec @@ -1,7 +1,7 @@ Summary: A straightforward implementation of DBM Name: kyotocabinet Version: 1.2.77 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3 URL: https://fallabs.com/%{name}/ Source: https://fallabs.com/%{name}/pkg/%{name}-%{version}.tar.gz @@ -54,10 +54,10 @@ applications that use Kyoto Cabinet. %build %configure --disable-opt --enable-lzo --enable-lzma -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install +%make_install # Don't install any static .a file rm -f $RPM_BUILD_ROOT%{_libdir}/libkyotocabinet.a @@ -140,6 +140,10 @@ make check %doc COPYING doc/api/* kyotocabinet.idl %changelog +* Tue Jul 14 2020 Tom Stellard - 1.2.77-4 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 1.2.77-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild