From 8667f877b5a601fd1d07784f293666d9baadd894 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 16 Feb 2010 15:49:24 +0000 Subject: [PATCH] - Ship %{_datadir}/hplip/prnt/plugins directory (bug #564551). --- hplip.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hplip.spec b/hplip.spec index 09cd069..ddebf43 100644 --- a/hplip.spec +++ b/hplip.spec @@ -1,7 +1,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.9.8 -Release: 28%{?dist} +Release: 29%{?dist} License: GPLv2+ and MIT Group: System Environment/Daemons Conflicts: system-config-printer < 0.6.132 @@ -222,6 +222,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 @@ -307,6 +311,7 @@ rm -rf %{buildroot} %{_datadir}/hplip/installer %{_datadir}/hplip/pcard %{_datadir}/hplip/prnt +%{_datadir}/hplip/prnt/plugins %{_datadir}/hplip/scan %{_localstatedir}/lib/hp @@ -373,6 +378,9 @@ fi /usr/bin/update-desktop-database &>/dev/null ||: %changelog +* Tue Feb 16 2010 Tim Waugh - 3.9.8-29 +- Ship %%{_datadir}/hplip/prnt/plugins directory (bug #564551). + * Wed Jan 20 2010 Tim Waugh - 3.9.8-28 - Fixed crash when using Preferences dialog (bug #555979).