move ifdef for removing hplip-gui a little in install phase
This commit is contained in:
parent
63b9a8e131
commit
394e7d6500
@ -7,7 +7,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 3.20.6
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?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
|
||||
@ -546,6 +546,7 @@ rm -rf %{buildroot}%{_bindir}/hp-check \
|
||||
%{buildroot}%{_datadir}/hplip/ui5
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} <= 8 || 0%{?fedora}
|
||||
mkdir -p %{buildroot}%{_datadir}/metainfo
|
||||
cp %{SOURCE3} %{buildroot}%{_datadir}/metainfo/
|
||||
|
||||
@ -557,7 +558,6 @@ install -p -m644 %{buildroot}%{_datadir}/hplip/data/images/32x32/hp_logo.png \
|
||||
install -p -m644 %{buildroot}%{_datadir}/hplip/data/images/64x64/hp_logo.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/hp_logo.png
|
||||
|
||||
%if 0%{?rhel} <= 8 || 0%{?fedora}
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
sed -i -e '/^Categories=/d' hplip.desktop
|
||||
# Encoding key is deprecated
|
||||
@ -768,6 +768,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
||||
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
||||
|
||||
%changelog
|
||||
* Fri Sep 11 2020 Zdenek Dohnal <zdohnal@redhat.com> - 3.20.6-12
|
||||
- move ifdef for removing hplip-gui a little in install phase
|
||||
|
||||
* Thu Aug 27 2020 Josef Ridky <jridky@redhat.com> - 3.20.6-11
|
||||
- Rebuilt for new net-snmp release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user