Author: misc
Date: Thu Feb  1 21:25:11 2007
New Revision: 115843

Modified:
   packages/cooker/cdrkit/current/SPECS/cdrkit.spec

Log:
SILENT: - add alternatives, but commented, activate them before 2007.1


Modified: packages/cooker/cdrkit/current/SPECS/cdrkit.spec
==============================================================================
--- packages/cooker/cdrkit/current/SPECS/cdrkit.spec    (original)
+++ packages/cooker/cdrkit/current/SPECS/cdrkit.spec    Thu Feb  1 21:25:11 2007
@@ -79,6 +79,9 @@
 
 %postun
 %_postun_groupdel cdwriter
+#if [ "$1" = "0" ]; then
+#  update-alternatives --remove cdrecord %{_bindir}/wodim
+#fi
 
 %pre icedax
 %_pre_groupadd cdwriter
@@ -92,6 +95,20 @@
 %postun isotools
 %_postun_groupdel cdwriter
 
+# uncomment before 2007.1 release
+#%post
+#update-alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/wodim 
10 \
+#    --slave %_mandir/man1/cdrecord.1.bz2 cdrecord.1.bz2 
%_mandir/man1/wodim.1.bz2
+
+#%post genisoimage
+#update-alternatives --install %{_bindir}/mkisofs mkisofs 
%{_bindir}/genisoimage 10 \
+#    --slave %_mandir/man1/mkisofs.1.bz2 cdrecord.1.bz2 
%_mandir/man1/genisoimage.1.bz2
+
+#%postun genisoimage
+#if [ "$1" = "0" ]; then
+#  update-alternatives --remove mkisofs %{_bindir}/genisoimage
+#fi
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 

Reply via email to