Hello community,

here is the log from the commit of package fec for openSUSE:Factory checked in 
at 2018-01-20 11:27:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fec (Old)
 and      /work/SRC/openSUSE:Factory/.fec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fec"

Sat Jan 20 11:27:59 2018 rev:2 rq:567678 version:3.0.0+git.20160910

Changes:
--------
--- /work/SRC/openSUSE:Factory/fec/fec.changes  2017-05-24 16:46:44.173234379 
+0200
+++ /work/SRC/openSUSE:Factory/.fec.new/fec.changes     2018-01-20 
11:28:02.952621698 +0100
@@ -1,0 +2,11 @@
+Fri Jan 19 12:22:14 UTC 2018 - [email protected]
+
+- Fix SRPM group.
+
+-------------------------------------------------------------------
+Thu Jan 18 19:06:51 UTC 2018 - [email protected]
+
+- Add patch:
+  * fec-fix-cmake-libdir.patch
+
+-------------------------------------------------------------------

New:
----
  fec-fix-cmake-libdir.patch

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

Other differences:
------------------
++++++ fec.spec ++++++
--- /var/tmp/diff_new_pack.LVunsK/_old  2018-01-20 11:28:03.696586905 +0100
+++ /var/tmp/diff_new_pack.LVunsK/_new  2018-01-20 11:28:03.696586905 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fec
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -23,12 +23,13 @@
 Release:        0
 Summary:        Library with several forward error correction (FEC) functions
 License:        LGPL-2.1
-Group:          System/Libraries
+Group:          Development/Libraries/C and C++
 Url:            https://github.com/Opendigitalradio/ka9q-fec
 Source:         %{name}-%{version}.tar.xz
+Patch0:         fec-fix-cmake-libdir.patch
 BuildRequires:  cmake
-BuildRequires:  pkgconfig
 BuildRequires:  git-core
+BuildRequires:  pkg-config
 
 %description
 A library that provides a set of functions that implement several
@@ -59,6 +60,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake
@@ -71,12 +73,10 @@
 %postun -n libfec%{sover} -p /sbin/ldconfig
 
 %files -n libfec%{sover}
-%defattr(-,root,root)
 %doc LICENSE README README.x86-64
 %{_libdir}/libfec.so.%{sover}
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/fec.h
 %{_libdir}/libfec.so
 %{_libdir}/pkgconfig/libfec.pc

++++++ fec-fix-cmake-libdir.patch ++++++
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 185fbe1..f842504 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -239,7 +239,7 @@ endforeach()
 
 set(LIBFEC_PC_PREFIX ${CMAKE_INSTALL_PREFIX})
 set(LIBFEC_PC_EXEC_PREFIX \${prefix})
-set(LIBFEC_PC_LIBDIR \${exec_prefix}/${LIB_INSTALL_DIR})
+set(LIBFEC_PC_LIBDIR ${LIB_INSTALL_DIR})
 set(LIBFEC_PC_INCLUDEDIR \${prefix}/include)
 set(LIBFEC_PC_VERSION ${VERSION})
 set(LIBFEC_PC_LIBS "-lfec")

Reply via email to