public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/switcheroo-control] rawhide: Use macros in `Source0`
@ 2026-07-03 9:10 Milan Crha
0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-03 9:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/switcheroo-control
Branch : rawhide
Commit : 80755eaaed84fc8ab9d2fca17e99199fe16d4e2c
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-07-03T11:08:21+02:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/switcheroo-control/c/80755eaaed84fc8ab9d2fca17e99199fe16d4e2c?branch=rawhide
Log:
Use macros in `Source0`
Easier to change the version only on one place than multiple.
[skip changelog]
---
diff --git a/switcheroo-control.spec b/switcheroo-control.spec
index 8590a41..afc5c66 100644
--- a/switcheroo-control.spec
+++ b/switcheroo-control.spec
@@ -6,7 +6,7 @@ Summary: D-Bus service to check the availability of dual-GPU
License: GPL-3.0-only
URL: https://gitlab.freedesktop.org/hadess/switcheroo-control/
# URL from https://gitlab.freedesktop.org/hadess/switcheroo-control/-/releases
-Source0: https://gitlab.freedesktop.org/hadess/switcheroo-control/-/releases/3.0/downloads/switcheroo-control-3.0.tar.xz
+Source0: https://gitlab.freedesktop.org/hadess/%{name}/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: pkgconfig(gudev-1.0)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-03 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 9:10 [rpms/switcheroo-control] rawhide: Use macros in `Source0` Milan Crha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox