rpms/ufraw/devel ufraw.spec,1.24,1.25
Nils Philippsen (nphilipp)
fedora-extras-commits at redhat.com
Mon Aug 6 07:53:20 UTC 2007
Author: nphilipp
Update of /cvs/pkgs/rpms/ufraw/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19659
Modified Files:
ufraw.spec
Log Message:
add missing mode to install command
make update-mime-database conditional
Index: ufraw.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ufraw/devel/ufraw.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ufraw.spec 6 Aug 2007 07:46:06 -0000 1.24
+++ ufraw.spec 6 Aug 2007 07:52:48 -0000 1.25
@@ -108,7 +108,7 @@
rm -f %{buildroot}%{_bindir}/dcraw
%if %pkg_mime_xml
install -d -m 0755 %buildroot%{_datadir}/mime/packages
-install -m ufraw-mime.xml %buildroot%{_datadir}/mime/packages
+install -m 0644 ufraw-mime.xml %buildroot%{_datadir}/mime/packages
%endif
%find_lang %{name}
@@ -118,8 +118,10 @@
%post %{?spkg:common}
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ufraw.schemas >& /dev/null
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ufraw.schemas >& /dev/null || :
+%if %pkg_mime_xml
update-mime-database >& /dev/null || :
+%endif
%if %splitpackage
%post
%endif
@@ -130,7 +132,9 @@
gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/ufraw.schemas >& /dev/null || :
%postun %{?spkg:common}
+%if %pkg_mime_xml
update-mime-database >& /dev/null || :
+%endif
%if %splitpackage
%postun
%endif
More information about the fedora-extras-commits
mailing list