Use rich deps to pull in this package when flatpak and gtk3 are both installed

Thanks to rdieter for help with rich deps syntax!
This commit is contained in:
Kalev Lember 2017-02-17 18:14:32 +01:00
parent f2c5fc9365
commit b304d703e7
1 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: xdg-desktop-portal-gtk
Version: 0.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+
@ -11,6 +11,10 @@ BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(xdg-desktop-portal)
Requires: dbus
Requires: xdg-desktop-portal
%if 0%{?fedora}
# Use rich deps to pull in this package when flatpak and gtk3 are both installed
Supplements: (flatpak and gtk3)
%endif
%description
A backend implementation for xdg-desktop-portal that is using GTK+ and various
@ -42,6 +46,9 @@ org.gnome.SessionManager D-Bus interfaces.
%changelog
* Fri Feb 17 2017 Kalev Lember <klember@redhat.com> - 0.5-3
- Use rich deps to pull in this package when flatpak and gtk3 are both installed
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild