From 54880438cbb2bfcd889d7976ce1f06db40b8e579 Mon Sep 17 00:00:00 2001 From: madomado Date: Fri, 28 Feb 2025 11:38:55 +0800 Subject: [PATCH] fix(astal-gtk): use %git_clone instead (#3566) Signed-off-by: madomado --- anda/lib/astal/astal-gtk/astal-gtk.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/anda/lib/astal/astal-gtk/astal-gtk.spec b/anda/lib/astal/astal-gtk/astal-gtk.spec index 95ae7682e1..4494a70315 100644 --- a/anda/lib/astal/astal-gtk/astal-gtk.spec +++ b/anda/lib/astal/astal-gtk/astal-gtk.spec @@ -1,14 +1,12 @@ %global commit b7f10b9 -%global shortcommit %{sub %commit 1 7} %global commit_date 20250227 Name: astal -Version: 0^%commit_date.%shortcommit +Version: 0^%commit_date.%commit Release: 1%?dist Summary: Building blocks for creating custom desktop shells License: LGPL-2.1-only URL: https://aylur.github.io/astal -Source0: https://github.com/Aylur/astal/archive/%commit.tar.gz Packager: madonuko BuildRequires: meson gobject-introspection vala valadoc cmake BuildRequires: pkgconfig(astal-io-0.1) @@ -59,7 +57,7 @@ This package contains development files and documentation for astal-gtk4. %prep -%autosetup -n astal-%commit +%git_clone https://github.com/Aylur/astal %build my_build() {