[Bug 1935610] Review Request: fdesc - CLI tools to generate fake description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #1 from Robert-André Mauchin 🐧 <zebob.m@xxxxxxxxx> ---
 - You can use %set_build_flags instead of:

export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"

 - You can't use master for the archive as it will change with new commit. You
should instead define the commit you want packaged:

%global commit          57bc98c139d13f1f79404c72445193e8fcdfcc60
%global snapshotdate    20210316
%global shortcommit     %(c=%{commit}; echo ${c:0:7})

[…]

Release:        0.1%{snapshotdate}git%{shortcommit}%{?dist}

[…]

Source0:        %url/archive/%{commit}/%{name}-%{shortcommit}.tar.gz

[…]

%autosetup -n %{name}-%{commit}

[…]

* Wed Mar  3 2021 msoodb <masoud.bolhassani@xxxxxxxxx> -
0-0.1.20210316git57bc98c

 - Release should start at 0.1 for a prerelease

 - Remove trailing spaces


-- 
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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux