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



--- Comment #17 from Neal Gompa <[email protected]> ---
(In reply to Neal Gompa from comment #15)
> (In reply to Martin Perina from comment #14)
> > (In reply to Pierre-YvesChibon from comment #13)
> > > $ wget
> > > https://github.com/containers/hirte/archive/hirte-0.1.0/hirte-0.1.0.tar.gz
> > > ..
> > > 2023-03-27 16:49:30 ERROR 404: Not Found.
> > > 
> > > Same for 0.1.1
> > > 
> > > Granted,
> > > https://github.com/containers/hirte/archive/refs/tags/hirte-0.1.1.tar.gz
> > > also returns a 404 :(
> > 
> > :-(
> > 
> > Looks like GitHub is performing different magic based on the tag name used.
> > 
> > I'm going to revert to the official URL from the GitHub release page:
> > 
> > https://github.com/containers/hirte/archive/refs/tags/v0.1.1.tar.gz
> 
> This works:
> https://github.com/containers/hirte/archive/v0.1.1/hirte-0.1.1.tar.gz
> 
> Please use "%{url}/archive/v%{version}/%{name}-%{version}.tar.gz"


This means that the inner folder in the archive will be %{name}-%{version}, so
you don't need -n for %autosetup at all.


-- 
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=2180450
_______________________________________________
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://pagure.io/fedora-infrastructure/new_issue

Reply via email to