- Ship initscript in %{_sysconfdir}/rc.d/init.d.
This commit is contained in:
parent
8f74be5fa7
commit
d624b6cb7f
11
hplip.spec
11
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 <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).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user