Hello community,
here is the log from the commit of package opentracing-cpp for openSUSE:Factory
checked in at 2019-03-20 13:21:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opentracing-cpp (Old)
and /work/SRC/openSUSE:Factory/.opentracing-cpp.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opentracing-cpp"
Wed Mar 20 13:21:21 2019 rev:4 rq:686699 version:1.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/opentracing-cpp/opentracing-cpp.changes
2018-10-25 09:12:52.330270773 +0200
+++
/work/SRC/openSUSE:Factory/.opentracing-cpp.new.28833/opentracing-cpp.changes
2019-03-20 13:21:27.937312046 +0100
@@ -1,0 +2,6 @@
+Mon Mar 18 16:41:15 UTC 2019 - Michal Rostecki <[email protected]>
+
+- Add source package, which is needed to fix envoy-proxy.
+ (boo#1129568)
+
+-------------------------------------------------------------------
New:
----
opentracing-cpp-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opentracing-cpp.spec ++++++
--- /var/tmp/diff_new_pack.l7zTcT/_old 2019-03-20 13:21:28.837311824 +0100
+++ /var/tmp/diff_new_pack.l7zTcT/_new 2019-03-20 13:21:28.837311824 +0100
@@ -1,7 +1,7 @@
#
# spec file for package opentracing-cpp
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,11 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define sover 1
+%define src_install_dir /usr/src/%{name}
Name: opentracing-cpp
Version: 1.5.0
@@ -25,8 +26,10 @@
License: MIT
Group: Development/Languages/C and C++
Url: http://opentracing.io/
-Source:
https://github.com/opentracing/opentracing-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:
https://github.com/opentracing/opentracing-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source100: %{name}-rpmlintrc
BuildRequires: cmake
+BuildRequires: fdupes
BuildRequires: gcc-c++
%description
@@ -45,7 +48,16 @@
Requires: libopentracing-cpp1 = %{version}
%description devel
-Development files for the C++ implementation of the OpenTracing API.
+Development files for opentracing-cpp - the C++ implementation of the
+OpenTracing API.
+
+%package source
+Summary: Source code of the OpenTracing C++ API
+Group: Development/Sources
+BuildArch: noarch
+
+%description source
+Source code of opentracing-cpp - the C++ implementation of the OpenTracing API.
%prep
%setup -q
@@ -56,6 +68,10 @@
%install
%cmake_install
+# Install sources
+mkdir -p %{buildroot}%{src_install_dir}
+tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
+%fdupes %{src_install_dir}
%post -n libopentracing-cpp1 -p /sbin/ldconfig
@@ -111,4 +127,7 @@
%{_libdir}/libopentracing.so
%{_libdir}/libopentracing_mocktracer.so
+%files source
+%{src_install_dir}
+
%changelog
++++++ opentracing-cpp-rpmlintrc ++++++
# This is a source package and /usr/src is a correct path to install files.
addFilter("opentracing-cpp-source.* suse-filelist-forbidden-fhs23")
# This is a source package, it's fine to have git files.
addFilter("opentracing-cpp-source.* version-control-internal-file")
# This is a source package, it's fine to have hidden files.
addFilter("opentracing-cpp-source.* hidden-file-or-dir")
# This is a source package, it's fine to have have duplitate files, despite the
# fact that fdpues should get rid of them...
addFilter("opentracing-cpp-source.* files-duplicate")