From 20712730df2cf2af1abfc8a461e47928d4b0d92c Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 30 Apr 2016 14:12:07 -0400 Subject: [PATCH] Fix if fedora conditionals and add EL conditionals --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 9b4cbd7..d7aa28b 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.26.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -75,7 +75,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_sbindir}/gpartedbin %{_datadir}/applications/gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* -%if 0%{fedora} < 24 +%if 0%{?fedora} < 24 || 0%{?rhel} < 7 %{_datadir}/pixmaps/%{name}.png %endif %{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Apr 30 2016 Mukundan Ragavan - 0.26.0-2 +- Fix if fedora conditionals and add EL conditionals + * Thu Apr 28 2016 Mukundan Ragavan - 0.26.0-1 - Update to 0.26.0