Manually specify Source instead of using forge macros

[skip changelog]
This commit is contained in:
Maxwell G 2022-09-04 14:40:48 -05:00
commit f106e237de
No known key found for this signature in database
GPG key ID: F79E4E25E8C661F8

View file

@ -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