X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dspam.spec;h=cbd13371862499444093da40a5cf4edaf9eddc9c;hb=43a9bb3ea03acb00e6636d84a9dc5f1fa6606eb5;hp=c73525f95c51f3c596fb5edf9886303dd171e8f0;hpb=e36e34b924e448c0567873c5ec72df4744722cb2;p=packages%2Fdspam.git diff --git a/dspam.spec b/dspam.spec index c73525f..cbd1337 100644 --- a/dspam.spec +++ b/dspam.spec @@ -24,6 +24,7 @@ BuildRequires: postgresql-devel BuildRequires: sqlite-devel %endif %endif +BuildRequires: sed >= 4.0 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -174,10 +175,10 @@ install -m0644 lht.h $RPM_BUILD_ROOT%{_includedir}/%{name} install -m0644 nodetree.h $RPM_BUILD_ROOT%{_includedir}/%{name} # provide maintenance scripts -install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily -install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.weekly +install -d $RPM_BUILD_ROOT/etc/cron.daily +install -d $RPM_BUILD_ROOT/etc/cron.weekly -cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/%{name} < $RPM_BUILD_ROOT/etc/cron.daily/%{name} <