diff --git a/gnome-system-monitor.changes b/gnome-system-monitor.changes index 179b598..08835fe 100644 --- a/gnome-system-monitor.changes +++ b/gnome-system-monitor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 17 12:34:52 UTC 2017 - jengelh@inai.de + +- Use %_smp_mflags for parallel build and limit fdupes to not + work across common partitions. Replace old-age $RPM_* by %-macros. + ------------------------------------------------------------------- Tue Mar 14 18:57:08 UTC 2017 - mgorse@suse.com diff --git a/gnome-system-monitor.spec b/gnome-system-monitor.spec index 47ad5f6..919e600 100644 --- a/gnome-system-monitor.spec +++ b/gnome-system-monitor.spec @@ -61,15 +61,15 @@ translation-update-upstream %build %configure \ --enable-systemd -%__make %{?jobs:-j%jobs} V=1 +make %{?_smp_mflags} V=1 %install %makeinstall -echo DocPath=gnome-system-monitor >> $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor.desktop +echo DocPath=gnome-system-monitor >> %{buildroot}/%{_datadir}/applications/gnome-system-monitor.desktop %suse_update_desktop_file %{name} %suse_update_desktop_file %{name}-kde %find_lang %{name} %{?no_lang_C} -%fdupes $RPM_BUILD_ROOT +%fdupes %buildroot/%_prefix %post %desktop_database_post