Hello community, here is the log from the commit of package uhd for openSUSE:Factory checked in at 2017-02-07 12:03:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/uhd (Old) and /work/SRC/openSUSE:Factory/.uhd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uhd" Changes: -------- --- /work/SRC/openSUSE:Factory/uhd/uhd.changes 2016-12-29 22:43:31.311413362 +0100 +++ /work/SRC/openSUSE:Factory/.uhd.new/uhd.changes 2017-02-07 12:03:57.465460312 +0100 @@ -1,0 +2,10 @@ +Fri Feb 3 16:14:09 UTC 2017 - [email protected] + +- Directly invoke ldconfig and don't suppress output from groupadd. + +------------------------------------------------------------------- +Thu Feb 2 15:13:46 UTC 2017 - [email protected] + +- use individual libboost-*-devel packages instead of boost-devel + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uhd.spec ++++++ --- /var/tmp/diff_new_pack.eHLmP7/_old 2017-02-07 12:03:58.841265677 +0100 +++ /var/tmp/diff_new_pack.eHLmP7/_new 2017-02-07 12:03:58.845265111 +0100 @@ -1,7 +1,7 @@ # # spec file for package uhd # -# Copyright (c) 2016 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 @@ -30,7 +30,16 @@ Source1: http://files.ettus.com/binaries/images/uhd-images_%{img_ver}-release.tar.gz # PATCH-FIX-OPENSUSE fix-for-armv6l-armv7l-build-failure.patch Patch: fix-for-armv6l-armv7l-build-failure.patch -BuildRequires: boost-devel >= 1.36 +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_filesystem-devel +BuildRequires: libboost_program_options-devel +BuildRequires: libboost_regex-devel +BuildRequires: libboost_serialization-devel +BuildRequires: libboost_test-devel +BuildRequires: libboost_thread-devel +%else +BuildRequires: boost-devel >= 1.36.0 +%endif BuildRequires: cmake >= 2.6 BuildRequires: docutils BuildRequires: doxygen @@ -57,7 +66,7 @@ Summary: The UHD driver Group: Hardware/Other Requires: %{name}-udev >= %{version} -# PRE script requires /usr/sbin/groupadd, that exist in "shadow" package +# PRE script requires /usr/sbin/groupadd, that exists in the "shadow" package Requires(pre): shadow %description -n %{libname} @@ -82,7 +91,16 @@ Summary: Development files for uhd Group: Development/Libraries/Other Requires: %{libname} = %{version} +%if 0%{?suse_version} > 1325 +Requires: libboost_filesystem-devel +Requires: libboost_program_options-devel +Requires: libboost_regex-devel +Requires: libboost_serialization-devel +Requires: libboost_test-devel +Requires: libboost_thread-devel +%else Requires: boost-devel +%endif Recommends: %{name}-doc %description devel @@ -160,18 +178,13 @@ tar -xzvf %{SOURCE1} --transform="s,^uhd-images_%{img_ver}-release/share/uhd/,," --show-transformed-names -C %{buildroot}%{_datadir}/uhd # find dupes -%fdupes -s %{buildroot}%{_bindir} -%fdupes -s %{buildroot}%{_docdir} -%fdupes -s %{buildroot}%{_datadir}/uhd +%fdupes -s %{buildroot}%{_prefix} %pre -n %{libname} -getent group usrp >/dev/null || %{_sbindir}/groupadd -r usrp >/dev/null +getent group usrp >/dev/null || %{_sbindir}/groupadd -r usrp -%post -n %{libname} -/sbin/ldconfig - -%postun -n %{libname} -/sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-,root,root)
