Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 509764 Details for
Bug 716451
[PATCH] Own/%ghost files generated by update-mime-database from fd.o.xml
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Own/%ghost files generated by update-mime-database from fd.o.xml
0001-Own-ghost-files-generated-by-update-mime-database-fr.patch (text/plain), 2.10 KB, created by
Ville Skyttä
on 2011-06-24 13:50:08 UTC
(
hide
)
Description:
Own/%ghost files generated by update-mime-database from fd.o.xml
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2011-06-24 13:50:08 UTC
Size:
2.10 KB
patch
obsolete
>From 366450e695e21db8ab906436da445fd0385f7cc9 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> >Date: Fri, 24 Jun 2011 16:49:05 +0300 >Subject: [PATCH] Own/%ghost files generated by update-mime-database from > freedesktop.org.xml. > >--- > shared-mime-info.spec | 17 ++++++++++++----- > 1 files changed, 12 insertions(+), 5 deletions(-) > >diff --git a/shared-mime-info.spec b/shared-mime-info.spec >index 511655a..373b4de 100644 >--- a/shared-mime-info.spec >+++ b/shared-mime-info.spec >@@ -1,7 +1,7 @@ > Summary: Shared MIME information database > Name: shared-mime-info > Version: 0.90 >-Release: 8%{?dist} >+Release: 9%{?dist} > License: GPLv2+ > Group: System Environment/Base > URL: http://freedesktop.org/Software/shared-mime-info >@@ -37,7 +37,7 @@ and looking up the correct MIME type in a database. > > %build > >-%configure --disable-update-mimedb >+%configure > # make %{?_smp_mflags} > make > >@@ -45,6 +45,11 @@ make > rm -rf $RPM_BUILD_ROOT > make install DESTDIR=$RPM_BUILD_ROOT > >+find $RPM_BUILD_ROOT%{_datadir}/mime -type d \ >+| sed -e "s|^$RPM_BUILD_ROOT|%%dir |" > %{name}.files >+find $RPM_BUILD_ROOT%{_datadir}/mime -type f -not -path "*/packages/*" \ >+| sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" >> %{name}.files >+ > mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications > install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list > cat %SOURCE2 >> $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list >@@ -61,17 +66,19 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* > %clean > rm -rf $RPM_BUILD_ROOT > >-%files >+%files -f %{name}.files > %defattr(-,root,root,-) > %doc README NEWS HACKING COPYING shared-mime-info-spec.xml > %{_bindir}/* >-%dir %{_datadir}/mime/ >-%{_datadir}/mime/packages >+%{_datadir}/mime/packages/* > %{_datadir}/applications/defaults.list > %{_datadir}/pkgconfig/* > %{_mandir}/man*/* > > %changelog >+* Fri Jun 24 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.90-9 >+- Own/%%ghost files generated by update-mime-database from freedesktop.org.xml. >+ > * Thu May 26 2011 Bastien Nocera <bnocera@redhat.com> 0.90-8 > - Fix LibreOffice associations (patch from Caolan McNamara, #707971) > >-- >1.7.5.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 716451
: 509764