[mate-screensaver/f20] use a condition for the sed command

Wolfgang Ulbrich raveit65 at fedoraproject.org
Sat Feb 1 11:47:30 UTC 2014


commit 58e65aa0292c4a08b9b128c8c166a4a031e126f0
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sat Feb 1 12:47:50 2014 +0100

    use a condition for the sed command

 mate-screensaver.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/mate-screensaver.spec b/mate-screensaver.spec
index d0057ab..aecfaef 100644
--- a/mate-screensaver.spec
+++ b/mate-screensaver.spec
@@ -55,8 +55,11 @@ Development files for mate-screensaver
 %setup -q
 
 # fix rhbz (#1056591) and (#1056591), only for f20
+# switch to gnome-keyring > f19
+%if 0%{?fedora} > 19
 sed -i -e \
 's,auth       optional     pam_mate_keyring.so,auth       optional pam_gnome_keyring.so,g' data/mate-screensaver
+%endif
 
 %build
 %configure                          \
@@ -135,6 +138,7 @@ fi
 * Sat Feb 01 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.2-1
 - update to 1.6.2 release
 - removed upstreamed systemd patch
+- use a condition for the sed command
 
 * Sun Jan 26 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.1-5
 - fix pam file, rhbz (#1056591) and (#1056591)


More information about the scm-commits mailing list