Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/sysprof.git#7da0513375e219d88b978e74dc3569e2aea703bb
This commit is contained in:
DistroBaker 2021-02-22 10:45:18 +00:00
parent 2a331a78c6
commit 5e5a300470
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 77a340e3f6189cc428f2d7856682b205be5d9ec3 Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert@redhat.com>
Date: Fri, 19 Feb 2021 09:37:24 -0800
Subject: [PATCH] build: use specify pic for static libsysprof-capture
---
src/libsysprof-capture/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libsysprof-capture/meson.build b/src/libsysprof-capture/meson.build
index 6343165..e4e302c 100644
--- a/src/libsysprof-capture/meson.build
+++ b/src/libsysprof-capture/meson.build
@@ -52,6 +52,7 @@ libsysprof_capture = static_library(
install_dir: get_option('libdir'),
install: not meson.is_subproject(),
gnu_symbol_visibility: 'hidden',
+ pic: true,
)
libsysprof_capture_include_dirs = include_directories('.')
--
GitLab

View File

@ -2,13 +2,16 @@
Name: sysprof
Version: 3.39.90
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A system-wide Linux profiler
License: GPLv3+
URL: http://www.sysprof.com
Source0: https://download.gnome.org/sources/sysprof/3.39/sysprof-%{version}.tar.xz
# Backported from upstream
Patch0: libsysprof-capture-pic.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gettext
@ -134,6 +137,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%changelog
* Mon Feb 22 2021 Kalev Lember <klember@redhat.com> - 3.39.90-2
- Specify pic for static libsysprof-capture
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 3.39.90-1
- Update to 3.39.90