revert -devel package split for older codestreams

OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=19
This commit is contained in:
Dirk Mueller 2010-10-18 15:14:58 +00:00 committed by Git OBS Bridge
parent e6032aae9a
commit 3c504fac06

View File

@ -35,6 +35,9 @@ Source0: %{name}-%{version}.tar.bz2
Patch1: jit-register-unregister.diff
Patch2: deprecated.diff
Patch3: valgrind-3.5.90.svn11391-s390x-port.diff
%if %suse_version <= 1100
Provides: valgrind-devel = %version
%endif
Provides: callgrind = %version
Obsoletes: callgrind < %version
ExclusiveArch: %ix86 x86_64 ppc ppc64 s390x
@ -73,6 +76,7 @@ Authors:
Dirk Mueller
Robert Walsh
%if %suse_version > 1100
%package devel
License: GPLv2+
Summary: Valgrind Suite of Tools for Debugging and Profiling
@ -112,6 +116,7 @@ Authors:
Paul Mackerras
Dirk Mueller
Robert Walsh
%endif
%prep
%setup -q -n %{name}-%{version}
@ -148,8 +153,12 @@ mv $RPM_BUILD_ROOT/usr/share/doc/valgrind $RPM_BUILD_ROOT/usr/share/doc/packages
%_libdir/valgrind
%doc %_mandir/*/*
%if %suse_version > 1100
%files devel
%defattr(-,root,root)
%endif
/usr/include/valgrind
/usr/%_lib/pkgconfig/valgrind.pc