diff --git a/.gitignore b/.gitignore index 5a57a49..0f7f14b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.28.1.tar.gz /gparted-0.29.0.tar.gz /gparted-0.30.0.tar.gz +/gparted-0.31.0.tar.gz diff --git a/gparted.spec b/gparted.spec index 56a31cc..43907c2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.30.0 -Release: 2%{?dist} +Version: 0.31.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -35,10 +35,10 @@ sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" g %build %configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root -make V=1 %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install +%make_install sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop @@ -58,17 +58,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %find_lang %{name} -%post -touch --no-create %{_datadir}/icons/hicolor || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +%ldconfig_scriptlets %files -f %{name}.lang %license COPYING @@ -85,6 +75,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Mar 19 2018 Mukundan Ragavan - 0.31.0-1 +- Update to 0.31.0 + * Wed Feb 07 2018 Fedora Release Engineering - 0.30.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 5b04d4a..33ce553 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.30.0.tar.gz) = 64cfc3d0a30a94ccd19bd13bbbb6be06f059df57b1f810010b16fea0d78013066e6929ea7dadf2cff38230a215e478429e98a389edea8d3a29ddfe85075b4104 +SHA512 (gparted-0.31.0.tar.gz) = b1041d7e8cad66818a3726615fb43825d1fe343b0cc7b643dc37319174d053c3236dc88e74184ac993d0dac622cd0405ea4d10fe022baa76aed7b9f8168471df