From 3614a755ae93780c2e74eef6a56a4b3fe067591f Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Tue, 6 Mar 2012 21:21:05 +0100 Subject: [PATCH] Use the RPM magic to automatically generate provides/requires tags and automatically generate a debuginfo subpackage --- mingw-expat.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mingw-expat.spec b/mingw-expat.spec index 5bb3459..399692f 100644 --- a/mingw-expat.spec +++ b/mingw-expat.spec @@ -1,8 +1,6 @@ %define __strip %{mingw32_strip} %define __objdump %{mingw32_objdump} -%define _use_internal_dependency_generator 0 -%define __find_requires %{mingw32_findrequires} -%define __find_provides %{mingw32_findprovides} +%define __debug_install_post %{mingw32_debug_install_post} Name: mingw-expat Version: 2.0.1 @@ -44,6 +42,9 @@ start tag is an example of the kind of structures for which you may register handlers. +%{?_mingw32_debug_package} + + %prep %setup -q -n expat-%{version} @@ -88,6 +89,8 @@ rm -rf $RPM_BUILD_ROOT * Tue Mar 06 2012 Erik van Pienbroek - 2.0.1-10 - Renamed the source package to mingw-expat (RHBZ #800377) - Use mingw macros without leading underscore +- Use the RPM magic to automatically generate provides/requires tags +- Automatically generate a debuginfo subpackage * Mon Feb 27 2012 Erik van Pienbroek - 2.0.1-9 - Rebuild against the mingw-w64 toolchain