Hello community,
here is the log from the commit of package lightstep-tracer-cpp for
openSUSE:Factory checked in at 2019-03-20 13:21:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lightstep-tracer-cpp (Old)
and /work/SRC/openSUSE:Factory/.lightstep-tracer-cpp.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightstep-tracer-cpp"
Wed Mar 20 13:21:07 2019 rev:2 rq:686690 version:0.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/lightstep-tracer-cpp/lightstep-tracer-cpp.changes
2019-01-21 10:59:48.399317758 +0100
+++
/work/SRC/openSUSE:Factory/.lightstep-tracer-cpp.new.28833/lightstep-tracer-cpp.changes
2019-03-20 13:21:09.085316691 +0100
@@ -1,0 +2,6 @@
+Mon Mar 18 12:05:04 UTC 2019 - Michal Rostecki <[email protected]>
+
+- Add source package, which is needed to fix envoy-proxy.
+ (boo#1129568)
+
+-------------------------------------------------------------------
New:
----
lightstep-tracer-cpp-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lightstep-tracer-cpp.spec ++++++
--- /var/tmp/diff_new_pack.RGt7Tq/_old 2019-03-20 13:21:10.853316255 +0100
+++ /var/tmp/diff_new_pack.RGt7Tq/_new 2019-03-20 13:21:10.853316255 +0100
@@ -1,7 +1,7 @@
#
# spec file for package lightstep-tracer-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
@@ -18,6 +18,7 @@
%define sover 0
%define libname liblightstep_tracer%{sover}
+%define src_install_dir /usr/src/%{name}
Name: lightstep-tracer-cpp
Version: 0.8.1
@@ -26,10 +27,12 @@
License: MIT
Group: Development/Languages/C and C++
Url: http://lightstep.com/
-Source: %{name}-%{version}.tar.xz
+Source0: %{name}-%{version}.tar.xz
+Source100: %{name}-rpmlintrc
Patch0: lightstep-tracer-cpp-cmake-add-soversion.patch
Patch1: lightstep-tracer-cpp-cmake-use-gnuinstalldirs.patch
BuildRequires: cmake
+BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: grpc-devel
BuildRequires: opentracing-cpp-devel
@@ -55,6 +58,15 @@
Development files for lightstep-tracer-cpp - C++ library for LightStep
distributed tracing.
+%package source
+Summary: Source code of the LightStep C++ library
+Group: Development/Sources
+BuildArch: noarch
+
+%description source
+Development files for lightstep-tracer-cpp - C++ library for LightStep
+distributed tracing.
+
%prep
%setup -q
%patch0 -p1
@@ -66,6 +78,10 @@
%install
%cmake_install
+# Install sources
+mkdir -p %{buildroot}%{src_install_dir}
+tar -xf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
+%fdupes %{src_install_dir}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
@@ -79,4 +95,7 @@
%{_includedir}/lightstep
%{_libdir}/liblightstep_tracer.so
+%files source
+%{src_install_dir}
+
%changelog
++++++ lightstep-tracer-cpp-rpmlintrc ++++++
# This is a source package and /usr/src is a correct path to install files.
addFilter("lightstep-tracer-cpp-source.* suse-filelist-forbidden-fhs23")
# This is a source package, it's fine to have empty files.
addFilter("lightstep-tracer-cpp-source.* zero-length")
# This is a source package, it's fine to have hidden files.
addFilter("lightstep-tracer-cpp-source.* hidden-file-or-dir")