From f8d5f5e0da395df9aa728df2d92c8c20fb1467eb Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] - Verify that we are still matching current native package. - Use auto-buildrequires to identify more accurate list of BRs: + BR gettext (for /usr/bin/msgfmt etc) + BR mingw32-dlfcn + BR mingw32-iconv - Use _smp_mflags. - Use find_lang. --- libgpg-error/mingw32-libgpg-error.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/libgpg-error/mingw32-libgpg-error.spec b/libgpg-error/mingw32-libgpg-error.spec index 0523f05..ad5eea1 100644 --- a/libgpg-error/mingw32-libgpg-error.spec +++ b/libgpg-error/mingw32-libgpg-error.spec @@ -6,7 +6,7 @@ Name: mingw32-libgpg-error Version: 1.6 -Release: 8%{?dist} +Release: 9%{?dist} Summary: MinGW Windows GnuPGP error library License: LGPLv2+ @@ -21,8 +21,13 @@ BuildArch: noarch BuildRequires: mingw32-filesystem >= 27 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils +BuildRequires: mingw32-dlfcn +BuildRequires: mingw32-iconv BuildRequires: mingw32-gettext +BuildRequires: gettext + + %description MinGW Windows GnuPGP error library. @@ -33,7 +38,7 @@ MinGW Windows GnuPGP error library. %build %{_mingw32_configure} -make +make %{?_smp_mflags} %install @@ -43,12 +48,13 @@ make DESTDIR=$RPM_BUILD_ROOT install rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgpg-error.a +%find_lang libgpg-error %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f libgpg-error.lang %defattr(-,root,root) %{_mingw32_bindir}/gpg-error-config %{_mingw32_bindir}/gpg-error.exe @@ -56,11 +62,19 @@ rm -rf $RPM_BUILD_ROOT %{_mingw32_libdir}/libgpg-error.dll.a %{_mingw32_libdir}/libgpg-error.la %{_mingw32_includedir}/gpg-error.h -%{_mingw32_datadir}/locale/*/LC_MESSAGES/libgpg-error.mo %{_mingw32_datadir}/aclocal/gpg-error.m4 %{_mingw32_datadir}/common-lisp/source/gpg-error/* %changelog +* Thu Jan 22 2009 Richard W.M. Jones - 1.6-9 +- Verify that we are still matching current native package. +- Use auto-buildrequires to identify more accurate list of BRs: + + BR gettext (for /usr/bin/msgfmt etc) + + BR mingw32-dlfcn + + BR mingw32-iconv +- Use _smp_mflags. +- Use find_lang. + * Mon Sep 22 2008 Richard W.M. Jones - 1.6-8 - Rename mingw -> mingw32. - Depends on mingw-filesystem 27. -- 1.8.3.1