[gdesklets] Use the more careful and latest conditional to detect Fedora < 19. No build.

Michael Schwendt mschwendt at fedoraproject.org
Thu Mar 14 22:39:24 UTC 2013


commit 1c3464a4646bd8d5954704e4af76a91b353262c2
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Thu Mar 14 23:39:13 2013 +0100

    Use the more careful and latest conditional to detect Fedora < 19.
    No build.

 gdesklets.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gdesklets.spec b/gdesklets.spec
index d90531f..db22669 100644
--- a/gdesklets.spec
+++ b/gdesklets.spec
@@ -2,7 +2,7 @@
 
 Name:		gdesklets
 Version:	0.36.3
-Release:	10%{?dist}
+Release:	11%{?dist}
 Summary:	Architecture for desktop applets
 
 Group:		User Interface/Desktops
@@ -49,7 +49,7 @@ rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 %find_lang %{name}
 desktop-file-install \
-%if 0%{?fedora} < 19
+%if 0%{?fedora} && 0%{?fedora} < 19
     --vendor="fedora" \
 %endif
 	--delete-original									\
@@ -96,6 +96,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Mar 14 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 0.36.3-11
+- Use the more careful and latest conditional to detect Fedora < 19. 
+
 * Thu Mar 14 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 0.36.3-10
 - Remove desktop vendor prefix for Fedora >= 19.
 - Don't include .desktop.in and MIME .xml.in template files.


More information about the scm-commits mailing list