Hello community,

here is the log from the commit of package papi for openSUSE:Factory checked in 
at 2012-12-28 22:46:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/papi (Old)
 and      /work/SRC/openSUSE:Factory/.papi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "papi", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/papi/papi.changes        2012-10-29 
20:08:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.papi.new/papi.changes   2012-12-28 
22:46:42.000000000 +0100
@@ -1,0 +2,19 @@
+Fri Dec 28 14:49:11 UTC 2012 - [email protected]
+
+- update to 5.0.1 (fixes build for ARM):
+  * This is a major release of PAPI. Parts of both the internal 
+  component and external low-level interfaces have changed. This
+  will break your 4.4 compliant components and links to shared
+  libraries.
+
+  A full detailed description of the changes to PAPI 5.0 can be found here:
+  http://web.eecs.utk.edu/~vweaver1/papers/papi/papi_v5_changes.pdf 
+
+- Removed papi-glibc-siginfo.patch, papi-list_components.patch,
+  papi-use_as_help_string.patch: Already upstream or not needed
+
+- Removed papi-lmsensors_check.patch: can be replaced by configure
+  option
+- i586-libpfm4-compile-fix.diff: Fix compile on i586
+
+-------------------------------------------------------------------

Old:
----
  papi-4.4.0.tar.gz
  papi-glibc-siginfo.patch
  papi-list_components.patch
  papi-lmsensors_check.patch
  papi-use_as_help_string.patch

New:
----
  i586-libpfm4-compile-fix.diff
  papi-5.0.1.tar.gz

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

Other differences:
------------------
++++++ papi.spec ++++++
--- /var/tmp/diff_new_pack.9FDh5j/_old  2012-12-28 22:46:43.000000000 +0100
+++ /var/tmp/diff_new_pack.9FDh5j/_new  2012-12-28 22:46:43.000000000 +0100
@@ -20,6 +20,7 @@
 BuildRequires:  chrpath
 BuildRequires:  gcc-fortran
 
+%ifarch %ix86 x86_64 ia64
 %if 0%{suse_version} > 1201
 BuildRequires:  libquadmath0
 %else
@@ -27,6 +28,7 @@
 BuildRequires:  libquadmath46
 %endif
 %endif
+%endif
 
 BuildRequires:  linux-kernel-headers
 BuildRequires:  ncurses-devel
@@ -39,9 +41,8 @@
 BuildRequires:  gcc-32bit
 BuildRequires:  gcc-fortran-32bit
 BuildRequires:  glibc-devel-32bit
-BuildRequires:  libgfortran45-32bit
 %endif
-Version:        4.4.0
+Version:        5.0.1
 Release:        0
 Summary:        Performance Application Programming Interface
 License:        BSD-3-Clause
@@ -53,11 +54,8 @@
 ExcludeArch:    s390, s390x
 Patch1:         papi-codecleanup.patch
 Patch4:         papi-no_test_for_pfm_msg_t_type.patch
-Patch6:         papi-lmsensors_check.patch
-Patch7:         papi-use_as_help_string.patch
-Patch8:         papi-list_components.patch
 Patch9:         papi-use_major_in_soname.patch
-Patch10:        papi-glibc-siginfo.patch
+Patch10:        i586-libpfm4-compile-fix.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf >= 2.61
 BuildRequires:  automake
@@ -134,13 +132,8 @@
 %setup -q
 %patch1
 %patch4
-%patch6
-%patch7
-%patch8
 %patch9
-%if 0%{?suse_version} > 1220
-%patch10 -p1
-%endif
+%patch10
 
 %build
 #export SUSE_ASNEEDED=0
@@ -149,12 +142,14 @@
 for c in lmsensors; do
     cd components/$c
     autoconf
-    ./configure
+    ./configure --with-sensors_incdir=/usr/include/sensors \
+        --with-sensors_libdir=%{_libdir};
     cd -
 done
 export CFLAGS="%{optflags} -Wno-unused-parameter"
 
 %configure --with-components="lmsensors coretemp example net" \
+            --with-perf-events --with-shared-lib=yes --with-shlib 
--with-pthread-mutexes \
            %{pfm_opt}
 
 #DBG workaround to make sure libpfm just uses the normal CFLAGS
@@ -198,19 +193,13 @@
 %{_includedir}/fpapi.h
 %{_includedir}/papi.h
 %{_includedir}/papiStdEventDefs.h
-%if 0%{suse_version} >= 1102
-%{_includedir}/perfmon
-%{_libdir}/libpfm.so
-%else
-%ifnarch ia64
-%{_includedir}/perfmon
-%{_libdir}/libpfm.so
-%endif
-%endif
 
 %doc %{_mandir}/man3/*.gz
 %doc %{_mandir}/man1/*
 %{_libdir}/libpapi.so
+%ifnarch ia64
+%{_libdir}/libpfm.so
+%endif
 
 %files devel-static
 %defattr(-,root,root)

++++++ i586-libpfm4-compile-fix.diff ++++++
--- src/libpfm4/lib/pfmlib_intel_snbep_unc_priv.h
+++ src/libpfm4/lib/pfmlib_intel_snbep_unc_priv.h
@@ -166,7 +166,8 @@
        } ha_addr;
        struct {
                unsigned long opc:6; /* opcode match */
-               unsigned long res1:58; /* reserved */
+               unsigned long res1:26; /* reserved */
+               unsigned long res2:32; /* reserved */
        } ha_opc;
 } pfm_snbep_unc_reg_t;
 
++++++ papi-4.4.0.tar.gz -> papi-5.0.1.tar.gz ++++++
++++ 159772 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to