use rev. dep to install -gdb with -debuginfo

f41
David Tardon 9 years ago
parent 21f9d51d39
commit 511791317f

@ -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 <dtardon@redhat.com> - 0.0.3-2
- fix gdb pretty printers

Loading…
Cancel
Save