Mageia Bugzilla – Attachment 9147 Details for
Bug 18797
rpm fails to run glib-2.0 %transfiletriggerin which breaks gnote
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
svn diff of working patch
file_18797.txt (text/plain), 863 bytes, created by
Barry Jackson
on 2017-03-23 18:32:41 CET
(
hide
)
Description:
svn diff of working patch
Filename:
MIME Type:
Creator:
Barry Jackson
Created:
2017-03-23 18:32:41 CET
Size:
863 bytes
patch
obsolete
>Index: SPECS/gnote.spec >=================================================================== >--- SPECS/gnote.spec (revision 1094603) >+++ SPECS/gnote.spec (working copy) >@@ -7,7 +7,7 @@ > Summary: Note-taking application > Name: gnote > Version: 3.22.2 >-Release: %mkrel 1 >+Release: %mkrel 2 > Group: Graphical desktop/GNOME > License: GPLv3 > URL: https://wiki.gnome.org/Gnote >@@ -64,7 +64,16 @@ > --remove-only-show-in="GNOME" \ > --remove-only-show-in="XFCE" \ > --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* >+ >+%postun >+if [ $1 -eq 0 ] ; then >+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : >+fi > >+%posttrans >+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : >+ >+ > %files -f %{name}.lang > %doc AUTHORS NEWS README TODO > %{_bindir}/%{name}
Index: SPECS/gnote.spec =================================================================== --- SPECS/gnote.spec (revision 1094603) +++ SPECS/gnote.spec (working copy) @@ -7,7 +7,7 @@ Summary: Note-taking application Name: gnote Version: 3.22.2 -Release: %mkrel 1 +Release: %mkrel 2 Group: Graphical desktop/GNOME License: GPLv3 URL: https://wiki.gnome.org/Gnote @@ -64,7 +64,16 @@ --remove-only-show-in="GNOME" \ --remove-only-show-in="XFCE" \ --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* + +%postun +if [ $1 -eq 0 ] ; then +/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi +%posttrans +/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + + %files -f %{name}.lang %doc AUTHORS NEWS README TODO %{_bindir}/%{name}
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18797
: 9147 |
9433
|
9434