summaryrefslogtreecommitdiffstats
path: root/perl-install/drakxtools.spec
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-29 16:53:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-29 16:53:53 +0000
commit5d5067bcac20fe7c93472ff48acb3d78b3480687 (patch)
tree022d913dee9fa9f17920a81c03601b2b7bdeb055 /perl-install/drakxtools.spec
parent6a18c1529905ec67886e915fcc8467215b957f95 (diff)
downloaddrakx-5d5067bcac20fe7c93472ff48acb3d78b3480687.tar
drakx-5d5067bcac20fe7c93472ff48acb3d78b3480687.tar.gz
drakx-5d5067bcac20fe7c93472ff48acb3d78b3480687.tar.bz2
drakx-5d5067bcac20fe7c93472ff48acb3d78b3480687.tar.xz
drakx-5d5067bcac20fe7c93472ff48acb3d78b3480687.zip
harddrake service:
- Prereq: rpm-helper - fix init-script-without-chkconfig-{post,preun}
Diffstat (limited to 'perl-install/drakxtools.spec')
-rw-r--r--perl-install/drakxtools.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec
index cecb209ca..f1a75c558 100644
--- a/perl-install/drakxtools.spec
+++ b/perl-install/drakxtools.spec
@@ -1,7 +1,7 @@
Summary: The drakxtools (XFdrake, diskdrake, keyboarddrake, mousedrake...)
Name: drakxtools
Version: 1.1.9
-Release: 26mdk
+Release: 27mdk
Url: http://www.linux-mandrake.com/en/drakx.php3
Source0: %name-%version.tar.bz2
License: GPL
@@ -37,6 +37,7 @@ Group: System/Configuration/Hardware
Requires: %{name}-newt = %version-%release
Obsoletes: kudzu, kudzu-devel, libdetect0, libdetect0-devel, libdetect-lst, libdetect-lst-devel, detect, detect-lst
Provides: kudzu, kudzu-devel, libdetect0, libdetect0-devel, libdetect-lst, libdetect-lst-devel, detect, detect-lst
+Prereq: rpm-helper
%package -n harddrake-ui
Summary: Main Hardware Configuration/Information Tool
@@ -220,9 +221,14 @@ done
%postun -n harddrake-ui
%clean_menus
+%post -n harddrake
+%_post_service harddrake
+
+%preun -n harddrake
+%_preun_service harddrake
+
%postun -n harddrake
-file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && \
- %_sbindir/convert-harddrake || :
+file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_sbindir/convert-harddrake || :
%files newt -f %name.list
%defattr(-,root,root)
@@ -260,6 +266,9 @@ file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && \
%config(noreplace) %_sysconfdir/logrotate.d/drakxtools-http
%changelog
+* Thu Aug 29 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1.9-27mdk
+- fix init-script-without-chkconfig-{post,preun}
+
* Thu Aug 29 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1.9-26mdk
- harddrake:
o quit button really work in embedded mode