rpms/unrar/F-12 unrar.spec,1.8,1.9

Conrad Meyer konradm at rpmfusion.org
Mon Nov 30 22:03:34 CET 2009


Author: konradm

Update of /cvs/nonfree/rpms/unrar/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv32245

Modified Files:
	unrar.spec 
Log Message:
* Mon Nov 30 2009 Conrad Meyer <konrad at tylerc.org> - 3.8.5-4
- Fix preun to refer to the correct alternatives files.



Index: unrar.spec
===================================================================
RCS file: /cvs/nonfree/rpms/unrar/F-12/unrar.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- unrar.spec	21 Nov 2009 02:11:18 -0000	1.8
+++ unrar.spec	30 Nov 2009 21:03:34 -0000	1.9
@@ -1,6 +1,6 @@
 Name:           unrar
 Version:        3.8.5
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Utility for extracting, testing and viewing RAR archives
 License:        Freeware with further limitations
 Group:          Applications/Archiving
@@ -68,12 +68,12 @@
 
 %post
 %{_sbindir}/alternatives \
-        --install %{_bindir}/unrar unrar %{_bindir}/unrar-nonfree 50 || :
+    --install %{_bindir}/unrar unrar %{_bindir}/unrar-nonfree 50 || :
 
 %preun
 if [ "$1" -eq 0 ]; then
-        %{_sbindir}/alternatives \
-                --remove un%{name} %{_bindir}/un%{name}-nonfree || :
+  %{_sbindir}/alternatives \
+      --remove unrar %{_bindir}/unrar-nonfree || :
 fi
 
 %post -n libunrar -p /sbin/ldconfig
@@ -101,6 +101,9 @@
 
 
 %changelog
+* Mon Nov 30 2009 Conrad Meyer <konrad at tylerc.org> - 3.8.5-4
+- Fix preun to refer to the correct alternatives files.
+
 * Fri Nov 20 2009 Conrad Meyer <konrad at tylerc.org> - 3.8.5-3
 - Add missing post/preun requires on chkconfig (#956).
 



More information about the rpmfusion-commits mailing list