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

Robert-André Mauchin 🐧 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Doc Type|---                         |If docs needed, set a value



--- Comment #1 from Robert-André Mauchin 🐧 <[email protected]> ---
 - Why don't youu define the full commit like this:

%global commit0 627468b537befb16c0d04e426450b2fe7eb85c9f
%global shortcommit0 %(c=%{commit}; echo ${c:0:7})
%global date0   20170903

 - This is the opposite: date first, then short commit:

Release:        0.1.%{date0}git%{shortcommit0}%{?dist}

[…]

%changelog
* Thu Mar 04 2021 Raphael Groner <[email protected]> -
0-0.1.20170903git627468b
- Initial package

 - Use then

%prep
%autosetup -n %{name}-%{commit0}

 - Use a better name for the archive:

Source0:        %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz

 - date should be the date you took the snapshot not the date of the commit


-- 
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
_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to