public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grsync] rawhide: opt-in to packit plus spec cleanup
@ 2026-06-06  6:34 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-06  6:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/grsync
Branch : rawhide
Commit : 879865bf3803fa9a559dcc6786db522ef22a3165
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-06-06T03:33:58-03:00
Stats  : +28/-5 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/grsync/c/879865bf3803fa9a559dcc6786db522ef22a3165?branch=rawhide

Log:
opt-in to packit plus spec cleanup

---
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..d32496d
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,19 @@
+# See the documentation for more information:
+# https://packit.dev/docs/configuration/
+
+specfile_path: grsync.spec
+
+copy_upstream_release_description: false
+
+jobs:
+  - job: pull_from_upstream
+    trigger: release
+    dist_git_branches:
+      - fedora-rawhide
+
+  - job: koji_build
+    trigger: commit
+    allowed_committers: ['packit','all_admins']
+    dist_git_branches:
+      - fedora-rawhide
+

diff --git a/grsync.spec b/grsync.spec
index 167d699..3867845 100644
--- a/grsync.spec
+++ b/grsync.spec
@@ -1,17 +1,19 @@
-%define _legacy_common_support 1
-
 Name:           grsync
 Version:        1.3.1
 Release:        %autorelease
 Summary:        A Gtk+ GUI for rsync
-# Automatically converted from old format: GPLv2 - review is highly recommended.
 License:        GPL-2.0-only
 URL:            http://www.opbyte.it/grsync/
 Source0:        http://www.opbyte.it/release/%{name}-%{version}.tar.gz
+
+BuildRequires:  desktop-file-utils
 BuildRequires:  gcc
-BuildRequires:  gtk3-devel desktop-file-utils gettext perl(XML::Parser)
+BuildRequires:  gettext
+BuildRequires:  gtk3-devel
 BuildRequires:  intltool
 BuildRequires:  make
+BuildRequires:  perl(XML::Parser)
+
 Requires:       polkit
 
 %description
@@ -44,9 +46,11 @@ desktop-file-install \
     --add-category=GTK \
     --dir=%{buildroot}%{_datadir}/applications/ \
     %{buildroot}/%{_datadir}/applications/%{name}.desktop
-
 %find_lang %{name}
 
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
 %files -f %{name}.lang
 %doc AUTHORS ChangeLog NEWS README
 %license COPYING

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-06  6:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06  6:34 [rpms/grsync] rawhide: opt-in to packit plus spec cleanup Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox