From 461ba374af7d5e3efb0c2cc64d402270ade269dd Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 27 Sep 2022 08:24:06 -0400 Subject: [PATCH] import flatpak-xdg-utils-1.0.5-1.el9 --- .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 861e39f..5f64ef4 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: 5%{?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 +* Fri Mar 25 2022 Debarshi Ray - 1.0.5-1 +- Update to 1.0.5 +- Enable installed tests +Resolves: #2062206 + * Mon Aug 09 2021 Mohan Boddu - 1.0.4-5 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688