Hello community,

here is the log from the commit of package hwloc for openSUSE:Factory checked 
in at 2017-02-14 00:43:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hwloc (Old)
 and      /work/SRC/openSUSE:Factory/.hwloc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hwloc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hwloc/hwloc.changes      2015-12-29 
12:59:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.hwloc.new/hwloc.changes 2017-02-14 
00:43:24.644507399 +0100
@@ -1,0 +2,51 @@
+Wed Feb  8 12:46:42 UTC 2017 - jeng...@inai.de
+
+- fix grammar errors
+
+-------------------------------------------------------------------
+Fri Jan 27 13:14:01 UTC 2017 - thomas.bl...@suse.com
+
+- use correct upstream source version
+
+-------------------------------------------------------------------
+Tue Jan 24 15:10:18 UTC 2017 - thomas.bl...@suse.com
+
+- use version_prefix in specfile and download_files service to get sources
+
+-------------------------------------------------------------------
+Mon Jan 23 14:37:16 UTC 2017 - tchva...@suse.com
+
+- Set noarch on the subpackages that are arch independent
+- Run configure with enabling verbose mode and disable needless knobs
+- Set version in the package fully (not 1.11 but 1.11.5+git...)
+- Rename files to name of the package, if it needs to be renamed the folder
+  needs to keep the other name too
+- Do not mess with provides/obsoletes about the hwloc-2.0 it won't work
+  with libsolv anyway without user interaction
+  * Bump the user version to 2.0.0.1.11.5+git... to allow 'fake' update
+    for user in order to work with fate#321929c#5
+
+-------------------------------------------------------------------
+Tue Jan 17 12:34:11 UTC 2017 - thomas.bl...@suse.com
+
+- switch  to version 1.11.5 since 2.0 is a development version with 
+  no .so-version set fate#321929 comment#5)
+
+-------------------------------------------------------------------
+Mon Aug 29 13:28:27 UTC 2016 - thomas.bl...@suse.com
+
+- fix missing manpage bug (bsc#995407)
+- remove dependency to selinux-policy, selinux is not essential
+  for hwloc (bsc#976559 comment#4)
+
+-------------------------------------------------------------------
+Fri Apr 22 08:28:22 UTC 2016 - thomas.bl...@suse.com
+
+- add dependency to selinux-policy (bsc#976559)
+
+-------------------------------------------------------------------
+Fri Mar 11 05:39:24 UTC 2016 - thomas.bl...@suse.com
+
+- Update to 2.0 to support memory side cache (fate#319511)
+
+-------------------------------------------------------------------

Old:
----
  hwloc-1.11.2.tar.bz2

New:
----
  _service
  hwloc-1.11.5.tar.gz

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

Other differences:
------------------
++++++ hwloc.spec ++++++
--- /var/tmp/diff_new_pack.8ouUID/_old  2017-02-14 00:43:25.376404074 +0100
+++ /var/tmp/diff_new_pack.8ouUID/_new  2017-02-14 00:43:25.380403509 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hwloc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,57 +17,46 @@
 
 
 %global lname libhwloc5
-%define sversion 1.11
+%if ! 0%{?is_opensuse}
+%define version_prefix 2.0.0.
+%endif
+%define mainversion 1.11.5
 Name:           hwloc
-Version:        1.11.2
+Version:        %{?version_prefix}%{?mainversion}
 Release:        0
 Summary:        Portable Hardware Locality
 License:        BSD-3-Clause
 Group:          Productivity/Clustering/Computing
 Url:            http://www.open-mpi.org/projects/hwloc/
-Source0:        
http://www.open-mpi.org/software/hwloc/v%{sversion}/downloads/%{name}-%{version}.tar.bz2
+#Source0:        %{name}-%{version}.tar.xz
+Source0:        
https://github.com/open-mpi/hwloc/archive/%{name}-%{mainversion}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
-#BuildRequires:  libXNVCtrl-devel
 BuildRequires:  ncurses-devel
-BuildRequires:  transfig
+BuildRequires:  perl
+BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
-BuildRequires:  w3m
-Requires:       %{lname} = %{version}-%{release}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} <= 1220 && !0%{?suse_version}
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(pciaccess)
 BuildRequires:  pkgconfig(x11)
-%else
-BuildRequires:  cairo-devel
-BuildRequires:  libxml2-devel
-BuildRequires:  ncurses-devel
-BuildRequires:  xorg-x11-libICE-devel
-BuildRequires:  xorg-x11-libSM-devel
-BuildRequires:  xorg-x11-libX11-devel
-%endif
-#BuildRequires:  texlive-latex
-%if 0%{?suse_version} <= 1220
-BuildRequires:  texlive-bin-latex
-%else
-BuildRequires:  texlive-makeindex-bin
-%endif
-# % ifnarch s390 s390x
-# BuildRequires:  libibverbs-devel
-# % endif
-%ifnarch s390 s390x i586 %arm
+Requires:       %{lname} = %{version}-%{release}
+Requires:       perl-JSON
+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
 
 %description
 The Portable Hardware Locality (hwloc) software package provides
-a portable abstraction (across OS, versions, architectures, ...)
+an abstraction (across OS, versions, architectures, ...)
 of the hierarchical topology of modern architectures, including
 NUMA memory nodes,  shared caches, processor sockets, processor cores
 and processing units (logical processors or "threads"). It also gathers
@@ -79,73 +68,62 @@
 It also offers a powerful programming interface (C API) to gather information
 about the hardware, bind processes, and much more.
 
-%package lstopo
-Summary:        Shows the topology in various formats
-Group:          Productivity/Clustering/Computing
-
-%description lstopo
-Lstopo shows the topology of the system in various formats.
-
 %package devel
 Summary:        Headers and shared development libraries for hwloc
 Group:          Development/Libraries/C and C++
 Requires:       %{lname} = %{version}
-Provides:       lib%{name}-devel = %{version}-%{release}
-Obsoletes:      lib%{name}-devel <= 1.4.1
+Provides:       libhwloc-devel = %{version}
+Obsoletes:      libhwloc-devel < %{version}
+Obsoletes:      libhwloc-devel = 0.0.0
 
 %description devel
-Headers and shared object symbolic links for the hwloc.
+This package contains the headers and shared object symbolic links
+for the hwloc.
 
 %package -n %{lname}
-Summary:        Run time libraries for the hwloc
+Summary:        Runtime libraries for hwloc
 Group:          System/Libraries
 Requires:       %{name}-data
 
 %description -n %{lname}
-Run time libraries for the %{name}.
+Package contains run time libraries for the hwloc.
 
 %package data
-Summary:        Run time data for hwloc
-Group:          Development/Libraries/C and C++
+Summary:        Runtime data for hwloc
+Group:          System/Libraries
+BuildArch:      noarch
 
 %description data
-Run time data for the hwloc.
+This package contains the runtime data for hwloc.
 
 %package doc
 Summary:        Documentation for hwloc
 Group:          Documentation/Other
+BuildArch:      noarch
 
 %description doc
-Package contains documentation for %{name}.
+This package contains the documentation for hwlock.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{mainversion}
 
 %build
-%if 0%{?sles_version}
-sed -i 's/1.11 dist-bzip2 subdir-objects foreign tar-ustar parallel-tests 
-Wall -Werror/1.10 dist-bzip2 subdir-objects foreign tar-ustar -Wall -Werror/g' 
configure.ac
-%endif
-autoreconf --force --install
-sed -i "s;(LN_S) lstopo-no-graphics;(LN_S) lstopo;g" utils/lstopo/Makefile.in
-%configure
-##sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
-##sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags} V=1
+autoreconf -fvi
+
+%configure \
+    --disable-silent-rules
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot} INSTALL="install -p"
+%make_install
 %suse_update_desktop_file -r lstopo System Monitor
-#Fix wrong permition on file hwloc-assembler-remote => I have reported this to 
upstream already
-chmod 0755 %{buildroot}%{_bindir}/hwloc-assembler-remote
 # We don't ship .la files.
 rm -rf %{buildroot}%{_libdir}/libhwloc.la
 
 # documentation will be handled by % doc macro
 rm -rf %{buildroot}%{_datadir}/doc/
 %fdupes -s %{buildroot}/%{_mandir}/man1
-%fdupes -s %{buildroot}/%{_mandir}/man3
 %fdupes -s %{buildroot}/%{_mandir}/man7
-%fdupes -s doc/doxygen-doc
 
 %check
 #XXX: this is weird, but make check got broken by removing doxygen-doc/man 
above
@@ -153,34 +131,36 @@
 make %{?_smp_mflags} check || :
 
 %post -n %{lname} -p /sbin/ldconfig
-
 %postun -n %{lname} -p /sbin/ldconfig
 
+%post
+%desktop_database_post
+
+%postun
+%desktop_database_postun
+
 %files
 %defattr(-, root, root, -)
 %doc AUTHORS COPYING NEWS README VERSION
-%attr(0755,root,root) %{_bindir}/%{name}*
 # This binary is built only for intel architectures
-%ifarch %ix86 x86_64
+%ifarch %{ix86} x86_64
 %attr(0755,root,root) %{_sbindir}/hwloc-dump-hwdata
 %endif
-%doc %{_mandir}/man1/%{name}*
-
-%files lstopo
-%defattr(-,root,root)
-%attr(0755,root,root) %{_bindir}/lstopo*
+%{_mandir}/man1/hwloc*
+%{_mandir}/man1/lstopo*
+%{_bindir}/hwloc*
+%{_bindir}/lstopo*
+%dir %{_datadir}/hwloc
 %{_datadir}/applications/*.desktop
-%doc %{_mandir}/man1/lstopo.1*
-%doc %{_mandir}/man1/lstopo-no-graphics.1.*
+%{_datadir}/hwloc/hwloc-dump-hwdata.service
 
 %files devel
 %defattr(-, root, root, -)
-%doc %{_mandir}/man3/*
-%doc %{_mandir}/man7/%{name}*
-%{_includedir}/%{name}
-%{_includedir}/%{name}.h
-%{_libdir}/lib%{name}.so
-%{_libdir}/pkgconfig/%{name}.pc
+%{_mandir}/man7/hwloc*
+%{_includedir}/hwloc
+%{_includedir}/hwloc.h
+%{_libdir}/libhwloc.so
+%{_libdir}/pkgconfig/hwloc.pc
 
 %files -n %{lname}
 %defattr(-, root, root, -)
@@ -188,13 +168,12 @@
 
 %files data
 %defattr(-, root, root, -)
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/%{name}.dtd
-%{_datadir}/%{name}/%{name}-valgrind.supp
+%dir %{_datadir}/hwloc
+%{_datadir}/hwloc/hwloc.dtd
+%{_datadir}/hwloc/hwloc-valgrind.supp
 
 %files doc
 %defattr(-, root, root, -)
-%doc doc/doxygen-doc/html
-%doc doc/doxygen-doc/hwloc*.pdf
+%doc ./doc/images/*.pdf
 
 %changelog

++++++ _service ++++++
<services>
<service name="download_files" mode="localonly">
    <param name="enforceupstream">yes</param>
  </service>
</services>

Reply via email to