public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/dconf-editor] rawhide: Switch to gnome-srpm-macros macros
Date: Wed, 01 Jul 2026 06:46:13 GMT	[thread overview]
Message-ID: <178288837319.1.2132418514912709399.rpms-dconf-editor-8880d2ed77f9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/dconf-editor
            Branch : rawhide
            Commit : 8880d2ed77f96275249cf3ad15bcf45164d1fcb8
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-01T08:44:49+02:00
            Stats  : +6/-62 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/dconf-editor/c/8880d2ed77f96275249cf3ad15bcf45164d1fcb8?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index b4958f8..5bd121e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,58 +1,2 @@
-/dconf-editor-3.15.91.tar.xz
-/dconf-editor-3.15.92.tar.xz
-/dconf-editor-3.16.0.tar.xz
-/dconf-editor-3.16.1.tar.xz
-/dconf-editor-3.17.1.tar.xz
-/dconf-editor-3.17.90.tar.xz
-/dconf-editor-3.17.91.tar.xz
-/dconf-editor-3.17.92.tar.xz
-/dconf-editor-3.18.0.tar.xz
-/dconf-editor-3.18.1.tar.xz
-/dconf-editor-3.18.2.tar.xz
-/dconf-editor-3.19.2.tar.xz
-/dconf-editor-3.19.3.tar.xz
-/dconf-editor-3.19.90.tar.xz
-/dconf-editor-3.19.91.tar.xz
-/dconf-editor-3.19.92.tar.xz
-/dconf-editor-3.20.0.tar.xz
-/dconf-editor-3.20.1.tar.xz
-/dconf-editor-3.21.1.tar.xz
-/dconf-editor-3.21.4.tar.xz
-/dconf-editor-3.21.90.tar.xz
-/dconf-editor-3.21.92.tar.xz
-/dconf-editor-3.22.1.tar.xz
-/dconf-editor-3.23.4.tar.xz
-/dconf-editor-3.26.1.tar.xz
-/dconf-editor-3.26.2.tar.xz
-/dconf-editor-3.27.91.tar.xz
-/dconf-editor-3.27.92.tar.xz
-/dconf-editor-3.28.0.tar.xz
-/dconf-editor-3.29.90.tar.xz
-/dconf-editor-3.30.0.tar.xz
-/dconf-editor-3.30.2.tar.xz
-/dconf-editor-3.31.4.tar.xz
-/dconf-editor-3.31.90.tar.xz
-/dconf-editor-3.31.91.tar.xz
-/dconf-editor-3.32.0.tar.xz
-/dconf-editor-3.33.4.tar.xz
-/dconf-editor-3.33.90.tar.xz
-/dconf-editor-3.33.91.tar.xz
-/dconf-editor-3.34.1.tar.xz
-/dconf-editor-3.34.2.tar.xz
-/dconf-editor-3.34.3.tar.xz
-/dconf-editor-3.35.90.tar.xz
-/dconf-editor-3.35.91.tar.xz
-/dconf-editor-3.36.0.tar.xz
-/dconf-editor-3.36.2.tar.xz
-/dconf-editor-3.36.4.tar.xz
-/dconf-editor-3.37.91.tar.xz
-/dconf-editor-3.38.0.tar.xz
-/dconf-editor-3.38.2.tar.xz
-/dconf-editor-3.38.3.tar.xz
-/dconf-editor-43.alpha.tar.xz
-/dconf-editor-43.beta.tar.xz
-/dconf-editor-43.0.tar.xz
-/dconf-editor-45.0.tar.xz
-/dconf-editor-45.0.1.tar.xz
-/dconf-editor-49.rc.tar.xz
-/dconf-editor-49.0.tar.xz
+/dconf-editor-*.tar.xz
+/dconf-editor-*-build

diff --git a/dconf-editor.spec b/dconf-editor.spec
index d9a1416..c9c373f 100644
--- a/dconf-editor.spec
+++ b/dconf-editor.spec
@@ -2,8 +2,6 @@
 %global glib2_version 2.56.0
 %global gtk3_version 3.22.27
 
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:           dconf-editor
 Version:        49.0
 Release:        %autorelease
@@ -11,9 +9,11 @@ Summary:        Configuration editor for dconf
 
 License:        GPL-3.0-or-later AND CC0-1.0
 URL:            https://wiki.gnome.org/Projects/dconf
-Source0:        https://download.gnome.org/sources/dconf-editor/49/dconf-editor-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
 Source1:        https://raw.githubusercontent.com/flathub/ca.desrt.dconf-editor/master/start-dconf-editor.sh
 
+%gnome_check_version
+
 BuildRequires:  /usr/bin/appstream-util
 BuildRequires:  desktop-file-utils
 BuildRequires:  gettext
@@ -34,7 +34,7 @@ Requires:       gtk3%{?_isa} >= %{gtk3_version}
 Graphical tool for editing the dconf configuration database.
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %build
 %meson

                 reply	other threads:[~2026-07-01  6:46 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=178288837319.1.2132418514912709399.rpms-dconf-editor-8880d2ed77f9@fedoraproject.org \
    --to=mcrha@redhat.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