Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 317303 Details for
Bug 463050
Should not depend on desktop-file-utils, shared-mime-info
[?]
New
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.rh83 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]
Do not depend on desktop-file-utils, shared-mime-info
scriptlet-deps.patch (text/plain), 8.37 KB, created by
Ville Skyttä
on 2008-09-21 07:45:21 UTC
(
hide
)
Description:
Do not depend on desktop-file-utils, shared-mime-info
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2008-09-21 07:45:21 UTC
Size:
8.37 KB
patch
obsolete
>Index: openoffice.org.spec >=================================================================== >RCS file: /cvs/pkgs/rpms/openoffice.org/devel/openoffice.org.spec,v >retrieving revision 1.1655 >diff -u -r1.1655 openoffice.org.spec >--- openoffice.org.spec 19 Sep 2008 11:44:59 -0000 1.1655 >+++ openoffice.org.spec 21 Sep 2008 07:42:07 -0000 >@@ -148,10 +148,6 @@ > Requires: hunspell-en, hyphen-en > Requires: saxon > PreReq: gtk2 >= 2.9.4 >-Requires(post): shared-mime-info >-Requires(post): desktop-file-utils >-Requires(postun): shared-mime-info >-Requires(postun): desktop-file-utils > Obsoletes: openoffice.org > Obsoletes: openoffice.org-libs > Obsoletes: openoffice.org-i18n >@@ -2660,30 +2656,30 @@ > %{oooinstdir}/program/versionrc > > %post core >-update-mime-database %{_datadir}/mime > /dev/null >-for theme in hicolor locolor; do >- if [ -x /usr/bin/gtk-update-icon-cache ]; then >+update-mime-database %{_datadir}/mime &> /dev/null || : >+if [ -x /usr/bin/gtk-update-icon-cache ]; then >+ for theme in hicolor locolor; do > if test -d "%{_datadir}/icons/$theme"; then > if test -f "%{_datadir}/icons/$theme/index.theme"; then > touch --no-create %{_datadir}/icons/$theme > gtk-update-icon-cache -q %{_datadir}/icons/$theme > fi > fi >- fi >-done >+ done >+fi > > %postun core >-update-mime-database %{_datadir}/mime > /dev/null >-for theme in hicolor locolor; do >- if [ -x /usr/bin/gtk-update-icon-cache ]; then >+update-mime-database %{_datadir}/mime &> /dev/null || : >+if [ -x /usr/bin/gtk-update-icon-cache ]; then >+ for theme in hicolor locolor; do > if test -d "%{_datadir}/icons/$theme"; then > if test -f "%{_datadir}/icons/$theme/index.theme"; then > touch --no-create %{_datadir}/icons/$theme > gtk-update-icon-cache -q %{_datadir}/icons/$theme > fi > fi >- fi >-done >+ done >+fi > > %preun core > if [ $1 -eq 0 ]; then >@@ -2745,10 +2741,10 @@ > %{_bindir}/ooviewdoc > > %post brand >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun brand >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files -n broffice.org-brand > %dir %{brinstdir} >@@ -2810,32 +2806,32 @@ > %{_bindir}/broffice.org > > %post -n broffice.org-brand >-update-desktop-database -q %{_datadir}/applications >-update-mime-database %{_datadir}/mime > /dev/null >-for theme in hicolor locolor; do >- if [ -x /usr/bin/gtk-update-icon-cache ]; then >+update-desktop-database %{_datadir}/applications &> /dev/null || : >+update-mime-database %{_datadir}/mime &> /dev/null || : >+if [ -x /usr/bin/gtk-update-icon-cache ]; then >+ for theme in hicolor locolor; do > if test -d "%{_datadir}/icons/$theme"; then > if test -f "%{_datadir}/icons/$theme/index.theme"; then > touch --no-create %{_datadir}/icons/$theme > gtk-update-icon-cache -q %{_datadir}/icons/$theme > fi > fi >- fi >-done >+ done >+fi > > %postun -n broffice.org-brand >-update-desktop-database -q %{_datadir}/applications >-update-mime-database %{_datadir}/mime > /dev/null >-for theme in hicolor locolor; do >- if [ -x /usr/bin/gtk-update-icon-cache ]; then >+update-desktop-database %{_datadir}/applications &> /dev/null || : >+update-mime-database %{_datadir}/mime &> /dev/null || : >+if [ -x /usr/bin/gtk-update-icon-cache ]; then >+ for theme in hicolor locolor; do > if test -d "%{_datadir}/icons/$theme"; then > if test -f "%{_datadir}/icons/$theme/index.theme"; then > touch --no-create %{_datadir}/icons/$theme > gtk-update-icon-cache -q %{_datadir}/icons/$theme > fi > fi >- fi >-done >+ done >+fi > > > %files base-core >@@ -2900,10 +2896,10 @@ > %{_bindir}/oobase > > %post base >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun base >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files -n broffice.org-base > %defattr(-,root,root,-) >@@ -2914,10 +2910,10 @@ > %{_datadir}/mimelnk/application/broffice.org-*database* > > %post -n broffice.org-base >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun -n broffice.org-base >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files report-builder > %defattr(-,root,root,-) >@@ -3162,10 +3158,10 @@ > %{_bindir}/oocalc > > %post calc >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun calc >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files -n broffice.org-calc > %defattr(-,root,root,-) >@@ -3178,10 +3174,10 @@ > %{_datadir}/mimelnk/application/broffice.org-*spreadsheet* > > %post -n broffice.org-calc >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun -n broffice.org-calc >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files draw-core > %defattr(-,root,root,-) >@@ -3230,10 +3226,10 @@ > %{_bindir}/oodraw > > %post draw >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun draw >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files -n broffice.org-draw > %defattr(-,root,root,-) >@@ -3245,10 +3241,10 @@ > %{_datadir}/mimelnk/application/broffice.org-*drawing* > > %post -n broffice.org-draw >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun -n broffice.org-draw >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files emailmerge > %defattr(-,root,root,-) >@@ -3346,10 +3342,10 @@ > %{_bindir}/oowriter > > %post writer >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun writer >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files -n broffice.org-writer > %defattr(-,root,root,-) >@@ -3363,10 +3359,10 @@ > %{_datadir}/mimelnk/application/broffice.org-*web* > > %post -n broffice.org-writer >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun -n broffice.org-writer >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files impress-core > %defattr(-,root,root,-) >@@ -3423,10 +3419,10 @@ > %{_bindir}/ooimpress > > %post impress >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun impress >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files -n broffice.org-impress > %defattr(-,root,root,-) >@@ -3439,10 +3435,10 @@ > %{_datadir}/mimelnk/application/broffice.org-ms-powerpoint-template*.desktop > > %post -n broffice.org-impress >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun -n broffice.org-impress >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files math-core > %defattr(-,root,root,-) >@@ -3499,10 +3495,10 @@ > %{_bindir}/oomath > > %post math >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun math >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files -n broffice.org-math > %defattr(-,root,root,-) >@@ -3513,10 +3509,10 @@ > %{_datadir}/mimelnk/application/broffice.org-*formula* > > %post -n broffice.org-math >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %postun -n broffice.org-math >-update-desktop-database -q %{_datadir}/applications >+update-desktop-database %{_datadir}/applications &> /dev/null || : > > %files graphicfilter > %defattr(-,root,root,-)
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 463050
: 317303