public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libdex] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-02 15:28 Milan Crha
  0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-02 15:28 UTC (permalink / raw)
  To: git-commits

            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 \

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

only message in thread, other threads:[~2026-07-02 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 15:28 [rpms/libdex] rawhide: Switch to gnome-srpm-macros macros Milan Crha

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