public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/g4music] rawhide: Fix arguments to appstream-util
@ 2026-07-16 16:17 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-16 16:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/g4music
Branch : rawhide
Commit : 513d7b0b7f45992066bbf38b315468bddd343a09
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-16T10:17:32-06:00
Stats : +15/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/g4music/c/513d7b0b7f45992066bbf38b315468bddd343a09?branch=rawhide
Log:
Fix arguments to appstream-util
---
diff --git a/g4music-appstream-util.patch b/g4music-appstream-util.patch
new file mode 100644
index 0000000..d68e833
--- /dev/null
+++ b/g4music-appstream-util.patch
@@ -0,0 +1,11 @@
+--- g4music-v4.6.2-36f55b7395df4c27dc195a275248f70373869367/data/meson.build.orig 2026-06-26 21:39:39.000000000 -0600
++++ g4music-v4.6.2-36f55b7395df4c27dc195a275248f70373869367/data/meson.build 2026-07-16 10:14:14.911478317 -0600
+@@ -56,7 +56,7 @@ if not appstreamcli.found()
+ endif
+ if appstreamcli.found()
+ test('Validate appstream file', appstreamcli,
+- args: ['validate', '--no-net', '--explain', appstream_file],
++ args: ['validate-relax', '--nonet', appstream_file],
+ suite: ['lint'],
+ )
+ endif
diff --git a/g4music.spec b/g4music.spec
index e761999..ce61b22 100644
--- a/g4music.spec
+++ b/g4music.spec
@@ -12,6 +12,8 @@ License: GPL-3.0-or-later AND GPL-2.0-or-later AND CC0-1.0
URL: https://gitlab.gnome.org/neithern/g4music
VCS: git:%{url}.git
Source: %{url}/-/archive/v%{version}/%{name}-%{version}.tar.gz
+# Set the arguments to appstream-util to those in the Packaging Guidelines
+Patch: %{name}-appstream-util.patch
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@@ -56,7 +58,7 @@ Features:
- Supports MPRIS control.
%prep
-%autosetup -n %{name}-v%{version}-%{commit}
+%autosetup -n %{name}-v%{version}-%{commit} -p1
%build
%meson --buildtype=release
@@ -65,11 +67,9 @@ Features:
%install
%meson_install
%find_lang %{name}
-appstream-util validate-relax --nonet \
- %{buildroot}%{_metainfodir}/com.github.neithern.g4music.metainfo.xml
%check
-# Note that the tests run desktop-file-validate
+# Note that the tests run desktop-file-validate and appstream-util
%meson_test
%files -f %{name}.lang
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-16 16:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 16:17 [rpms/g4music] rawhide: Fix arguments to appstream-util Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox