From f106e237de027961df2bf7b960157122e0925647 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Sun, 4 Sep 2022 14:40:48 -0500 Subject: [PATCH] Manually specify Source instead of using forge macros [skip changelog] --- aerc.spec | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/aerc.spec b/aerc.spec index f05d775..718f175 100644 --- a/aerc.spec +++ b/aerc.spec @@ -3,16 +3,8 @@ # https://git.sr.ht/~rjarry/aerc %global goipath git.sr.ht/~rjarry/aerc -%global forgeurl https://git.sr.ht/~rjarry/aerc Version: 0.10.0 -%global tag 0.10.0 -%global repo aerc -%global archivename %{repo}-%{tag} -%global archiveext tar.gz -%global archiveurl %{forgeurl}/archive/%{tag}.%{archiveext} -%global topdir %{archivename} -%global extractdir %{archivename} -%global scm git +%global topdir %{name}-%{version} %gometa @@ -29,7 +21,9 @@ Summary: Email client for your terminal License: MIT URL: %{gourl} -Source0: %{gosource} +# The forge macros don't support Sourcehut. +# https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/209 +Source: %{gourl}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Disable building of aerc that we handle manually in the SPEC Patch0: aerc-fix-makefile.patch