[xlockmore] conditionalize icon BR

Adrian Reber adrian at fedoraproject.org
Mon Oct 22 08:02:53 UTC 2012


commit 8628361ea771d03f11c0d83dd9fc67b5af4a1464
Author: Adrian Reber <adrian at lisas.de>
Date:   Mon Oct 22 10:02:46 2012 +0200

    conditionalize icon BR

 xlockmore.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/xlockmore.spec b/xlockmore.spec
index c451591..0b5a99b 100644
--- a/xlockmore.spec
+++ b/xlockmore.spec
@@ -1,7 +1,7 @@
 Summary: Screen lock and screen saver
 Name: xlockmore
 Version: 5.40
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: Amusements/Graphics
 URL: http://www.tux.org/~bagleyd/xlockmore.html
@@ -12,7 +12,11 @@ BuildRequires: mesa-libGL-devel mesa-libGLU-devel
 BuildRequires: desktop-file-utils libXdmcp-devel
 BuildRequires: lesstif-devel gtk2-devel
 BuildRequires: libXau-devel
+%if 0%{?rhel}
+Requires: gnome-icon-theme
+%else
 Requires: gnome-icon-theme-legacy
+%endif
 
 %description
 Locks the local X display until a password is entered.
@@ -106,6 +110,9 @@ desktop-file-install \
 %{_bindir}/xglock
 
 %changelog
+* Mon Oct 22 2012 Adrian Reber <adrian at lisas.de> - 5.40-4
+- conditionalize icon BR
+
 * Thu Oct 18 2012 Adrian Reber <adrian at lisas.de> - 5.40-3
 - fixed "CVE-2012-4524 xlockmore: Screensaver crash (screen lock bypass) when 'dclock' mode used" (#867908)
 


More information about the scm-commits mailing list