From 6edc7d2d0f6e2e809839174da7cfc3636ad15484 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 14:08:30 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- setroubleshoot.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setroubleshoot.spec b/setroubleshoot.spec index 7a18cc2..9455e0a 100644 --- a/setroubleshoot.spec +++ b/setroubleshoot.spec @@ -4,7 +4,7 @@ Summary: Helps troubleshoot SELinux problems Name: setroubleshoot Version: 3.3.23 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://pagure.io/setroubleshoot Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz @@ -70,7 +70,7 @@ autoreconf -f make %install -make DESTDIR=%{buildroot} PREFIX=/usr install +%make_install PREFIX=/usr desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop mkdir -p %{buildroot}%{pkgvardatadir} mkdir -p %{buildroot}%{_rundir}/setroubleshoot @@ -200,6 +200,10 @@ SELinux troubleshoot legacy applet %{_bindir}/seappletlegacy %changelog +* Tue Jul 14 2020 Tom Stellard - 3.3.23-3 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue May 26 2020 Miro HronĨok - 3.3.23-2 - Rebuilt for Python 3.9