|
|
@ -1,8 +1,8 @@
|
|
|
|
%?mingw_package_header
|
|
|
|
%?mingw_package_header
|
|
|
|
|
|
|
|
|
|
|
|
Name: mingw-libgpg-error
|
|
|
|
Name: mingw-libgpg-error
|
|
|
|
Version: 1.12
|
|
|
|
Version: 1.22
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: MinGW Windows GnuPGP error library
|
|
|
|
Summary: MinGW Windows GnuPGP error library
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
@ -28,7 +28,7 @@ BuildRequires: mingw64-gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
|
|
|
|
|
|
|
# See comment in %%prep for details
|
|
|
|
# See comment in %%prep for details
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libtool autoconf automake
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -77,19 +77,11 @@ Static library for mingw64-libgpg-error development.
|
|
|
|
# As installing both win32 and win64 libraries in the same
|
|
|
|
# As installing both win32 and win64 libraries in the same
|
|
|
|
# folder is bad practice and breaks earlier behavior undo
|
|
|
|
# folder is bad practice and breaks earlier behavior undo
|
|
|
|
# this libtool hack here by re-running libtoolize
|
|
|
|
# this libtool hack here by re-running libtoolize
|
|
|
|
libtoolize --copy --force
|
|
|
|
autoreconf -i --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%mingw_configure --enable-shared --enable-static
|
|
|
|
%mingw_configure --enable-shared --enable-static
|
|
|
|
|
|
|
|
|
|
|
|
# Workaround a bug in libtool: http://savannah.gnu.org/support/?107959
|
|
|
|
|
|
|
|
make -C build_win32/src gpg-error.def
|
|
|
|
|
|
|
|
sed -i '/^$/d' build_win32/src/gpg-error.def
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make -C build_win64/src gpg-error.def
|
|
|
|
|
|
|
|
sed -i '/^$/d' build_win64/src/gpg-error.def
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%mingw_make %{?_smp_mflags}
|
|
|
|
%mingw_make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -99,6 +91,10 @@ sed -i '/^$/d' build_win64/src/gpg-error.def
|
|
|
|
# Drop all .la files
|
|
|
|
# Drop all .la files
|
|
|
|
find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
|
find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Drop info and man pages as they're already provided by the native package
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw32_infodir} $RPM_BUILD_ROOT%{mingw32_mandir}
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw64_infodir} $RPM_BUILD_ROOT%{mingw64_mandir}
|
|
|
|
|
|
|
|
|
|
|
|
%mingw_find_lang libgpg-error
|
|
|
|
%mingw_find_lang libgpg-error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -128,6 +124,10 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat May 07 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.22-1
|
|
|
|
|
|
|
|
- Update to 1.22
|
|
|
|
|
|
|
|
- Fixes FTBFS
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-4
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|