]> git.pld-linux.org Git - packages/cronie.git/commitdiff
- audit bcond, regen automake
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 13 Aug 2009 10:43:58 +0000 (10:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cronie.spec -> 1.11

cronie.spec

index af0bd15d486390b9d40de966913f967016eeab24..e680236cf78ec676651a2a79db184c875e30fdc4 100644 (file)
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without selinux         # without SELinux support
 %bcond_without inotify         # without inotify support
+%bcond_without audit           # without audit support
 #
 Summary:       Cron daemon for executing programs at set times
 Name:          cronie
@@ -17,7 +18,9 @@ Source3:      cron.sysconfig
 Source4:       %{name}.crontab
 Source5:       %{name}.pam
 URL:           https://fedorahosted.org/cronie/
-BuildRequires: audit-libs-devel
+%{?with_audit:BuildRequires:   audit-libs-devel}
+BuildRequires: autoconf
+BuildRequires: automake
 %{?with_inotify:BuildRequires: glibc-devel >= 6:2.4}
 %{?with_selinux:BuildRequires: libselinux-devel}
 BuildRequires: pam-devel
@@ -62,13 +65,17 @@ however this could be overloaded in settings.
 %setup -q
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        SYSCRONTAB=/etc/cron.d/crontab \
        SYS_CROND_DIR=/etc/cron.d \
        --sysconfdir=/etc/cron \
        --with-pam \
        --with%{!?with_selinux:out}-selinux \
-       --with-audit \
+       --with%{!?with_audit:out}-audit \
        --with%{!?with_inotify:out}-inotify \
        --enable-anacron
 
This page took 0.063115 seconds and 4 git commands to generate.