Hello community,

here is the log from the commit of package perf for openSUSE:Factory
checked in at Thu May 12 10:15:15 CEST 2011.



--------
--- perf/perf.changes   2010-03-09 04:08:23.000000000 +0100
+++ /mounts/work_src_done/STABLE/perf/perf.changes      2011-05-05 
14:02:40.000000000 +0200
@@ -1,0 +2,8 @@
+Thu May  5 11:44:03 UTC 2011 - idoen...@novell.com
+
+- Also copy arch/lib to fix compilation on x86-64
+- Correctly depend on libdw-devel to fix dwarf support
+- Add newt-devel dependency to enable text user interface 
+- Re-enable as-needed support since it works now
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.JbGGAl/_old  2011-05-12 10:12:20.000000000 +0200
+++ /var/tmp/diff_new_pack.JbGGAl/_new  2011-05-12 10:12:20.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package perf (Version MACRO)
+# spec file for package perf
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,22 @@
 
 
 Name:           perf
-BuildRequires:  asciidoc binutils-devel libdwarf-devel libelf-devel 
openssl-devel xmlto zlib-devel
-BuildRequires:  kernel-source >= 2.6.32
-Summary:        Performance Monitoring Tools for Linux
-Requires:       kernel >= 2.6.31
 %define version %(rpm -q --qf '%{VERSION}' kernel-source)
-Version:        %version
-Release:        4
-Group:          Development/Tools/Debuggers
+Version:        %{version}
+Release:        14
 License:        GPLv2
-AutoReqProv:    on
+Summary:        Performance Monitoring Tools for Linux
+Group:          Development/Tools/Debuggers
+BuildRequires:  asciidoc
+BuildRequires:  binutils-devel
+BuildRequires:  kernel-source >= 2.6.31
+BuildRequires:  libdw-devel
+BuildRequires:  libelf-devel
+BuildRequires:  newt-devel
+BuildRequires:  openssl-devel
+BuildRequires:  xmlto
+BuildRequires:  zlib-devel
+Requires:       kernel >= 2.6.31
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -37,31 +43,26 @@
 This subsystem utilizes the Performance Monitoring Unit (PMU) / hardware 
 counters of the underlying cpu architecture (if supported).
 
-Authors:
---------
-Ingo Molnar <mi...@elte.hu> et al.
-
 %prep
 # copy necessary files from kernel-source since we need to modify them
-(cd /usr/src/linux ; tar -cf - COPYING CREDITS README tools include scripts 
Kbuild Makefile arch/*/include lib) | tar -xf -
+(cd /usr/src/linux ; tar -cf - COPYING CREDITS README tools include scripts 
Kbuild Makefile arch/*/{include,lib} lib) | tar -xf -
 chmod +x tools/perf/util/generate-cmdlist.sh
 
 %build
 cd tools/perf
-export SUSE_ASNEEDED=0
-make V=1 CFLAGS="$RPM_OPT_FLAGS" ASCIIDOC8=1 all doc prefix=/usr 
perfexecdir=%{_libexecdir}/%{name}
+make V=1 CFLAGS="%{optflags}" ASCIIDOC8=1 all doc prefix=/usr 
perfexecdir=%{_libexecdir}/%{name}
 
 %install
 cd tools/perf
-make CFLAGS="$RPM_OPT_FLAGS" install install-doc prefix=/usr 
perfexecdir=%{_libexecdir}/%{name} DESTDIR=$RPM_BUILD_ROOT
+make CFLAGS="%{optflags}" install install-doc prefix=/usr 
perfexecdir=%{_libexecdir}/%{name} DESTDIR=%{buildroot}
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-, root, root)
 %doc COPYING CREDITS README tools/perf/design.txt
-/usr/bin/perf
+%{_bindir}/perf
 %{_libexecdir}/%{name}
 %{_mandir}/man1/perf*
 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to