- Ship %{_datadir}/hplip/prnt/plugins directory (bug #564551).

This commit is contained in:
Tim Waugh 2010-02-16 15:49:40 +00:00
parent b848e8314d
commit 4db54787c9

View File

@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.9.12
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+ and MIT
Group: System Environment/Daemons
Conflicts: system-config-printer < 0.6.132
@ -195,6 +195,10 @@ echo hpaio > %{buildroot}%{_sysconfdir}/sane.d/dll.d/hpaio
# Images in docdir should not be executable (bug #440552).
find doc/images -type f -exec chmod 644 {} \;
# Create an empty plugins directory to make sure it gets the right
# SELinux file context (bug #564551).
%{__mkdir_p} %{buildroot}%{_datadir}/hplip/prnt/plugins
# Remove files we don't want to package.
rm -f %{buildroot}%{_datadir}/hplip/hpaio.desc
rm -f %{buildroot}%{_datadir}/hplip/hplip-install
@ -279,6 +283,7 @@ rm -rf %{buildroot}
%{_datadir}/hplip/installer
%{_datadir}/hplip/pcard
%{_datadir}/hplip/prnt
%{_datadir}/hplip/prnt/plugins
%{_datadir}/hplip/scan
%{_localstatedir}/lib/hp
@ -345,6 +350,9 @@ fi
/usr/bin/update-desktop-database &>/dev/null ||:
%changelog
* Tue Feb 16 2010 Tim Waugh <twaugh@redhat.com> - 3.9.12-7
- Ship %%{_datadir}/hplip/prnt/plugins directory (bug #564551).
* Fri Feb 5 2010 Tim Waugh <twaugh@redhat.com> - 3.9.12-6
- Build requires cups for postscriptdriver tags for .drv file.