From: Elan Ruusamäe Date: Thu, 13 Aug 2009 10:31:39 +0000 (+0000) Subject: - inotify bcond and glibc interface dep X-Git-Tag: auto/ti/cronie-1_4_1-3~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcronie.git;a=commitdiff_plain;h=946518b723af3748c7b836ec2df2ca5860226ed0 - inotify bcond and glibc interface dep Changed files: cronie.spec -> 1.10 --- diff --git a/cronie.spec b/cronie.spec index f9a7e40..af0bd15 100644 --- a/cronie.spec +++ b/cronie.spec @@ -1,6 +1,7 @@ # # Conditional build: %bcond_without selinux # without SELinux support +%bcond_without inotify # without inotify support # Summary: Cron daemon for executing programs at set times Name: cronie @@ -17,6 +18,7 @@ Source4: %{name}.crontab Source5: %{name}.pam URL: https://fedorahosted.org/cronie/ BuildRequires: audit-libs-devel +%{?with_inotify:BuildRequires: glibc-devel >= 6:2.4} %{?with_selinux:BuildRequires: libselinux-devel} BuildRequires: pam-devel BuildRequires: rpmbuild(macros) >= 1.268 @@ -67,7 +69,7 @@ however this could be overloaded in settings. --with-pam \ --with%{!?with_selinux:out}-selinux \ --with-audit \ - --with-inotify \ + --with%{!?with_inotify:out}-inotify \ --enable-anacron %{__make}