public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ristretto] f44: Modernize %install and %files sections
Date: Fri, 12 Jun 2026 23:23:55 GMT	[thread overview]
Message-ID: <178130663538.1.12803127569923708367.rpms-ristretto-49ac4eff006d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ristretto
            Branch : f44
            Commit : 49ac4eff006df7b885f990c600465f8c1a1dcd18
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-03-14T13:31:24-03:00
            Stats  : +5/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ristretto/c/49ac4eff006df7b885f990c600465f8c1a1dcd18?branch=f44

            Log:
            Modernize %install and %files sections

- Switch to appstreamcli validate
- Use more specific file paths in %files
- Add comments and use modern macros

---
diff --git a/ristretto.spec b/ristretto.spec
index 38de308..d245acc 100644
--- a/ristretto.spec
+++ b/ristretto.spec
@@ -52,6 +52,7 @@ Desktop-Umgebung.
 
 %find_lang %{name}
 
+# Add missing MIME types to the desktop file
 desktop-file-install \
         --dir %{buildroot}%{_datadir}/applications \
         --add-mime-type=image/x-bmp \
@@ -62,15 +63,16 @@ desktop-file-install \
         --delete-original \
         %{buildroot}%{_datadir}/applications/org.xfce.%{name}.desktop
 
-appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
+# Validate AppData file
+appstreamcli validate --no-net %{buildroot}%{_metainfodir}/*.appdata.xml
 
 %files -f %{name}.lang
 %license COPYING
 %doc AUTHORS NEWS
 %{_bindir}/%{name}
-%{_datadir}/applications/*%{name}.desktop
+%{_datadir}/applications/org.xfce.%{name}.desktop
 %{_datadir}/icons/hicolor/*/*/*
-%{_metainfodir}/*.appdata.xml
+%{_metainfodir}/org.xfce.%{name}.appdata.xml
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-06-12 23:23 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=178130663538.1.12803127569923708367.rpms-ristretto-49ac4eff006d@fedoraproject.org \
    --to=rosset.filipe@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