[mingw-expat] Use the RPM magic to automatically generate provides/requires tags

epienbro epienbro at fedoraproject.org
Tue Mar 6 20:21:20 UTC 2012


commit 3614a755ae93780c2e74eef6a56a4b3fe067591f
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Tue Mar 6 21:21:05 2012 +0100

    Use the RPM magic to automatically generate provides/requires tags
    
    and automatically generate a debuginfo subpackage

 mingw-expat.spec |    9 ++++++---
 1 files 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 <epienbro at fedoraproject.org> - 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 <epienbro at fedoraproject.org> - 2.0.1-9
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list