From 0acba75bc0ca43bc04ff25935a34792fba7daf67 Mon Sep 17 00:00:00 2001 From: epienbro Date: Fri, 9 Oct 2009 21:49:53 +0000 Subject: [PATCH] - Use %global instead of %define - Automatically generate debuginfo subpackage --- mingw32-libgpg-error.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/mingw32-libgpg-error.spec b/mingw32-libgpg-error.spec index a944a77..6697e05 100644 --- a/mingw32-libgpg-error.spec +++ b/mingw32-libgpg-error.spec @@ -1,12 +1,13 @@ -%define __strip %{_mingw32_strip} -%define __objdump %{_mingw32_objdump} -%define _use_internal_dependency_generator 0 -%define __find_requires %{_mingw32_findrequires} -%define __find_provides %{_mingw32_findprovides} +%global __strip %{_mingw32_strip} +%global __objdump %{_mingw32_objdump} +%global _use_internal_dependency_generator 0 +%global __find_requires %{_mingw32_findrequires} +%global __find_provides %{_mingw32_findprovides} +%define __debug_install_post %{_mingw32_debug_install_post} Name: mingw32-libgpg-error Version: 1.6 -Release: 12%{?dist} +Release: 13%{?dist} Summary: MinGW Windows GnuPGP error library License: LGPLv2+ @@ -32,6 +33,9 @@ BuildRequires: gettext MinGW Windows GnuPGP error library. +%{_mingw32_debug_package} + + %prep %setup -q -n libgpg-error-%{version} @@ -65,7 +69,12 @@ rm -rf $RPM_BUILD_ROOT %{_mingw32_datadir}/aclocal/gpg-error.m4 %{_mingw32_datadir}/common-lisp/source/gpg-error/* + %changelog +* Fri Oct 9 2009 Erik van Pienbroek - 1.6-13 +- Use %%global instead of %%define +- Automatically generate debuginfo subpackage + * Sat Jul 25 2009 Fedora Release Engineering - 1.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild