From 6e28c1cddf05fbc4bb6846721deb263764c8566d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jul 13 2020 20:10:03 +0000 Subject: Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- diff --git a/hplip.spec b/hplip.spec index 4d8c9b7..638e0a1 100644 --- a/hplip.spec +++ b/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.20.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC Url: https://developers.hp.com/hp-linux-imaging-and-printing @@ -458,12 +458,12 @@ autoreconf --verbose --force --install --enable-hpijs-install \ --disable-policykit --with-mimedir=%{_datadir}/cups/mime PYTHON=%{__python3} -make %{?_smp_mflags} +%make_build %install mkdir -p %{buildroot}%{_bindir} -make install DESTDIR=%{buildroot} PYTHON=%{__python3} +%make_install PYTHON=%{__python3} # Create /run/hplip & /var/lib/hp mkdir -p %{buildroot}/run/hplip @@ -725,6 +725,10 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio %changelog +* Mon Jul 13 2020 Tom Stellard - 3.20.6-3 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jun 23 2020 Zdenek Dohnal - 3.20.6-2 - appdata.xml needs to be in %%{_datadir}/metainfo