Use GitHub source tarball for swig (#1247)

This commit is contained in:
Thomas Crain 2021-08-05 15:13:05 -07:00 коммит произвёл GitHub
Родитель 50ce1565ab
Коммит 5750e55737
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 36 добавлений и 42 удалений

Просмотреть файл

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

Просмотреть файл

@ -1,12 +1,13 @@
Summary: Connects C/C++/Objective C to some high-level programming languages
Name: swig
Version: 4.0.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+ AND BSD
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://swig.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
#Source0: https://github.com/swig/swig/archive/refs/tags/v%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildRequires: pcre-devel
Requires: pcre
@ -20,29 +21,28 @@ interpreted programming environments, systems integration, and as a
tool for building user interfaces
%prep
%setup -q -n swig-%{version}
%autosetup
%build
./autogen.sh
%configure \
--without-ocaml \
--without-java \
--without-r \
--without-go
--without-ocaml \
--without-java \
--without-r \
--without-go
make %{?_smp_mflags}
%make_build
%install
make DESTDIR=%{buildroot} install
%make_install
# Enable ccache-swig by default, if ccache is installed.
mkdir -p %{buildroot}%{_libdir}/ccache
ln -fs ../../bin/ccache-swig %{buildroot}%{_libdir}/ccache/swig
%check
make %{?_smp_mflags} check
%make_build check
%files
%license LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
@ -51,31 +51,35 @@ make %{?_smp_mflags} check
%{_libdir}/ccache
%changelog
* Thu Aug 05 2021 Thomas Crain <thcrain@microsoft.com> - 4.0.2-2
- Switch source URL to GitHub version
- Lint spec
* 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
* Sat May 09 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 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.
* 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
* 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 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 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
* 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
* Thu Feb 26 2015 Divya Thaluru <dthaluru@vmware.com> 3.0.5-1
- Initial version

Просмотреть файл

@ -7511,23 +7511,13 @@
}
}
},
{
"component": {
"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"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "swig",
"version": "4.0.2",
"downloadUrl": "https://downloads.sourceforge.net/project/swig/swig/swig-4.0.2/swig-4.0.2.tar.gz"
"downloadUrl": "https://github.com/swig/swig/archive/refs/tags/v4.0.2.tar.gz"
}
}
},

Просмотреть файл

@ -557,8 +557,8 @@ sqlite-3.34.1-1.cm2.aarch64.rpm
sqlite-debuginfo-3.34.1-1.cm2.aarch64.rpm
sqlite-devel-3.34.1-1.cm2.aarch64.rpm
sqlite-libs-3.34.1-1.cm2.aarch64.rpm
swig-4.0.2-1.cm2.aarch64.rpm
swig-debuginfo-4.0.2-1.cm2.aarch64.rpm
swig-4.0.2-2.cm2.aarch64.rpm
swig-debuginfo-4.0.2-2.cm2.aarch64.rpm
systemd-239-40.cm2.aarch64.rpm
systemd-bootstrap-239-34.cm2.aarch64.rpm
systemd-bootstrap-debuginfo-239-34.cm2.aarch64.rpm

Просмотреть файл

@ -557,8 +557,8 @@ sqlite-3.34.1-1.cm2.x86_64.rpm
sqlite-debuginfo-3.34.1-1.cm2.x86_64.rpm
sqlite-devel-3.34.1-1.cm2.x86_64.rpm
sqlite-libs-3.34.1-1.cm2.x86_64.rpm
swig-4.0.2-1.cm2.x86_64.rpm
swig-debuginfo-4.0.2-1.cm2.x86_64.rpm
swig-4.0.2-2.cm2.x86_64.rpm
swig-debuginfo-4.0.2-2.cm2.x86_64.rpm
systemd-239-40.cm2.x86_64.rpm
systemd-bootstrap-239-34.cm2.x86_64.rpm
systemd-bootstrap-debuginfo-239-34.cm2.x86_64.rpm