Manually specify Source instead of using forge macros
[skip changelog]
This commit is contained in:
parent
0b0e2bb060
commit
f106e237de
1 changed files with 4 additions and 10 deletions
14
aerc.spec
14
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue