diff --git a/hplip.spec b/hplip.spec index 748707a..51a5438 100644 --- a/hplip.spec +++ b/hplip.spec @@ -1,7 +1,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 0.9.6 -Release: 3 +Release: 4 License: GPL/MIT/BSD Group: System Environment/Daemons Conflicts: system-config-printer < 0.6.132 @@ -95,6 +95,10 @@ desktop-file-install --vendor HP \ --add-category Application \ %{buildroot}%{_datadir}/hplip/data/hplip.desktop +# Move initscript +mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d +mv %{buildroot}%{_sysconfdir}/{init.d,rc.d/init.d}/hplip + %clean rm -rf %{buildroot} @@ -103,7 +107,7 @@ rm -rf %{buildroot} %doc COPYING hplip_readme.html hplip_overview.png %dir %{_sysconfdir}/hp %config(noreplace) %{_sysconfdir}/hp/hplip.conf -%config(noreplace) %{_sysconfdir}/init.d/hplip +%config(noreplace) %{_sysconfdir}/rc.d/init.d/hplip %{_bindir}/hp-* %{_sbindir}/hpiod %{_libdir}/cups/backend/hp @@ -142,6 +146,9 @@ if ! grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \ fi %changelog +* Wed Oct 26 2005 Tim Waugh 0.9.6-4 +- Ship initscript in %%{_sysconfdir}/rc.d/init.d. + * Fri Oct 14 2005 Tim Waugh - Install the desktop file with Hidden=True (bug #170762).