Hello community,

here is the log from the commit of package libxtrxdsp for openSUSE:Factory 
checked in at 2018-01-10 23:33:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libxtrxdsp (Old)
 and      /work/SRC/openSUSE:Factory/.libxtrxdsp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libxtrxdsp"

Wed Jan 10 23:33:48 2018 rev:1 rq:560864 version:0.0.0+git.20171206

Changes:
--------
New Changes file:

--- /dev/null   2018-01-05 12:14:39.755488130 +0100
+++ /work/SRC/openSUSE:Factory/.libxtrxdsp.new/libxtrxdsp.changes       
2018-01-10 23:33:48.819836405 +0100
@@ -0,0 +1,13 @@
+-------------------------------------------------------------------
+Sun Dec 31 01:41:01 UTC 2017 - [email protected]
+
+- Fix RPM groups.
+
+-------------------------------------------------------------------
+Wed Dec 13 20:30:38 UTC 2017 - [email protected]
+
+- Initial package, version 0.0.0+git.20171206
+- Add patches:
+  * libxtrxdsp-disable-tests.patch
+  * 0001-Make-xtrxdsp-compile-with-older-gcc-versions.patch
+

New:
----
  0001-Make-xtrxdsp-compile-with-older-gcc-versions.patch
  _service
  _servicedata
  libxtrxdsp-0.0.0+git.20171206.tar.xz
  libxtrxdsp-disable-tests.patch
  libxtrxdsp.changes
  libxtrxdsp.spec

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

Other differences:
------------------
++++++ libxtrxdsp.spec ++++++
#
# spec file for package libxtrxdsp
#
# Copyright (c) 2017, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define sover   0
%define libname libxtrxdsp%{sover}
Name:           libxtrxdsp
Version:        0.0.0+git.20171206
Release:        0
Summary:        XTRXDSP library
License:        LGPL-2.1
Group:          Development/Libraries/C and C++
URL:            http://xtrx.io
Source:         %{name}-%{version}.tar.xz
Patch0:         libxtrxdsp-disable-tests.patch
Patch1:         0001-Make-xtrxdsp-compile-with-older-gcc-versions.patch
BuildRequires:  cmake
BuildRequires:  git-core
BuildRequires:  pkgconfig

%description
DSP specific functions for SDR in general and XTRX in specific.

%package -n %{libname}
Summary:        XTRXDSP library
Group:          System/Libraries

%description -n %{libname}
DSP specific functions for SDR in general and XTRX in specific.

%package devel
Summary:        Development files for libxtrxdsp
Group:          Development/Libraries/C and C++
Requires:       %{libname} = %{version}

%description devel
DSP specific functions for SDR in general and XTRX in specific.

This subpackage contains libraries and header files for developing
applications that want to make use of libxtrxdsp.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%cmake \
    -DCMAKE_SHARED_LINKER_FLAGS=""
%make_jobs

%install
%cmake_install

%post   -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig

%files -n %{libname}
%doc LICENSE README.md
%{_libdir}/libxtrxdsp.so.%{sover}*

%files devel
%{_includedir}/xtrxdsp.h
%{_includedir}/xtrxdsp_*.h
%{_libdir}/libxtrxdsp.so
%{_libdir}/pkgconfig/libxtrxdsp.pc

%changelog
++++++ 0001-Make-xtrxdsp-compile-with-older-gcc-versions.patch ++++++
>From d04959ba0211bec5e3d205fbaefe63e9b8a05f7f Mon Sep 17 00:00:00 2001
From: Martin Hauke <[email protected]>
Date: Wed, 13 Dec 2017 22:01:31 +0100
Subject: [PATCH] Make xtrxdsp compile with older gcc versions

---
 xtrxdsp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xtrxdsp.c b/xtrxdsp.c
index 57ead3c..7fc94d9 100644
--- a/xtrxdsp.c
+++ b/xtrxdsp.c
@@ -55,7 +55,9 @@ static void cpu_features_init(cpu_features_t* features)
        features->sse2 = __builtin_cpu_supports("sse2");
        features->sse41 = __builtin_cpu_supports("sse4.1");
        features->avx = __builtin_cpu_supports("avx");
+        #if (__GNUC__ >= 5) && (__GNUC__ > 5 || __GNUC_MINOR__ > 2)
        features->fma = __builtin_cpu_supports("fma");
+       #endif
 
        INFORM("CPU Features: SSE2%c SSE4.1%c AVX%c FMA%c\n",
                   features->sse2 ? '+' : '-',
-- 
2.13.6

++++++ _service ++++++
<services>
  <service mode="disabled" name="tar_scm">
    <param name="url">https://github.com/xtrx-sdr/libxtrxdsp.git</param>
    <param name="package-meta">yes</param>
    <param name="revision">master</param>
    <param name="scm">git</param>
    <param name="changesgenerate">enable</param>
    <param name="filename">libxtrxdsp</param>
    <param name="versionformat">0.0.0+git.%cd</param>
  </service>
  <service mode="disabled" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service mode="disabled" name="set_version"/>
</services>

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://github.com/xtrx-sdr/libxtrxdsp.git</param>
              <param 
name="changesrevision">41602fc530ec3b75a6edbbd6baf2b0ff76bc7673</param></service></servicedata>++++++
 libxtrxdsp-disable-tests.patch ++++++
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2198183..a372ad2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,7 +96,6 @@ set_source_files_properties(xtrxdsp_x86_no.c       PROPERTIES 
COMPILE_FLAGS "-O3
 set_target_properties(xtrxdsp PROPERTIES VERSION ${LIBVER} SOVERSION 
${MAJOR_VERSION})
 
 
-add_subdirectory(tests)
 
 ########################################################################
 # install headers & targets

Reply via email to