Hello community, here is the log from the commit of package bootchart for openSUSE:Factory checked in at 2019-04-11 12:17:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bootchart (Old) and /work/SRC/openSUSE:Factory/.bootchart.new.27019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bootchart" Thu Apr 11 12:17:07 2019 rev:39 rq:692951 version:2.0.14.8 Changes: -------- --- /work/SRC/openSUSE:Factory/bootchart/bootchart.changes 2017-01-15 11:17:07.794462222 +0100 +++ /work/SRC/openSUSE:Factory/.bootchart.new.27019/bootchart.changes 2019-04-11 12:17:09.180930965 +0200 @@ -1,0 +2,6 @@ +Mon Apr 8 23:25:20 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Add include-sys-sysmacros-h.patch +- Run spec-cleaner + +------------------------------------------------------------------- New: ---- include-sys-sysmacros-h.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bootchart.spec ++++++ --- /var/tmp/diff_new_pack.mjLmpn/_old 2019-04-11 12:17:10.016931387 +0200 +++ /var/tmp/diff_new_pack.mjLmpn/_new 2019-04-11 12:17:10.020931389 +0200 @@ -1,7 +1,7 @@ # # spec file for package bootchart # -# Copyright (c) 2017 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,28 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define real_version 0.14.8 - Name: bootchart +Version: 2.%{real_version} +Release: 0 +Summary: Boot Process Charting Application +License: GPL-3.0-or-later +Group: Development/Tools/Other +URL: https://github.com/mmeeks/bootchart +Source: https://github.com/xrmx/bootchart/releases/download/%{real_version}/bootchart2-%{real_version}.tar.bz2 +Patch0: bootchart-let-RMP-strip-manpages.patch +# PATCH-FIX-UPSTREAM +Patch1: include-sys-sysmacros-h.patch BuildRequires: fdupes BuildRequires: python-devel BuildRequires: systemd-rpm-macros Requires: lsb-release Requires: python-cairo Requires: python-gtk -Url: https://github.com/mmeeks/bootchart -Summary: Boot Process Charting Application -License: GPL-3.0+ -Group: Development/Tools/Other -Version: 2.%{real_version} -Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: https://github.com/xrmx/bootchart/releases/download/%{real_version}/bootchart2-%{real_version}.tar.bz2 -Patch: bootchart-let-RMP-strip-manpages.patch %{?systemd_requires} %description @@ -42,20 +42,21 @@ %prep %setup -q -n bootchart2-%{real_version} -%patch -p1 +%patch0 -p1 +%patch1 -p1 %build -export EARLY_PREFIX=%_prefix -make CFLAGS="%optflags" %{?_smp_mflags} +export EARLY_PREFIX=%{_prefix} +make CFLAGS="%{optflags}" %{?_smp_mflags} %install -export PY_LIBDIR=%py_libdir -export PY_SITEDIR=%py_sitedir -export EARLY_PREFIX=%_prefix -export DOCDIR=%_docdir/%name -make install DESTDIR=%{buildroot} -ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcbootchart2 -ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcbootchart2-done +export PY_LIBDIR=%{py_libdir} +export PY_SITEDIR=%{py_sitedir} +export EARLY_PREFIX=%{_prefix} +export DOCDIR=%{_docdir}/%{name} +%make_install +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcbootchart2 +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcbootchart2-done %fdupes -s %{buildroot}%{python_sitelib} %pre @@ -71,22 +72,22 @@ %service_del_postun bootchart2.service bootchart2-done.service bootchart2-done.timer %files -%defattr(-,root,root) +%license COPYING %dir %{_libexecdir}/bootchart %{_docdir}/* %{_bindir}/pybootchartgui %{_libexecdir}/bootchart/tmpfs %{_libexecdir}/bootchart/bootchart-collector -%{_mandir}/man1/bootchart2.1.gz -%{_mandir}/man1/bootchartd.1.gz -%{_mandir}/man1/pybootchartgui.1.gz +%{_mandir}/man1/bootchart2.1%{?ext_man} +%{_mandir}/man1/bootchartd.1%{?ext_man} +%{_mandir}/man1/pybootchartgui.1%{?ext_man} %{_mandir}/man1/%{name}* %{_sbindir}/bootchartd %{_sbindir}/rcbootchart2 %{_sbindir}/rcbootchart2-done %{_unitdir}/bootchart2*.service %{_unitdir}/bootchart2-done.timer -%config(noreplace) /etc/bootchartd.conf -%py_sitedir/pybootchartgui +%config(noreplace) %{_sysconfdir}/bootchartd.conf +%{py_sitedir}/pybootchartgui %changelog ++++++ include-sys-sysmacros-h.patch ++++++ >From add58c3b57064afd6f7d2fd5f09006d28a3e770e Mon Sep 17 00:00:00 2001 From: Mike Frysinger <[email protected]> Date: Thu, 21 Apr 2016 00:19:32 -0400 Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev These funcs are defined in the sys/sysmacros.h header, not sys/types.h. Linux C libraries are updating to drop the implicit include, so we need to include it explicitly. --- collector/collector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/collector/collector.c b/collector/collector.c index cfdcb26..2f3ce6b 100644 --- a/collector/collector.c +++ b/collector/collector.c @@ -33,6 +33,7 @@ #include "common.h" #include <sys/mount.h> +#include <sys/sysmacros.h> #include <linux/fs.h> #include <linux/genetlink.h> #include <linux/taskstats.h>
