From 9e489f394a91db1e780686e5580c53d90fc9b5f7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jul 13 2020 20:44:07 +0000 Subject: Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- diff --git a/libcap.spec b/libcap.spec index 5d1d23d..b550e87 100644 --- a/libcap.spec +++ b/libcap.spec @@ -1,6 +1,6 @@ Name: libcap Version: 2.26 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Library for getting and setting POSIX.1e capabilities URL: https://sites.google.com/site/fullycapable/ License: GPLv2 @@ -50,8 +50,7 @@ make prefix=%{_prefix} lib=%{_lib} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} \ INCDIR=%{_includedir} MANDIR=%{_mandir} PKGCONFIGDIR=%{_libdir}/pkgconfig/ %install -make install RAISE_SETFCAP=no \ - DESTDIR=%{buildroot} \ +%make_install RAISE_SETFCAP=no \ LIBDIR=%{_libdir} \ SBINDIR=%{_sbindir} \ PKGCONFIGDIR=%{_libdir}/pkgconfig/ @@ -84,6 +83,10 @@ chmod +x %{buildroot}/%{_libdir}/*.so.* %{_libdir}/pkgconfig/libcap.pc %changelog +* Mon Jul 13 2020 Tom Stellard - 2.26-8 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 2.26-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild