https://bugzilla.redhat.com/show_bug.cgi?id=2489821



--- Comment #11 from Neal Gompa <[email protected]> ---
> %global url https://codeberg.org/thomasadam/cow
> %global base_version 0.1
> %global vcshash bef2523
> %global vcsdate 20260622
>

You don't need %vcshash or %vcsdate when shipping a tag.

> Name:           cow
> Version:        %{base_version}~git%{vcsdate}.%{vcshash}

Since you're shipping a tag, it's just "0.1".

> 
> [...]
>
> URL:            %{url}

"URL:" defines %{url}, so this is pointless. Just put the URL in the "URL:"
field.

> Source0:        
> %{url}/archive/%{base_version}.tar.gz#/%{name}-%{vcshash}.tar.gz

When you're actually shipping a tag, you can do it more simply:
"%{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz".


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2489821

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202489821%23c11

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to