From 427e8cf25ce5170a6ce98e0c12c33933489c92f9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 27 Sep 2022 09:19:35 -0400 Subject: [PATCH] import flatpak-xdg-utils-1.0.5-1.el8 --- .flatpak-xdg-utils.metadata | 2 +- .gitignore | 2 +- SPECS/flatpak-xdg-utils.spec | 24 +++++++++++++++++++++--- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.flatpak-xdg-utils.metadata b/.flatpak-xdg-utils.metadata index ce87902..f8c80d0 100644 --- a/.flatpak-xdg-utils.metadata +++ b/.flatpak-xdg-utils.metadata @@ -1 +1 @@ -317cc9ee168116b2772e3dff6e305538c2f7c567 SOURCES/flatpak-xdg-utils-1.0.4.tar.xz +071134e11c1eac1d1b6ab9842a9762f377619046 SOURCES/flatpak-xdg-utils-1.0.5.tar.xz diff --git a/.gitignore b/.gitignore index 984461e..ad15fbd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/flatpak-xdg-utils-1.0.4.tar.xz +SOURCES/flatpak-xdg-utils-1.0.5.tar.xz diff --git a/SPECS/flatpak-xdg-utils.spec b/SPECS/flatpak-xdg-utils.spec index 1cc0030..5c49fb0 100644 --- a/SPECS/flatpak-xdg-utils.spec +++ b/SPECS/flatpak-xdg-utils.spec @@ -1,7 +1,7 @@ Name: flatpak-xdg-utils Summary: Command-line tools for use inside Flatpak sandboxes -Version: 1.0.4 -Release: 4%{?dist} +Version: 1.0.5 +Release: 1%{?dist} License: LGPLv2+ URL: https://github.com/flatpak/flatpak-xdg-utils Source: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz @@ -25,11 +25,20 @@ 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. +%package tests +Summary: Tests for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: flatpak-spawn%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description tests +This package contains installed tests for %{name}. + %prep %autosetup %build -%meson +%meson -Dinstalled_tests=true %meson_build %install @@ -48,7 +57,16 @@ mv $RPM_BUILD_ROOT%{_bindir}/xdg-open $RPM_BUILD_ROOT%{_bindir}/flatpak-xdg-open %license COPYING %{_bindir}/flatpak-spawn +%files tests +%{_datadir}/installed-tests +%{_libexecdir}/installed-tests + %changelog +* Tue Apr 05 2022 Debarshi Ray - 1.0.5-1 +- Update to 1.0.5 +- Enable installed tests +Resolves: #2068332 + * Fri Feb 05 2021 Kalev Lember - 1.0.4-4 - Add flatpak- prefix to executables to avoid conflicting with xdg-utils