rpms/mpg321/devel mpg321.spec,1.6,1.7

Adrian Reber adrian at rpmfusion.org
Sat May 2 14:06:34 CEST 2009


Author: adrian

Update of /cvs/free/rpms/mpg321/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20308

Modified Files:
	mpg321.spec 
Log Message:
* Sat May 02 2009 Adrian Reber <adrian at lisas.de> - 0.2.10.6-2
- fix man page alternatives link creation



Index: mpg321.spec
===================================================================
RCS file: /cvs/free/rpms/mpg321/devel/mpg321.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mpg321.spec	2 May 2009 11:59:01 -0000	1.6
+++ mpg321.spec	2 May 2009 12:06:33 -0000	1.7
@@ -1,6 +1,6 @@
 Name: mpg321
 Version: 0.2.10.6
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Command line MPEG audio player (fixed-point calculations)
 Group: Applications/Multimedia
 License: GPLv2+
@@ -58,7 +58,7 @@
 	%{_sbindir}/alternatives \
 		--remove mp3-cmdline %{_bindir}/mpg321 >/dev/null 2>&1
 fi
-manext=$(ls %{_mandir}/man1/%{name}.1* >/dev/null 2>&1| sed '2,$ d; s/^.*\././')
+manext=$(ls %{_mandir}/man1/%{name}.1* | sed '2,$ d; s/^.*\././')
 [ "$manext" == ".1" ] && manext=""
 %{_sbindir}/alternatives \
 	--install %{_bindir}/mpg123 %{name}_binlink %{_bindir}/%{name} %{apriority} \
@@ -82,6 +82,9 @@
 %ghost %{_mandir}/man1/mpg123.1*
 
 %changelog
+* Sat May 02 2009 Adrian Reber <adrian at lisas.de> - 0.2.10.6-2
+- fix man page alternatives link creation
+
 * Mon Apr 06 2009 Luboš Staněk <lubek at users.sourceforge.org>  - 0.2.10.6-1
 - upgrade more than a year old package for several fixes
 - remove obsoletes to enable the real mpg123 package



More information about the rpmfusion-commits mailing list