Hello community, here is the log from the commit of package schedtop for openSUSE:Factory checked in at 2015-10-25 19:13:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/schedtop (Old) and /work/SRC/openSUSE:Factory/.schedtop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "schedtop" Changes: -------- --- /work/SRC/openSUSE:Factory/schedtop/schedtop.changes 2012-01-04 07:31:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.schedtop.new/schedtop.changes 2015-10-25 19:13:33.000000000 +0100 @@ -1,0 +2,12 @@ +Sat Oct 24 18:51:31 UTC 2015 - [email protected] + +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- +Sat Oct 17 12:43:08 UTC 2015 - [email protected] + +- remove useless 'ncurses' dependency (it is figured from dynamic + linking) +- add Url tag + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ schedtop.spec ++++++ --- /var/tmp/diff_new_pack.zFXmMo/_old 2015-10-25 19:13:33.000000000 +0100 +++ /var/tmp/diff_new_pack.zFXmMo/_new 2015-10-25 19:13:33.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package schedtop # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,30 +16,19 @@ # -%define rpmrel 1 -%if 0%{?suse_version} > 1100 -%define boostdeps boost-devel -%else -%if 0%{?suse_version} == 1110 -%define boostdeps boost-devel libboost_regex1_36 libboost_program_options1_36 libboost_filesystem1_36 -%else -%define boostdeps boost -%endif -%endif -BuildRequires: %{boostdeps} -BuildRequires: gcc-c++ -BuildRequires: ncurses-devel -Summary: Displays Scheduler Statistics -License: GPL-2.0+ -Group: System/Monitoring - Name: schedtop Version: 1.1 Release: 0 -Requires: ncurses +Summary: Displays Scheduler Statistics +License: GPL-2.0+ +Group: System/Monitoring +Url: https://github.com/ghaskins/schedtop Source: %{name}-%{version}.tar.gz Patch0: schedtop-cxxflags.patch Patch1: schedtop-boost_filesystem_changes.patch +BuildRequires: boost-devel +BuildRequires: gcc-c++ +BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -48,33 +37,22 @@ the largest stat, or by name. Stats can be included or excluded based on reg-ex pattern matching. -Authors --------------------------- - Gregory Haskins <[email protected]> - %prep %setup -q %patch0 %patch1 %build -make CXXFLAGS="%{optflags}" +make %{?_smp_mflags} CXXFLAGS="%{optflags}" %install -make install PREFIX=$RPM_BUILD_ROOT -# Install documentation -%{__mkdir_p} %{buildroot}/%{_defaultdocdir}/schedtop -%{__mkdir_p} %{buildroot}/%{_mandir}/man1 -%{__gzip} *.1 -%{__cp} *.1.gz %{buildroot}/%{_mandir}/man1 - -%clean -make clean +make install PREFIX=%{buildroot} +install -D -m 0644 schedtop.1 %{buildroot}/%{_mandir}/man1/schedtop.1 %files %defattr(-,root,root) -/usr/bin/schedtop +%doc schedtop.html +%{_bindir}/schedtop %{_mandir}/man1/* -%{_defaultdocdir}/* %changelog
