rpms/njb-sharp/devel njb-sharp.spec,1.2,1.3

Linus Walleij (snirkel) fedora-extras-commits at redhat.com
Mon Dec 4 19:11:01 UTC 2006


Author: snirkel

Update of /cvs/extras/rpms/njb-sharp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22584

Modified Files:
	njb-sharp.spec 
Log Message:
Fix a scriptlet issue.



Index: njb-sharp.spec
===================================================================
RCS file: /cvs/extras/rpms/njb-sharp/devel/njb-sharp.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- njb-sharp.spec	2 Dec 2006 21:04:58 -0000	1.2
+++ njb-sharp.spec	4 Dec 2006 19:10:31 -0000	1.3
@@ -1,6 +1,6 @@
 Name: 		njb-sharp
 Version:	0.3.0
-Release:	6%{?dist}
+Release:	7%{?dist}
 URL:		http://banshee-project.org/Subprojects/Njb-sharp
 Summary:	C sharp library to control the Nomad jukebox database
 Source0:	http://banshee-project.org/files/%{name}/%{name}-%{version}.tar.bz2
@@ -50,10 +50,13 @@
 rm -rf %{buildroot}
 
 %post
+if [-x %{_bindir}/monodoc ]; then
 %{_bindir}/monodoc --make-index > /dev/null
+fi
 
 %postun
-if [ "$1" = "0" -a -x %{_bindir}/monodoc ]; then %{_bindir}/monodoc --make-index > /dev/null
+if [ "$1" = "0" -a -x %{_bindir}/monodoc ]; then
+%{_bindir}/monodoc --make-index > /dev/null
 fi
 
 %files
@@ -67,6 +70,9 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Mon Dec 4 2006 Linus Walleij <triad at df.lth.se> 0.3.0-7
+- Fixup scriptlet for ppl who don't use the docs.
+
 * Sat Dec 2 2006 Linus Walleij <triad at df.lth.se> 0.3.0-6
 - Dropping FC-5, it's too broken in monoland.
 




More information about the fedora-extras-commits mailing list