fix(astal-gtk): use %git_clone instead (#3566)

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2025-02-28 11:38:55 +08:00
committed by GitHub
parent 861103b50c
commit 54880438cb
+2 -4
View File
@@ -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 <mado@fyralabs.com>
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() {