public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/blueprint-compiler] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-01 6:28 Milan Crha
0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-01 6:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/blueprint-compiler
Branch : rawhide
Commit : c2a5416c26155f5cc226e540a072bd8da522d030
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-07-01T08:27:30+02:00
Stats : +4/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/blueprint-compiler/c/c2a5416c26155f5cc226e540a072bd8da522d030?branch=rawhide
Log:
Switch to gnome-srpm-macros macros
[skip changelog]
---
diff --git a/blueprint-compiler.spec b/blueprint-compiler.spec
index 4583e2e..70e4dca 100644
--- a/blueprint-compiler.spec
+++ b/blueprint-compiler.spec
@@ -1,13 +1,12 @@
-%global tarball_version %%(echo %%{version} | tr '~' '.')
-%global major_minor_version %%(echo %%{tarball_version} | cut -d "." -f 1-2)
-
Name: blueprint-compiler
Version: 0.20.4
Release: %autorelease
Summary: A markup language for GTK user interfaces
License: LGPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/blueprint-compiler
-Source0: https://download.gnome.org/sources/%{name}/%{major_minor_version}/%{name}-%{tarball_version}.tar.xz
+Source0: https://download.gnome.org/sources/%{name}/%{gnome_major_minor_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
BuildArch: noarch
@@ -31,7 +30,7 @@ increase adoption of cool advanced features like GtkExpression.
%prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
%build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-01 6:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01 6:28 [rpms/blueprint-compiler] 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