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#ae9bc8d2b464aa4597fd1f077afb70c1e855f403
This commit is contained in:
DistroBaker 2021-03-11 20:07:00 +00:00
parent 5e5a300470
commit a7fb68015e
3 changed files with 45 additions and 34 deletions

View File

@ -1,24 +0,0 @@
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

@ -1 +1 @@
SHA512 (sysprof-3.39.90.tar.xz) = 7dd0f7f4e5a545b3b0a8f1b7ded6c355bff8c6f97c22775f0ed738ce021a9a97bd93942ec2b9aba732eec5ae91153e7d0f996fb844836c0cd2df715659b6fd0e
SHA512 (sysprof-3.39.94.tar.xz) = b9a3b277ad15199ed4816b1e63b0f3b285c6b1e23f13ace85505fbdfaa72988c33ab772046870c59acab5eb3607d333ff19f3cac5e60abe4f348d1cd74090502

View File

@ -1,17 +1,14 @@
%global glib2_version 2.61.3
%global glib2_version 2.67.4
Name: sysprof
Version: 3.39.90
Release: 2%{?dist}
Version: 3.39.94
Release: 1%{?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
@ -21,7 +18,8 @@ BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libdazzle-1.0)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(polkit-gobject-1)
@ -64,8 +62,18 @@ Summary: Sysprof UI library
The libsysprof-ui package contains the Sysprof UI library.
%package capture-devel
Summary: Development files for sysprof-capture static library
License: BSD-2-Clause-Patent
Provides: sysprof-capture-static = %{version}-%{release}
%description capture-devel
The %{name}-capture-devel package contains the sysprof-capture static library and header files.
%package devel
Summary: Development files for %{name}
Requires: %{name}-capture-devel%{?_isa} = %{version}-%{release}
Requires: libsysprof%{?_isa} = %{version}-%{release}
Requires: libsysprof-ui%{?_isa} = %{version}-%{release}
@ -125,18 +133,45 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%license COPYING
%{_libdir}/libsysprof-ui-4.so
%files capture-devel
%license src/libsysprof-capture/COPYING
%dir %{_includedir}/sysprof-4
%{_includedir}/sysprof-4/sysprof-address.h
%{_includedir}/sysprof-4/sysprof-capture-condition.h
%{_includedir}/sysprof-4/sysprof-capture-cursor.h
%{_includedir}/sysprof-4/sysprof-capture.h
%{_includedir}/sysprof-4/sysprof-capture-reader.h
%{_includedir}/sysprof-4/sysprof-capture-types.h
%{_includedir}/sysprof-4/sysprof-capture-writer.h
%{_includedir}/sysprof-4/sysprof-clock.h
%{_includedir}/sysprof-4/sysprof-collector.h
%{_includedir}/sysprof-4/sysprof-macros.h
%{_includedir}/sysprof-4/sysprof-platform.h
%{_includedir}/sysprof-4/sysprof-version.h
%{_includedir}/sysprof-4/sysprof-version-macros.h
%{_libdir}/libsysprof-capture-4.a
%{_libdir}/pkgconfig/sysprof-capture-4.pc
%files devel
%{_includedir}/sysprof-4/
%{_libdir}/pkgconfig/sysprof-4.pc
%{_libdir}/pkgconfig/sysprof-capture-4.pc
%{_libdir}/pkgconfig/sysprof-ui-4.pc
%{_libdir}/libsysprof-capture-4.a
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof2.xml
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml
%changelog
* Thu Feb 25 2021 Kalev Lember <klember@redhat.com> - 3.39.94-1
- Update to 3.39.94
* Wed Feb 24 2021 Kalev Lember <klember@redhat.com> - 3.39.92-2
- Split sysprof-capture library and header files out to sysprof-capture-devel
- Update minimum required glib2 version
* Wed Feb 24 2021 Kalev Lember <klember@redhat.com> - 3.39.92-1
- Update to 3.39.92
* Mon Feb 22 2021 Kalev Lember <klember@redhat.com> - 3.39.90-2
- Specify pic for static libsysprof-capture