[dev] Upgrade swig (#748)

* upgrade swig

* fix linting

* update licensing

* update URLs and linting

Co-authored-by: Henry Li <lihl@microsoft.com>
This commit is contained in:
Henry Li 2021-03-15 12:55:57 -07:00 committed by GitHub
parent 8942456119
commit 74f75700cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 18 deletions

View File

@ -1,5 +1,5 @@
{
"Signatures": {
"swig-3.0.12.tar.gz": "7cf9f447ae7ed1c51722efc45e7f14418d15d7a1e143ac9f09a668999f4fc94d"
"swig-4.0.2.tar.gz": "d53be9730d8d58a16bf0cbd1f8ac0c0c3e1090573168bfa151b01eb47fa906fc"
}
}

View File

@ -1,15 +1,14 @@
Summary: Connects C/C++/Objective C to some high-level programming languages
Name: swig
Version: 3.0.12
Release: 4%{?dist}
License: GPLv3+
URL: http://swig.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
%define sha1 swig=5cc1af41d041e4cc609580b99bb3dcf720effa25
Summary: Connects C/C++/Objective C to some high-level programming languages
Name: swig
Version: 4.0.2
Release: 1%{?dist}
License: GPLv3+ AND BSD
Vendor: Microsoft Corporation
Distribution: Mariner
BuildRequires: pcre-devel
Requires: pcre
URL: https://swig.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
BuildRequires: pcre-devel
Requires: pcre
%description
Simplified Wrapper and Interface Generator (SWIG) is a software
@ -46,26 +45,37 @@ ln -fs ../../bin/ccache-swig %{buildroot}%{_libdir}/ccache/swig
make %{?_smp_mflags} check
%files
%license LICENSE
%license LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
%{_bindir}/*
%{_datadir}/swig
%{_libdir}/ccache
%changelog
* Mon Mar 15 2021 Henry Li <lihl@microsoft.com> - 4.0.2-1
- Upgrade to version 4.0.2. License Verified.
- Correct licensing.
- Remove sha1 define
* Sat May 09 00:21:36 PST 2020 Nick Samson <nisamson@microsoft.com> - 3.0.12-4
- Added %%license line automatically
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 3.0.12-3
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue May 02 2017 Vinay Kulkarni <kulkarniv@vmware.com> 3.0.12-2
- Correct the license.
* Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 3.0.12-1
- Update to version 3.0.12
* Tue Oct 04 2016 ChangLee <changlee@vmware.com> 3.0.8-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.8-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com> 3.0.8-1
- Upgrade to 3.0.8
* Thu Feb 26 2015 Divya Thaluru <dthaluru@vmware.com> 3.0.5-1
- Initial version

View File

@ -5786,8 +5786,8 @@
"type": "other",
"other": {
"name": "swig",
"version": "3.0.12",
"downloadUrl": "http://downloads.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz"
"version": "4.0.2",
"downloadUrl": "https://downloads.sourceforge.net/project/swig/swig/swig-4.0.2/swig-4.0.2.tar.gz"
}
}
},

View File

@ -562,8 +562,8 @@ sqlite-3.32.3-2.cm1.aarch64.rpm
sqlite-debuginfo-3.32.3-2.cm1.aarch64.rpm
sqlite-devel-3.32.3-2.cm1.aarch64.rpm
sqlite-libs-3.32.3-2.cm1.aarch64.rpm
swig-3.0.12-4.cm1.aarch64.rpm
swig-debuginfo-3.0.12-4.cm1.aarch64.rpm
swig-4.0.2-1.cm1.aarch64.rpm
swig-debuginfo-4.0.2-1.cm1.aarch64.rpm
systemd-239-37.cm1.aarch64.rpm
systemd-bootstrap-239-31.cm1.aarch64.rpm
systemd-bootstrap-debuginfo-239-31.cm1.aarch64.rpm

View File

@ -562,8 +562,8 @@ sqlite-3.32.3-2.cm1.x86_64.rpm
sqlite-debuginfo-3.32.3-2.cm1.x86_64.rpm
sqlite-devel-3.32.3-2.cm1.x86_64.rpm
sqlite-libs-3.32.3-2.cm1.x86_64.rpm
swig-3.0.12-4.cm1.x86_64.rpm
swig-debuginfo-3.0.12-4.cm1.x86_64.rpm
swig-4.0.2-1.cm1.x86_64.rpm
swig-debuginfo-4.0.2-1.cm1.x86_64.rpm
systemd-239-37.cm1.x86_64.rpm
systemd-bootstrap-239-31.cm1.x86_64.rpm
systemd-bootstrap-debuginfo-239-31.cm1.x86_64.rpm