public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/switcheroo-control] rawhide: Use macros in `Source0`
Date: Fri, 03 Jul 2026 09:10:19 GMT [thread overview]
Message-ID: <178306981959.1.10884539110569519691.rpms-switcheroo-control-80755eaaed84@fedoraproject.org> (raw)
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)
reply other threads:[~2026-07-03 9:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178306981959.1.10884539110569519691.rpms-switcheroo-control-80755eaaed84@fedoraproject.org \
--to=mcrha@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox