[dia] Fix conditional for EPEL in %%files, too

Christoph Wickert cwickert at fedoraproject.org
Sun Feb 17 12:40:41 UTC 2013


commit 96d5264929a6cc05aaae528399d5cbb9bb39cfee
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun Feb 17 13:40:24 2013 +0100

    Fix conditional for EPEL in %%files, too

 dia.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dia.spec b/dia.spec
index 292cca2..2bf1d36 100644
--- a/dia.spec
+++ b/dia.spec
@@ -82,7 +82,7 @@ fi
 %{_libdir}/%{name}/*.so
 %{_mandir}/man1/%{name}.1.*
 %{_datadir}/%{name}
-%if 0%{?fedora} && 0%{?fedora} < 19
+%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
 %{_datadir}/applications/fedora-%{name}.desktop
 %else
 %{_datadir}/applications/%{name}.desktop


More information about the scm-commits mailing list