Update to 2.0.3

This commit is contained in:
Sandro Mani 2019-09-16 11:43:06 +02:00
parent 214f50b925
commit 4fe1921ad4
3 changed files with 18 additions and 14 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/libjpeg-turbo-1.5.1.tar.gz
/libjpeg-turbo-2.0.0.tar.gz
/libjpeg-turbo-2.0.2.tar.gz
/libjpeg-turbo-2.0.3.tar.gz

View File

@ -1,12 +1,12 @@
%?mingw_package_header
%{?mingw_package_header}
# Build the programs like cjpeg, etc.
# https://bugzilla.redhat.com/show_bug.cgi?id=467401#c7
%global build_programs 0
Name: mingw-libjpeg-turbo
Version: 2.0.2
Release: 2%{?dist}
Version: 2.0.3
Release: 1%{?dist}
Summary: MinGW Windows Libjpeg-turbo library
License: wxWidgets
@ -73,7 +73,7 @@ Provides: mingw64-libjpeg-static = 8a-2%{?dist}
Static version of the MinGW Windows cross compiled Libjpeg-turbo library.
%?mingw_debug_package
%{?mingw_debug_package}
%prep
@ -86,22 +86,22 @@ Static version of the MinGW Windows cross compiled Libjpeg-turbo library.
%install
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
%mingw_make install DESTDIR=%{buildroot}
# Remove manual pages and docs which duplicate Fedora native.
rm -rf $RPM_BUILD_ROOT%{mingw32_mandir}
rm -rf $RPM_BUILD_ROOT%{mingw64_mandir}
rm -rf $RPM_BUILD_ROOT%{mingw32_docdir}
rm -rf $RPM_BUILD_ROOT%{mingw64_docdir}
rm -rf %{buildroot}%{mingw32_mandir}
rm -rf %{buildroot}%{mingw64_mandir}
rm -rf %{buildroot}%{mingw32_docdir}
rm -rf %{buildroot}%{mingw64_docdir}
# The CMake build system also installed some docs
rm -rf $RPM_BUILD_ROOT%{mingw32_prefix}/doc
rm -rf $RPM_BUILD_ROOT%{mingw64_prefix}/doc
rm -rf %{buildroot}%{mingw32_prefix}/doc
rm -rf %{buildroot}%{mingw64_prefix}/doc
# Remove win32 native binaries if wanted
%if %build_programs == 0
rm -f $RPM_BUILD_ROOT%{mingw32_bindir}/*.exe
rm -f $RPM_BUILD_ROOT%{mingw64_bindir}/*.exe
rm -f %{buildroot}%{mingw32_bindir}/*.exe
rm -f %{buildroot}%{mingw64_bindir}/*.exe
%endif
# Fix perms
@ -156,6 +156,9 @@ chmod -x README.md
%changelog
* Mon Sep 16 2019 Sandro Mani <manisandro@gmail.com> - 2.0.3-1
- Update to 2.0.3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libjpeg-turbo-2.0.2.tar.gz) = 204b6d083e99488c975c75efb08699e4dc1c409556e4dee4f21e3ee67e9c6682eb342f2e5712816b0342c00399fbe6e43fbce30c3d22f30f7ef91db006b3be08
SHA512 (libjpeg-turbo-2.0.3.tar.gz) = ca7d4dcc5b34e23831ac450b65b8f92894d35e4afba0c52ac9e0c7dc6b41d4fa2bad66eb79198245032ec02b0b2e88cef39b8c696de17b6a869e3093a6b70e36