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



--- Comment #5 from Robert-André Mauchin 🐧 <[email protected]> ---
Actually it would be nice to add the license file directly too :


# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/minio/selfupdate
%global goipath         github.com/minio/selfupdate
Version:                0.6.0

%gometa -f


%global common_description %{expand:
Build self-updating Go programs.}

%global golicenses      NOTICE LICENSE.minisig LICENSE\\\
                        LICENSE-binarydist LICENSE-osext
%global godocs          README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Build self-updating Go programs

# Main library: Apache-2.0
# internal/binarydist: MIT
# internal/osext: BSD-3-Clause
License:        Apache-2.0 AND BSD-3-Clause AND MIT
URL:            %{gourl}
Source:         %{gosource}

BuildRequires:  bsdiff

%description %{common_description}

%gopkg

%prep
%goprep
%autopatch -p1
mv internal/binarydist/License LICENSE-binarydist
mv internal/osext/LICENSE LICENSE-osext

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog


-- 
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=2215869

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202215869%23c5
_______________________________________________
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