public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/quassel] epel10.2: Use upstream AppStream metadata
Date: Wed, 07 Oct 2026 20:28:34 GMT [thread overview]
Message-ID: <179140491428.1.2475352391535969157.rpms-quassel-dadd1cafbea6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/quassel
Branch : epel10.2
Commit : dadd1cafbea63ed0f7eac1dcc7527d18103f4eea
Author : Timothée Ravier <tim@siosm.fr>
Date : 2022-02-10T17:45:46+01:00
Stats : +8/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/quassel/c/dadd1cafbea63ed0f7eac1dcc7527d18103f4eea?branch=epel10.2
Log:
Use upstream AppStream metadata
See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
---
diff --git a/quassel.spec b/quassel.spec
index 86ab182..99177ae 100755
--- a/quassel.spec
+++ b/quassel.spec
@@ -55,10 +55,6 @@ Source1: quasselcore.service
Source2: quassel.conf
Source3: quassel.sysusers
-# Appstream metadata, for GNOME Software.
-Source4: quassel.appdata.xml
-Source5: quasselclient.appdata.xml
-
%description
Quassel IRC is a modern, distributed IRC client,
meaning that one (or multiple) client(s) can attach
@@ -123,10 +119,12 @@ install -Dp -m 0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf
# Home directory for quassel user
install -d -m 0750 %{buildroot}/%{quassel_data_dir}
-# Install the appdata files.
-mkdir %{buildroot}%{_datadir}/appdata/
-cp -a %{SOURCE4} %{SOURCE5} %{buildroot}%{_datadir}/appdata/
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
+# Install AppStream metadata
+install -d -m 0755 %{buildroot}%{_datadir}/metainfo
+install -p -m 0644 data/*.appdata.xml %{buildroot}%{_datadir}/metainfo/
+
+%check
+appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
# Core pre/post macros.
%pre core
@@ -145,7 +143,7 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata
%files
%{_kf5_bindir}/quassel
%{_kf5_datadir}/applications/quassel.desktop
-%{_datadir}/appdata/quassel.appdata.xml
+%{_datadir}/metainfo/quassel.appdata.xml
%files common
%doc README.md
@@ -172,6 +170,7 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata
%changelog
* Thu Feb 10 2022 Timothée Ravier <tim@siosm.fr> - 0.13.1-11
- Use systemd sysusers config to create user and group
+- Use upstream AppStream metadata
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
reply other threads:[~2026-10-07 20:28 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=179140491428.1.2475352391535969157.rpms-quassel-dadd1cafbea6@fedoraproject.org \
--to=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