Hello community,

here is the log from the commit of package hwloc for openSUSE:Factory checked 
in at 2020-08-21 19:03:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hwloc (Old)
 and      /work/SRC/openSUSE:Factory/.hwloc.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hwloc"

Fri Aug 21 19:03:56 2020 rev:15 rq:828324 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/hwloc/hwloc.changes      2019-10-30 
14:48:45.438242165 +0100
+++ /work/SRC/openSUSE:Factory/.hwloc.new.3399/hwloc.changes    2020-08-21 
19:04:29.564367452 +0200
@@ -1,0 +2,25 @@
+Tue Aug 18 15:37:56 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- update to 2.2.0:
+  * API
+    + Add hwloc_bitmap_singlify_by_core() to remove SMT from a given cpuset,
+      thanks to Florian Reynier for the suggestion.
+    + Add --enable-32bits-pci-domain to stop ignoring PCI devices with domain
+      >16bits (e.g. 10000:02:03.4). Enabling this option breaks the library 
ABI.
+      Thanks to Dylan Simon for the help.
+  * Backends
+    + Add support for Linux cgroups v2.
+    + Add NUMA support for FreeBSD.
+    + Add get_last_cpu_location support for FreeBSD.
+    + Remove support for Intel Xeon Phi (MIC, Knights Corner) co-processors.
+  * Tools
+    + Add --uid to filter the hwloc-ps output by uid on Linux.
+    + Add a GRAPHICAL OUTPUT section in the manpage of lstopo.
+  * Misc
+    + Use the native dlopen instead of libltdl,
+      unless --disable-plugin-dlopen is passed at configure time. 
+- install systemd files using systemd macros and register it on install
+  with systemd
+- build against libnuma on all architectures
+
+-------------------------------------------------------------------

Old:
----
  hwloc-2.1.0.tar.bz2

New:
----
  hwloc-2.2.0.tar.bz2

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

Other differences:
------------------
++++++ hwloc.spec ++++++
--- /var/tmp/diff_new_pack.PY3mxD/_old  2020-08-21 19:04:31.652368693 +0200
+++ /var/tmp/diff_new_pack.PY3mxD/_new  2020-08-21 19:04:31.652368693 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hwloc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,24 @@
 
 %global lname libhwloc15
 Name:           hwloc
-Version:        2.1.0
+Version:        2.2.0
 Release:        0
 Summary:        Portable Hardware Locality
 License:        BSD-3-Clause
 Group:          Productivity/Clustering/Computing
-Url:            http://www.open-mpi.org/projects/hwloc/
-Source0:        
https://download.open-mpi.org/release/hwloc/v2.1/%{name}-%{version}.tar.bz2
+URL:            https://www.open-mpi.org/projects/hwloc/
+Source0:        
https://download.open-mpi.org/release/hwloc/v2.2/hwloc-%{version}.tar.bz2
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  libnuma-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
 BuildRequires:  perl
 BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(libxml-2.0)
@@ -44,10 +46,7 @@
 Requires:       perl-base >= 5.18.2
 Requires(post): desktop-file-utils
 Requires(postun): desktop-file-utils
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%ifnarch s390 s390x i586 aarch64 %{arm}
-BuildRequires:  libnuma-devel
-%endif
+%{?systemd_ordering}
 
 %description
 The Portable Hardware Locality (hwloc) software package provides
@@ -86,9 +85,7 @@
 %package data
 Summary:        Run time data for hwloc
 Group:          Development/Libraries/C and C++
-%if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
 BuildArch:      noarch
-%endif
 
 %description data
 This package contains the run time data for the hwloc.
@@ -96,22 +93,20 @@
 %package doc
 Summary:        Documentation for hwloc
 Group:          Documentation/Other
-%if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
 BuildArch:      noarch
-%endif
 
 %description doc
 This package contains the documentation for hwloc.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 
 %build
 autoreconf -fvi
 
 %configure \
     --disable-silent-rules
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -124,11 +119,9 @@
 
 # This binary is built only for intel architectures
 %ifarch %{ix86} x86_64
-mkdir -p %{buildroot}%{_libexecdir}/systemd/system
-mv %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service 
%{buildroot}%{_libexecdir}/systemd/system/hwloc-dump-hwdata.service
-%else
-rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service
+install -D -m 644 %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service 
%{buildroot}%{_unitdir}/hwloc-dump-hwdata.service
 %endif
+rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service
 
 %fdupes -s %{buildroot}/%{_mandir}/man1
 %fdupes -s %{buildroot}/%{_mandir}/man7
@@ -136,20 +129,37 @@
 %check
 #XXX: this is weird, but make check got broken by removing doxygen-doc/man 
above
 #     the only one fix is to install documentation by hand, or to ignore check 
error
-make %{?_smp_mflags} check || :
+%make_build check || :
 
 %post -n %{lname} -p /sbin/ldconfig
 %postun -n %{lname} -p /sbin/ldconfig
 
+%ifarch %{ix86} x86_64
+%pre
+%service_add_pre hwloc-dump-hwdata.service
+%endif
+
 %post
+%ifarch %{ix86} x86_64
+%service_add_post hwloc-dump-hwdata.service
+%endif
 %desktop_database_post
 
+%ifarch %{ix86} x86_64
+%preun
+%service_del_preun hwloc-dump-hwdata.service
+%endif
+
 %postun
+%ifarch %{ix86} x86_64
+%service_del_postun hwloc-dump-hwdata.service
+%endif
+
 %desktop_database_postun
 
 %files
-%defattr(-, root, root, -)
-%doc AUTHORS COPYING NEWS README VERSION
+%license COPYING
+%doc NEWS README VERSION
 %{_mandir}/man1/hwloc*
 %{_mandir}/man1/lstopo*
 %{_bindir}/hwloc*
@@ -158,11 +168,10 @@
 %{_sysconfdir}/bash_completion.d/hwloc-completion.bash
 %ifarch %{ix86} x86_64
 %attr(0755,root,root) %{_sbindir}/hwloc-dump-hwdata
-%{_libexecdir}/systemd/system/hwloc-dump-hwdata.service
+%{_unitdir}/hwloc-dump-hwdata.service
 %endif
 
 %files devel
-%defattr(-, root, root, -)
 %{_mandir}/man7/hwloc*
 %{_includedir}/hwloc
 %{_includedir}/hwloc.h
@@ -170,11 +179,9 @@
 %{_libdir}/pkgconfig/hwloc.pc
 
 %files -n %{lname}
-%defattr(-, root, root, -)
 %{_libdir}/libhwloc*so.*
 
 %files data
-%defattr(-, root, root, -)
 %dir %{_datadir}/hwloc
 %dir %{_datadir}/hwloc/hwloc-ps.www
 %{_datadir}/hwloc/hwloc.dtd
@@ -184,7 +191,6 @@
 %{_datadir}/hwloc/hwloc-ps.www/*
 
 %files doc
-%defattr(-, root, root, -)
 %doc ./doc/doxygen-doc/html/*
 %{_mandir}/man3/*
 

++++++ hwloc-2.1.0.tar.bz2 -> hwloc-2.2.0.tar.bz2 ++++++
++++ 64322 lines of diff (skipped)


Reply via email to