Hello community, here is the log from the commit of package papi for openSUSE:Factory checked in at 2015-03-05 15:43:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/papi (Old) and /work/SRC/openSUSE:Factory/.papi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "papi" Changes: -------- --- /work/SRC/openSUSE:Factory/papi/papi.changes 2014-11-18 22:49:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.papi.new/papi.changes 2015-03-05 18:17:23.000000000 +0100 @@ -1,0 +2,33 @@ +Wed Mar 4 18:45:26 UTC 2015 - [email protected] + +- Replace ./configure with macro %configure + +------------------------------------------------------------------- +Wed Mar 4 16:28:20 UTC 2015 - [email protected] + +- fix typo in excludearch statement + +------------------------------------------------------------------- +Wed Mar 4 13:38:58 UTC 2015 - [email protected] + +- Cleanup spec file with spec-cleaner +- Update to 5.4.1 + * Updated support for Intel Haswell and Haswell-EP + * Added ARM Cortex A7 + * Added ARM 1176 CPU (original Raspberry Pi) + * Enhance PAPI preset events to allow user defined events. + * User defined events are set up via a user event definition file. + * New test demonstrating attaching an eventset to a single CPU + rather than a thread. + * Use the term "event qualifiers" instead of "event masks" to + clarify understanding. + * Added pkg-config support to PAPI. + * Fixed lustre segfault bug in lustre component. + * Fixed compilation in the absence of a Fortran compiler. + * Fixed bug in krental_pthreads ctest to join threads properly + on exit. + * Fixed bug in perf_events where event masks were not getting + cleared properly. + * Fixed memory leak bug in perf_events. + +------------------------------------------------------------------- Old: ---- papi-5.4.0.tar.gz New: ---- papi-5.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ papi.spec ++++++ --- /var/tmp/diff_new_pack.72Fmz5/_old 2015-03-05 18:17:24.000000000 +0100 +++ /var/tmp/diff_new_pack.72Fmz5/_new 2015-03-05 18:17:24.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package papi # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,44 +17,43 @@ Name: papi +Version: 5.4.1 +Release: 0 +Summary: Performance Application Programming Interface +License: BSD-3-Clause +Group: Development/Libraries/C and C++ +Url: http://icl.cs.utk.edu/papi/index.html +Source: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz +Source1: %{name}-rpmlintrc +Source1000: baselibs.conf +Patch0: papi-codecleanup.patch +BuildRequires: autoconf >= 2.61 +BuildRequires: automake BuildRequires: chrpath BuildRequires: gcc-fortran - +BuildRequires: libpfm-devel >= 4.3.0 +BuildRequires: libpfm-devel-static >= 4.3.0 +BuildRequires: libsensors4-devel +BuildRequires: linux-kernel-headers +BuildRequires: ncurses-devel +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#PAPI doesn't support the s390 architecture +ExcludeArch: s390 s390x %ifarch %ix86 x86_64 ia64 -%if 0%{suse_version} > 1201 +%if 0%{?suse_version} > 1201 BuildRequires: libquadmath0 %else -%if 0%{suse_version} == 1201 +%if 0%{?suse_version} == 1201 BuildRequires: libquadmath46 %endif %endif %endif - -BuildRequires: libpfm-devel >= 4.3.0 -BuildRequires: libpfm-devel-static >= 4.3.0 -BuildRequires: linux-kernel-headers -BuildRequires: ncurses-devel %ifarch ppc64 BuildRequires: gcc-32bit BuildRequires: gcc-fortran-32bit BuildRequires: glibc-devel-32bit %endif -Version: 5.4.0 -Release: 0 -Summary: Performance Application Programming Interface -License: BSD-3-Clause -Group: Development/Libraries/C and C++ -Url: http://icl.cs.utk.edu/papi/index.html -Source: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz -Source1: %{name}-rpmlintrc -Source1000: baselibs.conf -#PAPI doesn't support the s390 architecture -ExcludeArch: s390, s390x -Patch: papi-codecleanup.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf >= 2.61 -BuildRequires: automake -BuildRequires: libsensors4-devel #BuildRequires: libibmad-devel %description @@ -94,7 +93,7 @@ %prep %setup -q -%patch +%patch0 %build #export SUSE_ASNEEDED=0 @@ -103,22 +102,26 @@ for c in lmsensors; do cd components/$c autoconf - ./configure --with-sensors_incdir=/usr/include/sensors \ + %configure \ + --with-sensors_incdir=%{_includedir}/sensors \ --with-sensors_libdir=%{_libdir} cd - done export CFLAGS="%{optflags} -Wno-unused-parameter" -%configure --with-components="appio lmsensors coretemp example net" \ - --with-perf-events --with-shared-lib=yes --with-shlib --with-pthread-mutexes \ - --with-pfm-incdir=%{_includedir} --with-pfm-libdir=%{_libdir} +%configure \ + --with-components="appio lmsensors coretemp example net" \ + --with-perf-events --with-shared-lib=yes \ + --with-shlib --with-pthread-mutexes \ + --with-pfm-incdir=%{_includedir} \ + --with-pfm-libdir=%{_libdir} #DBG workaround to make sure libpfm just uses the normal CFLAGS DBG="" make DOCDIR=%{_defaultdocdir}/%{name} %{?_smp_mflags} %install cd src -%makeinstall DOCDIR=%{_defaultdocdir}/%{name} LDCONFIG=/bin/true +make DESTDIR=%{buildroot} install %{?_smp_mflags} DOCDIR=%{_defaultdocdir}/%{name} LDCONFIG=/bin/true chrpath --delete %{buildroot}%{_libdir}/*.so* %post -n libpapi -p /sbin/ldconfig @@ -153,6 +156,7 @@ %doc %{_mandir}/man3/*.gz %doc %{_mandir}/man1/* %{_libdir}/libpapi.so +%{_libdir}/pkgconfig/*.pc %files devel-static %defattr(-,root,root) ++++++ papi-5.4.0.tar.gz -> papi-5.4.1.tar.gz ++++++ ++++ 16124 lines of diff (skipped) ++++++ papi-codecleanup.patch ++++++ --- /var/tmp/diff_new_pack.72Fmz5/_old 2015-03-05 18:17:25.000000000 +0100 +++ /var/tmp/diff_new_pack.72Fmz5/_new 2015-03-05 18:17:25.000000000 +0100 @@ -1,7 +1,7 @@ Index: src/libpfm-3.y/lib/pfmlib_gen_ia32.c =================================================================== ---- src/libpfm-3.y/lib/pfmlib_gen_ia32.c.orig 2010-09-09 22:34:11.000000000 +0200 -+++ src/libpfm-3.y/lib/pfmlib_gen_ia32.c 2012-02-20 12:31:08.877758682 +0100 +--- src/libpfm-3.y/lib/pfmlib_gen_ia32.c.orig ++++ src/libpfm-3.y/lib/pfmlib_gen_ia32.c @@ -257,7 +257,7 @@ pfm_gen_ia32_init(void) unsigned int val; pmu_eax_t eax; @@ -13,8 +13,8 @@ Index: src/ctests/mendes-alt.c =================================================================== ---- src/ctests/mendes-alt.c.orig 2011-05-21 00:12:50.000000000 +0200 -+++ src/ctests/mendes-alt.c 2012-02-20 12:31:08.877758682 +0100 +--- src/ctests/mendes-alt.c.orig ++++ src/ctests/mendes-alt.c @@ -18,14 +18,13 @@ static int EventSet = PAPI_NULL; extern int TESTS_QUIET; /* Declared in test_utils.c */ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
