From 3a53f688fe2e6e9ee32a3aa132f738680165bfaa Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 13:46:21 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- sane-backends.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sane-backends.spec b/sane-backends.spec index 51f9cb0..a025382 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -14,7 +14,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.30 -Release: 1%{?dist} +Release: 2%{?dist} # lib/ is LGPLv2+, backends are GPLv2+ with exceptions # Tools are GPLv2+, docs are public domain # see LICENSE for details @@ -175,7 +175,7 @@ LDFLAGS="-pie" --with-usb \ %endif --enable-pthread -make %{?_smp_mflags} +%make_build # Write udev/hwdb files _topdir="$PWD" @@ -186,7 +186,7 @@ pushd tools popd %install -make DESTDIR="%{buildroot}" install +%make_install mkdir -p %{buildroot}%{_datadir}/pixmaps install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps @@ -421,6 +421,10 @@ exit 0 %{_unitdir}/saned@.service %changelog +* Tue Jul 14 2020 Tom Stellard - 1.0.30-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue May 19 2020 Zdenek Dohnal - 1.0.30-1 - 1.0.30