[ypserv: 1/3] Fix fedora macro

Honza Horak hhorak at fedoraproject.org
Tue Aug 12 14:24:10 UTC 2014


commit 827bc2b1e2237b1edf1b05ab76948c5faccce737
Author: Honza Horak <hhorak at redhat.com>
Date:   Tue Aug 12 15:39:12 2014 +0200

    Fix fedora macro

 ypserv.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ypserv.spec b/ypserv.spec
index 5b4508a..f1e5ef9 100644
--- a/ypserv.spec
+++ b/ypserv.spec
@@ -140,7 +140,7 @@ install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/rpc.yppasswdd.env
 %systemd_postun_with_restart ypxfrd.service
 %systemd_postun_with_restart yppasswdd.service
 
-%if 0%fedora>=18
+%if 0%{?fedora}>=18
 
 # After switching from gdbm to Tokyo Cabinet we need to rebuild maps
 # during update, but without pushing to slave servers


More information about the scm-commits mailing list