- inotify bcond and glibc interface dep
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 13 Aug 2009 10:31:39 +0000 (10:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cronie.spec -> 1.10

cronie.spec

index f9a7e4068ec39287a79884bcb55512f58c14d70a..af0bd15d486390b9d40de966913f967016eeab24 100644 (file)
@@ -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}
This page took 0.070111 seconds and 4 git commands to generate.