#1238 Add sourcehut
Merged by tibbs. Opened by fed500.
Unknown source master

Download 1238.patch

Instructions for using commits from git on Sourcehut

rebased onto 44fa4d4faaf8e94a5714eb5de7c399eb9ac22243

Pull-Request has been merged by tibbs

These are both wrong. It should be:

Source:  https://git.sr.ht/~OWNER/PROJECT/archive/%{shortcommit}.tar.gz#/PROJECT-%{shortcommit}.tar.gz
Source: https://git.sr.ht/~OWNER/PROJECT/archive/%{version}.tar.gz#/PROJECT-%{version}.tar.gz

The tarballs are downloaded from git.sr.ht not sr.ht, and they should be renamed to avoid %_sourcedir conflicts.

Thanks for the fix. Yes git is missing. The extra #/PROJECT-%{shortcommit}.tar.gz and #/PROJECT-%{version}.tar.gz seem unnecessary. Used in https://src.fedoraproject.org/rpms/harec/blob/rawhide/f/harec.spec

Hmm. Well, not being a user of sourcehut, I have to assume that anyone willing to submit a PR would ensure its correctness. Can someone submit a fixup PR? I can do it but given the disagreement over the format, maybe I should just revert.

Checking.

Submitted update in a pull request. The extra #/PROJECT-%{shortcommit}.tar.gz and #/PROJECT-%{version}.tar.gz are used for BitBucket as well.

See https://pagure.io/packaging-committee/pull-request/1254

Metadata