[Bug 225812] New: monodevelop.rpm installs possibly conflicting mime-info support files incorrectly.
https://bugzilla.novell.com/show_bug.cgi?id=225812 Summary: monodevelop.rpm installs possibly conflicting mime-info support files incorrectly. Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Mono AssignedTo: bnc-team-mono@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de The monodevelop rpm packaging is problematic. monodevelop installs a lot of exploded shared-mime-info support files into /usr/share/mime: /usr/share/mime/application/x-asax.xml /usr/share/mime/application/x-ascx.xml /usr/share/mime/application/x-ashx.xml /usr/share/mime/application/x-asix.xml /usr/share/mime/application/x-asmx.xml /usr/share/mime/application/x-aspx.xml /usr/share/mime/application/x-axd.xml /usr/share/mime/application/x-cmbx.xml /usr/share/mime/application/x-config.xml /usr/share/mime/application/x-disco.xml /usr/share/mime/application/x-machine-config.xml /usr/share/mime/application/x-master-page.xml /usr/share/mime/application/x-mdp.xml /usr/share/mime/application/x-mds.xml /usr/share/mime/application/x-mdsx.xml /usr/share/mime/application/x-prjx.xml /usr/share/mime/application/x-remoting.xml /usr/share/mime/application/x-resources.xml /usr/share/mime/application/x-resourcesx.xml /usr/share/mime/application/x-soap-remoting.xml /usr/share/mime/application/x-web-config.xml /usr/share/mime/application/x-wsdl.xml /usr/share/mime/text/x-js.xml /usr/share/mime/text/x-msil.xml /usr/share/mime/text/x-nemerle.xml /usr/share/mime/text/x-vb.xml This is, sorry to say, the wrong way. Adding these files to the file list of the package will cause conflicts if another package claims to support these mime types. The correct way to package it is: (1) Add _only_ the following file to the filelist: /usr/share/mime/packages/monodevelop.xml (2) Explode it at installation time with a %post scriptlet: %post update-mime-database /usr/share/mime >/dev/null || : Of course, it must be undone in the %postun scriptlet: %postun update-mime-database /usr/share/mime >/dev/null || : And you need to make sure that shared-mime-info is installed first in order to have the update-mime-database binary available: PreReq: shared-mime-info Not installing the exploded files can be achieved by adding these options to the ./configure invocation: /configure \ --disable-update-mimedb \ --disable-update-desktopdb -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225812 ------- Comment #1 from andreas.hanke@gmx-topmail.de 2006-12-04 10:34 MST ------- Created an attachment (id=108163) --> (https://bugzilla.novell.com/attachment.cgi?id=108163&action=view) monodevelop packaging fixes -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225812 wberrier@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from wberrier@novell.com 2007-01-03 15:03 MST ------- Thanks again, submitted to STABLE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com