Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
e59c9e0058
commit
6e28c1cddf
10
hplip.spec
10
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 <tstellar@redhat.com> - 3.20.6-3
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Tue Jun 23 2020 Zdenek Dohnal <zdohnal@redhat.com> - 3.20.6-2
|
||||
- appdata.xml needs to be in %%{_datadir}/metainfo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user