Re: file triggers in rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 29 Nov 2015 09:16:42 -0600, Rex Dieter wrote:

> The current scriptlet snippets wiki page is clear that no dependency on 
> desktop-file-utils is required, that was true before, and that is still true 
> now.

*sigh* I had been working on the "representative commit" in the message
that started this thread:

http://pkgs.fedoraproject.org/cgit/gedit.git/commit/?id=1cd2537b862233cc4b4b1d59a56d26224e8b5b8a

  +# for file triggers
  +Requires: glib2 >= 2.45.4-2
  +Requires: desktop-file-utils >= 0.22-6
  +

That made me want such a dependency, too. How lame!

Okay. I'll remove it again, but "gedit" and other packages also ought to
be fixed.

It's too easy to not follow the guidelines, if other packages serve as
bad examples or cause confusion. Such as "ibus", which even does

  Requires(post):  desktop-file-utils
  Requires(postun):  desktop-file-utils

without running any of the desktop-file-utils in those scriptlets.

$ rpm -e --test desktop-file-utils
error: Failed dependencies:
	desktop-file-utils is needed by (installed) xdg-utils-1.1.1-1.fc23.noarch
	desktop-file-utils is needed by (installed) ibus-1.5.11-1.fc23.x86_64
	desktop-file-utils is needed by (installed) setroubleshoot-3.3.1-0.2.fc23.x86_64
	desktop-file-utils is needed by (installed) rpmlint-1.8-2.fc23.noarch
	desktop-file-utils is needed by (installed) emacs-1:24.5-6.fc23.x86_64
	desktop-file-utils is needed by (installed) gvfs-1.26.2-1.fc23.x86_64
	desktop-file-utils is needed by (installed) gnome-bluetooth-1:3.18.1-1.fc23.x86_64
--
desktop mailing list
desktop@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/desktop@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux