- Ship initscript in %{_sysconfdir}/rc.d/init.d.

This commit is contained in:
Tim Waugh 2005-10-26 09:06:47 +00:00
parent 8f74be5fa7
commit d624b6cb7f

View File

@ -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 <twaugh@redhat.com> 0.9.6-4
- Ship initscript in %%{_sysconfdir}/rc.d/init.d.
* Fri Oct 14 2005 Tim Waugh <twaugh@redhat.com>
- Install the desktop file with Hidden=True (bug #170762).