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

This commit is contained in:
Tim Waugh 2010-02-16 15:49:24 +00:00
parent 9b5905ea41
commit 8667f877b5

View File

@ -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 <twaugh@redhat.com> - 3.9.8-29
- Ship %%{_datadir}/hplip/prnt/plugins directory (bug #564551).
* Wed Jan 20 2010 Tim Waugh <twaugh@redhat.com> - 3.9.8-28
- Fixed crash when using Preferences dialog (bug #555979).