From 511791317fe2c876181e07e472a25fc6aa1d57a5 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 26 Dec 2015 15:44:08 +0100 Subject: [PATCH] use rev. dep to install -gdb with -debuginfo --- librevenge.spec | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/librevenge.spec b/librevenge.spec index c065cab..d1456c7 100644 --- a/librevenge.spec +++ b/librevenge.spec @@ -1,8 +1,5 @@ %global apiversion 0.0 -%global debug_package %{nil} -%global __debug_package 1 - Name: librevenge Version: 0.0.3 Release: 2%{?dist} @@ -44,21 +41,12 @@ The %{name}-doc package contains documentation files for %{name}. Summary: gdb pretty printers for %{name} Requires: gdb Requires: %{name}%{?_isa} = %{version}-%{release} +Supplements: %{name}-debuginfo%{?_isa} = %{version}-%{release} %description gdb The %{name}-devel package contains gdb pretty printers that help with debugging applications that use %{name}. -%package debuginfo -Summary: Debug information for package %{name} -AutoReqProv: 0 -Recommends: %{name}-gdb%{?_isa} = %{version}-%{release} - -%description debuginfo -This package provides debug information for package %{name}. -Debug information is useful when developing applications that use this -package or when debugging this package. - %prep %autosetup -p1 @@ -110,8 +98,6 @@ make %{?_smp_mflags} check %dir %{_datadir}/%{name} %{_datadir}/%{name}/python -%files debuginfo -f debugfiles.list - %changelog * Sat Dec 26 2015 David Tardon - 0.0.3-2 - fix gdb pretty printers