Hello community,

here is the log from the commit of package libpfm for openSUSE:Factory checked 
in at 2015-03-16 09:42:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpfm (Old)
 and      /work/SRC/openSUSE:Factory/.libpfm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpfm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpfm/libpfm.changes    2015-02-16 
21:14:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libpfm.new/libpfm.changes       2015-03-16 
09:42:27.000000000 +0100
@@ -1,0 +2,16 @@
+Fri Mar 13 14:13:09 UTC 2015 - [email protected]
+
+- Version bump to 4.6.0:
+  * Intel Broadwell (desktop core)
+  * Intel Haswell-EP (core)
+  * Applied Micro X-Gene processor
+  * ARM A53 processor
+  * Intel SNB, IVB, HSW event table updates
+  * IBM Power8 event table updates
+  * improved Intel x86 model detection
+  * bug fixes and many other improvements
+- Cleanup with spec-cleaner
+- Remove with_python switch that always evaluated as true
+  * If the need is really here it should be used as %bcond_without
+
+-------------------------------------------------------------------

Old:
----
  libpfm-4.5.0.tar.gz

New:
----
  libpfm-4.6.0.tar.gz

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

Other differences:
------------------
++++++ libpfm.spec ++++++
--- /var/tmp/diff_new_pack.aTFu9y/_old  2015-03-16 09:42:28.000000000 +0100
+++ /var/tmp/diff_new_pack.aTFu9y/_new  2015-03-16 09:42:28.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpfm
 #
-# Copyright (c) 2015 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
@@ -16,22 +16,18 @@
 #
 
 
-%{!?with_python: %global with_python 1}
-
+%define vname   libpfm4
 Name:           libpfm
-Version:        4.5.0
+Version:        4.6.0
 Release:        0
-%define vname   libpfm4
 Summary:        Library to encode performance events
 License:        MIT
 Group:          Development/Libraries/C and C++
 Url:            http://perfmon2.sourceforge.net/
 Source:         
http://downloads.sourceforge.net/project/perfmon2/libpfm4/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
-%if %{with_python}
 BuildRequires:  python-devel
 BuildRequires:  swig
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -64,55 +60,42 @@
 %package        devel-static
 Summary:        Static library version of libpfm
 Group:          Development/Libraries/C and C++
-Requires:       %name-devel = %version
+Requires:       %{name}-devel = %{version}
 
 %description devel-static
 This package contains the static variant of libpfm.
 
-%if %{with_python}
-%package -n     python-%name
+%package -n     python-%{name}
 Summary:        Python bindings for libpfm and perf_event_open system call
 Group:          Development/Libraries/Python
 Requires:       %{vname} = %{version}
 
-%description -n python-%name
+%description -n python-%{name}
 This package provides python bindings for the libpfm4 package and the 
perf_event_open system call.
-%endif
 
 %prep
 %setup -q
 
 %build
-%if %{with_python}
 %global python_config CONFIG_PFMLIB_NOPYTHON=n
-%else
-%global python_config CONFIG_PFMLIB_NOPYTHON=y
-%endif
 make %{?_smp_mflags} %{python_config}
 
 %install
-
-%if %{with_python}
-%global python_config CONFIG_PFMLIB_NOPYTHON=n 
PYTHON_PREFIX="%buildroot/%py_prefix"
-%else
-%global python_config CONFIG_PFMLIB_NOPYTHON=y
-%endif
-
+%global python_config CONFIG_PFMLIB_NOPYTHON=n 
PYTHON_PREFIX="%{buildroot}/%{py_prefix}"
 make \
-    PREFIX="%buildroot/%_prefix" \
-    LIBDIR="%buildroot/%_libdir" \
+    PREFIX="%{buildroot}/%{_prefix}" \
+    LIBDIR="%{buildroot}/%{_libdir}" \
     %{python_config} \
     LDCONFIG=/bin/true \
     install
 
-%if %{with_python}
 # temp hack to fix rpmlint file-contains-buildroot for *.pyc
 # http://lists.opensuse.org/opensuse-factory/2012-01/msg00235.html
 find "%{buildroot}/%{python_sitearch}/" -name '*.pyc' -delete
-%__python -c 'import compileall; 
compileall.compile_dir("%{buildroot}%{python_sitearch}/", 
ddir="%{python_sitearch}/", force=1)'
-%endif
+python -c 'import compileall; 
compileall.compile_dir("%{buildroot}%{python_sitearch}/", 
ddir="%{python_sitearch}/", force=1)'
 
 %post -n %{vname} -p /sbin/ldconfig
+
 %postun        -n %{vname} -p /sbin/ldconfig
 
 %files -n %{vname}
@@ -130,10 +113,8 @@
 %defattr(-,root,root)
 %{_libdir}/lib*.a
 
-%if %{with_python}
-%files -n python-%name
+%files -n python-%{name}
 %defattr(644,root,root,755)
 %attr(755,root,root) %{python_sitearch}/*
-%endif
 
 %changelog

++++++ libpfm-4.5.0.tar.gz -> libpfm-4.6.0.tar.gz ++++++
++++ 16267 lines of diff (skipped)

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

Reply via email to