From 62b25b57622198ca70a96b4898d7019932da3366ad0abd02cf3896517801691c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 18 Jun 2007 16:27:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oprofile?expand=0&rev=2 --- doc-update.diff | 36 ------------------- oprofile-0.9.2.tar.gz | 3 -- ...file-0.9.2.diff => oprofile-0.9.3-rc1.diff | 0 oprofile-0.9.3-rc1.tar.gz | 3 ++ oprofile.changes | 5 +++ oprofile.spec | 33 ++++++++--------- 6 files changed, 23 insertions(+), 57 deletions(-) delete mode 100644 doc-update.diff delete mode 100644 oprofile-0.9.2.tar.gz rename oprofile-0.9.2.diff => oprofile-0.9.3-rc1.diff (100%) create mode 100644 oprofile-0.9.3-rc1.tar.gz diff --git a/doc-update.diff b/doc-update.diff deleted file mode 100644 index 5ed808b..0000000 --- a/doc-update.diff +++ /dev/null @@ -1,36 +0,0 @@ -diff -paur ../sles10_src/doc/opcontrol.1.in ./doc/opcontrol.1.in ---- ../sles10_src/doc/opcontrol.1.in 2006-11-22 16:03:20.000000000 -0600 -+++ ./doc/opcontrol.1.in 2006-11-22 16:09:50.000000000 -0600 -@@ -104,8 +104,9 @@ options and 'none' turns off separation. - .TP - .BI "--callgraph=#depth" - Enable callgraph sample collection with a maximum depth. Use 0 to disable --callgraph profiling. This option is currently only usable on x86, using a --2.6+ kernel with callgraph support enabled. -+callgraph profiling. This option is available on x86 using a -+2.6+ kernel with callgraph support enabled. It is also available -+on PowerPC using a 2.6.17+ kernel. - .br - .TP - .BI "--image="[name,name...|"all"] -diff -paur ../sles10_src/doc/oprofile.xml ./doc/oprofile.xml ---- ../sles10_src/doc/oprofile.xml 2006-11-22 16:03:20.000000000 -0600 -+++ ./doc/oprofile.xml 2006-11-22 16:05:33.000000000 -0600 -@@ -619,8 +619,15 @@ is required. These settings are stored i - #depth - - Enable call-graph sample collection with a maximum depth. Use 0 to disable -- callgraph profiling. Currently this requires a recent -- 2.6 kernel, and x86. -+ callgraph profiling. NOTE: Callgraph support is available on a limited -+ number of platforms at this time; for example: -+ -+ -+ x86 with recent 2.6 kernel -+ ARM with recent 2.6 kernel -+ PowerPC with 2.6.17 kernel -+ -+ - - - diff --git a/oprofile-0.9.2.tar.gz b/oprofile-0.9.2.tar.gz deleted file mode 100644 index 9e049f8..0000000 --- a/oprofile-0.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b3780ee09efe665a69151c994e0e5f01a56c57338660c18df30916904df83a6 -size 741870 diff --git a/oprofile-0.9.2.diff b/oprofile-0.9.3-rc1.diff similarity index 100% rename from oprofile-0.9.2.diff rename to oprofile-0.9.3-rc1.diff diff --git a/oprofile-0.9.3-rc1.tar.gz b/oprofile-0.9.3-rc1.tar.gz new file mode 100644 index 0000000..f0fd4df --- /dev/null +++ b/oprofile-0.9.3-rc1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1536b6ba70f88ba7b246f98161c44c885a49162688755e3c4668466b4039cf1 +size 853486 diff --git a/oprofile.changes b/oprofile.changes index 2ef4380..093e1b8 100644 --- a/oprofile.changes +++ b/oprofile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 18 17:19:04 CEST 2007 - schwab@suse.de + +- Update to oprofile 0.9.3-rc1. + ------------------------------------------------------------------- Thu Jan 11 11:19:25 CET 2007 - schwab@suse.de diff --git a/oprofile.spec b/oprofile.spec index 9b0deb3..612c9c4 100644 --- a/oprofile.spec +++ b/oprofile.spec @@ -1,5 +1,5 @@ # -# spec file for package oprofile (Version 0.9.2) +# spec file for package oprofile (Version 0.9.3_rc1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -16,14 +16,14 @@ URL: http://oprofile.sourceforge.net/ License: GNU General Public License (GPL) Group: Development/Tools/Other Autoreqprov: on -Version: 0.9.2 -Release: 31 +Version: 0.9.3_rc1 +Release: 1 +%define oversion %(echo %version | sed s/_/-/) Summary: System-Wide Profiler for Linux Systems BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: %{name}-%{version}.tar.gz +Source: %{name}-%{oversion}.tar.gz Source1: %{name}.desktop -Patch: %{name}-%{version}.diff -Patch1: doc-update.diff +Patch: %{name}-%{oversion}.diff Summary: System-Wide Profiler for Linux Systems Group: Development/Tools/Other @@ -58,24 +58,18 @@ Authors: Bob Montgomery %prep -%setup -q +%setup -q -n %{name}-%{oversion} %patch -%patch1 %build ./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ --prefix=/usr --mandir=%{_mandir} \ - --with-kernel-support=yes \ + --with-kernel-support \ --with-qt-libraries=%_libdir/qt3/%_lib make %{?jobs:-j%jobs} %install -mkdir -p $RPM_BUILD_ROOT/usr/bin -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 -mkdir -p $RPM_BUILD_ROOT/%{_docdir}/oprofile -make DESTDIR=$RPM_BUILD_ROOT DOCDIR=$RPM_BUILD_ROOT%{_docdir}/oprofile install -rm -f $RPM_BUILD_ROOT/usr/share/doc/oprofile/oprofile.html -rm -f $RPM_BUILD_ROOT/usr/share/doc/oprofile/internals.html +make DESTDIR=$RPM_BUILD_ROOT htmldir=%{_docdir}/oprofile install %suse_update_desktop_file -i %name Development Profiling %clean @@ -86,10 +80,13 @@ rm -rf $RPM_BUILD_ROOT /usr/bin/* /usr/share/applications/*.desktop /usr/share/oprofile -%doc %{_mandir}/man1/* -%doc doc/oprofile.html COPYING README TODO ChangeLog +%{_mandir}/man1/* +%doc doc/oprofile.html doc/internals.html doc/opreport.xsd +%doc COPYING README TODO ChangeLog -%changelog -n oprofile +%changelog +* Mon Jun 18 2007 - schwab@suse.de +- Update to oprofile 0.9.3-rc1. * Thu Jan 11 2007 - schwab@suse.de - Add binutils-devel to BuildRequires. * Mon Sep 18 2006 - schwab@suse.de