SHA256
1
0
forked from pool/systemtap
OBS User unknown 2009-05-28 00:18:25 +00:00 committed by Git OBS Bridge
parent 5a3815edbf
commit 0c9cabfc8b
3 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 22 09:38:19 CEST 2009 - tiwai@suse.de
- add missing examples installation in docs subpackage
-------------------------------------------------------------------
Wed May 20 13:02:00 CEST 2009 - tiwai@suse.de

View File

@ -29,7 +29,7 @@ BuildRequires: latex2html
%define use_snapshot 0
License: GPL v2 or later
Version: 0.9.7
Release: 1
Release: 2
Summary: Instrumentation System
Group: Development/Tools/Debuggers
Url: http://sourceware.org/systemtap/
@ -73,15 +73,23 @@ Authors:
%build
autoreconf -fi
%configure
make -C doc %{?jobs:-j %jobs}
make %{?jobs:-j %jobs}
%install
%if %suse_version < 1030
# workaround for old autoconf
export MKDIR_P="mkdir -p"
%endif
%makeinstall -C doc
%makeinstall doc
cp README AUTHORS NEWS COPYING $RPM_BUILD_ROOT%{_docdir}/systemtap/
# remove binaries and runtime stuff
rm -rf $RPM_BUILD_ROOT%{_bindir}
rm -rf $RPM_BUILD_ROOT%{_libdir}
rm -rf $RPM_BUILD_ROOT%{_datadir}/systemtap
rm -rf $RPM_BUILD_ROOT%{_includedir}
# these man pages are in each sub package
rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
rm -rf $RPM_BUILD_ROOT%{_mandir}/man8
%clean
rm -rf ${RPM_BUILD_ROOT}
@ -92,6 +100,8 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man3/*
%changelog
* Fri May 22 2009 tiwai@suse.de
- add missing examples installation in docs subpackage
* Wed May 20 2009 tiwai@suse.de
- split docs and examples to docs subpackage and generate from its
own spec file to cut off the dependency loop

View File

@ -24,7 +24,7 @@ BuildRequires: mozilla-nspr-devel mozilla-nss-devel
%define use_snapshot 0
License: GPL v2 or later
Version: 0.9.7
Release: 3
Release: 4
Summary: Documents and examples for systemtap
Group: Development/Tools/Debuggers
Url: http://sourceware.org/systemtap/