public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/g4music] rawhide: Fix arguments to appstream-util
Date: Thu, 16 Jul 2026 16:17:46 GMT [thread overview]
Message-ID: <178421866626.1.12790841677232078496.rpms-g4music-513d7b0b7f45@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-16 16:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178421866626.1.12790841677232078496.rpms-g4music-513d7b0b7f45@fedoraproject.org \
--to=loganjerry@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox