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/libdex] rawhide: Switch to gnome-srpm-macros macros
Date: Thu, 02 Jul 2026 15:28:11 GMT	[thread overview]
Message-ID: <178300609141.1.10396450511062741100.rpms-libdex-a2a6e93a0c8e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libdex
            Branch : rawhide
            Commit : a2a6e93a0c8e183b63c9acf59a0e2f14d12899f4
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T17:26:44+02:00
            Stats  : +6/-31 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/libdex/c/a2a6e93a0c8e183b63c9acf59a0e2f14d12899f4?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index c7cf013..e1df15d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,27 +1,2 @@
-/libdex-0.1.0.tar.xz
-/libdex-0.1.1.tar.xz
-/libdex-0.2.0.tar.xz
-/libdex-0.3.0.tar.xz
-/libdex-0.3.1.tar.xz
-/libdex-0.4.0.tar.xz
-/libdex-0.4.1.tar.xz
-/libdex-0.4.2.tar.xz
-/libdex-0.4.3.tar.xz
-/libdex-0.5.0.tar.xz
-/libdex-0.5.1.tar.xz
-/libdex-0.6.0.tar.xz
-/libdex-0.6.1.tar.xz
-/libdex-0.7.0.tar.xz
-/libdex-0.7.1.tar.xz
-/libdex-0.8.0.tar.xz
-/libdex-0.8.1.tar.xz
-/libdex-0.9.0.tar.xz
-/libdex-0.9.1.tar.xz
-/libdex-0.10.0.tar.xz
-/libdex-0.11.0.tar.xz
-/libdex-0.11.1.tar.xz
-/libdex-1.0.0.tar.xz
-/libdex-1.1.alpha.tar.xz
-/libdex-1.1.rc.tar.xz
-/libdex-1.1.0.tar.xz
-/libdex-1.2.alpha.tar.xz
+/libdex-*.tar.xz
+/libdex-*-build

diff --git a/libdex.spec b/libdex.spec
index 02c5b58..a60ea4c 100644
--- a/libdex.spec
+++ b/libdex.spec
@@ -1,5 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:    libdex
 Version: 1.2~alpha
 Release: %autorelease
@@ -7,7 +5,9 @@ Summary: a library supporting "Deferred Execution" for GNOME and GTK
 
 License: LGPL-2.1-or-later
 URL:     https://gitlab.gnome.org/GNOME/libdex
-Source0: https://download.gnome.org/sources/libdex/1.1/%{name}-%{tarball_version}.tar.xz
+Source0: https://download.gnome.org/sources/libdex/%{gnome_major_minor_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires: /usr/bin/vapigen
 BuildRequires: gcc
@@ -57,7 +57,7 @@ Requires:    python3-gobject-base-noarch
 This package contains the python3 bindings for %{name}
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %build
 %meson \

                 reply	other threads:[~2026-07-02 15: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=178300609141.1.10396450511062741100.rpms-libdex-a2a6e93a0c8e@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