From bd7d355c85d1aac7c66b35eaec7ba2d4d963e28e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 14:23:45 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- system-config-printer.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/system-config-printer.spec b/system-config-printer.spec index 7bf96f9..ac70542 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -9,7 +9,7 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.5.12 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://github.com/%{username}/%{name} Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -91,10 +91,10 @@ printers. %build %configure --with-udev-rules -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%buildroot install +%make_install %{__mkdir_p} %buildroot%{_localstatedir}/run/udev-configure-printer touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris @@ -213,6 +213,10 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris exit 0 %changelog +* Tue Jul 14 2020 Tom Stellard - 1.5.12-6 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue May 26 2020 Miro HronĨok - 1.5.12-5 - Rebuilt for Python 3.9