From 827bc2b1e2237b1edf1b05ab76948c5faccce737 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Tue, 12 Aug 2014 15:39:12 +0200 Subject: [PATCH] Fix fedora macro --- ypserv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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