Split flatpak-spawn into a separate sub-package
The org.freedesktop.Flatpak user D-Bus service isn't just used by flatpak(1) or applications running as Flatpaks. It's also used by toolbox(1) for similar reasons: * To keep various configuration files inside the container synchronized with the host * To let the container request certain commands to be run on the host Unfortunately, the utilities other than flatpak-spawn (ie., xdg-email and xdg-email) that are meant to replace their counterparts in the xdg-utils package don't work inside Toolbox containers [1]. Moreover, there are RPM packages out there (eg., google-chrome) that "Require" xdg-utils. This causes conflicts if flatpak-xdg-utils is installed. Since Toolbox only needs flatpak-spawn to be present inside a container, there's no need to pull in the other utilities in the first place. It's a simple way to step around the above problems. [1] https://github.com/flatpak/xdg-desktop-portal/pull/348
This commit is contained in:
parent
3965ad2234
commit
6cc788d519
@ -1,7 +1,7 @@
|
|||||||
Name: flatpak-xdg-utils
|
Name: flatpak-xdg-utils
|
||||||
Summary: Command-line tools for use inside Flatpak sandboxes
|
Summary: Command-line tools for use inside Flatpak sandboxes
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/flatpak/flatpak-xdg-utils
|
URL: https://github.com/flatpak/flatpak-xdg-utils
|
||||||
Source: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
Source: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
@ -10,10 +10,22 @@ BuildRequires: gcc
|
|||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
|
||||||
|
Requires: flatpak-spawn%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains a number of command-line utilities for use inside
|
This package contains a number of command-line utilities for use inside
|
||||||
Flatpak sandboxes. They work by talking to portals.
|
Flatpak sandboxes. They work by talking to portals.
|
||||||
|
|
||||||
|
%package flatpak-spawn
|
||||||
|
Summary: Command-line frontend for the org.freedesktop.Flatpak service
|
||||||
|
License: LGPLv2+
|
||||||
|
Conflicts: flatpak-xdg-utils < 1.0.0-4
|
||||||
|
|
||||||
|
%description flatpak-spawn
|
||||||
|
This package contains the flatpak-spawn command-line utility. It can be
|
||||||
|
used to talk to the org.freedesktop.Flatpak service to spawn new sandboxes,
|
||||||
|
run commands on the host, or use one of the session or system helpers.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
@ -27,10 +39,17 @@ Flatpak sandboxes. They work by talking to portals.
|
|||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%{_bindir}/xdg-email
|
||||||
|
%{_bindir}/xdg-open
|
||||||
|
|
||||||
%{_bindir}/*
|
%files flatpak-spawn
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/flatpak-spawn
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 13 2019 Debarshi Ray <rishi@fedoraproject.org> - 1.0.0-4
|
||||||
|
- Split flatpak-spawn into a separate sub-package
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user