https://bugzilla.redhat.com/show_bug.cgi?id=2109838
Robert-André Mauchin 🐧 <zebob.m(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|nobody(a)fedoraproject.org |zebob.m(a)gmail.com
Flags| |fedora-review?
| |needinfo?(mark.e.fuller@gmx
| |.de)
Doc Type|--- |If docs needed, set a value
Status|NEW |ASSIGNED
CC| |zebob.m(a)gmail.com
--- Comment #2 from Robert-André Mauchin 🐧 <zebob.m(a)gmail.com> ---
- Update to 65.45.0
- Update to SPDX licensing. Also it is dual licensed with UPL
- Don't disable the entire check section
- don't leave this if you are not packaging the library :
%files
%license LICENSE.txt NOTICE.txt
%doc example CHANGELOG.md CONTRIBUTING.md README.md THIRD_PARTY_LICENSES.txt
%doc THIRD_PARTY_LICENSES_DEV.txt
- use latest go2rpm for you spec:
# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}
#
https://github.com/oracle/oci-go-sdk
%global goipath
github.com/oracle/oci-go-sdk/v65
Version: 65.45.0
%gometa -f
%global common_description %{expand:
Go SDK for Oracle Cloud Infrastructure.}
%global golicenses LICENSE.txt NOTICE.txt
%global godocs example CHANGELOG.md CONTRIBUTING.md README.md\\\
SECURITY.md
Name: %{goname}
Release: %autorelease
Summary: Go SDK for Oracle Cloud Infrastructure
License: Apache-2.0 OR UPL-1.0
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%autopatch -p1
%generate_buildrequires
%go_generate_buildrequires
%install
%gopkginstall
%if %{with check}
%check
for test in "TestUploadFileMultiparts" \
"TestUploadStreamMultiparts" \
"TestUploadReqest_initDefaultValues" \
"TestUploadFileReqest_initDefaultValues" \
"TestUploadManager_UploadFile" \
"TestUploadManager_UploadStream" \
; do
awk -i inplace '/^func.*'"$test"'\(/ { print; print
"\tt.Skip(\"disabled
failing test\")"; next}1' $(grep -rl $test)
done
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog
Needinfo when you have fixed the issues.
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2109838
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...