Upstream no longer ships a cron file
This commit is contained in:
parent
d34ef94d87
commit
fbebd499c4
@ -42,7 +42,6 @@ Requires: openssl
|
|||||||
Requires: gawk
|
Requires: gawk
|
||||||
Requires: attr
|
Requires: attr
|
||||||
Requires: bc
|
Requires: bc
|
||||||
Requires: crontabs
|
|
||||||
Requires: iproute
|
Requires: iproute
|
||||||
Requires: genisoimage
|
Requires: genisoimage
|
||||||
# Note that CentOS also has rhel defined so there is no need to use centos
|
# Note that CentOS also has rhel defined so there is no need to use centos
|
||||||
@ -89,14 +88,11 @@ Professional services and support are available.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
echo "30 1 * * * root /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue" >rear.cron
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# nothing to build
|
# nothing to build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{make_install}
|
%{make_install}
|
||||||
install -Dp -m0644 rear.cron %{buildroot}%{_sysconfdir}/cron.d/rear
|
|
||||||
|
|
||||||
#-- SCRIPTLETS -----------------------------------------------------------------#
|
#-- SCRIPTLETS -----------------------------------------------------------------#
|
||||||
%pre
|
%pre
|
||||||
@ -109,7 +105,6 @@ fi
|
|||||||
%files
|
%files
|
||||||
%doc MAINTAINERS COPYING README.adoc doc/*.txt
|
%doc MAINTAINERS COPYING README.adoc doc/*.txt
|
||||||
%doc %{_mandir}/man8/rear.8*
|
%doc %{_mandir}/man8/rear.8*
|
||||||
%config(noreplace) %{_sysconfdir}/cron.d/rear
|
|
||||||
%config(noreplace) %{_sysconfdir}/rear/
|
%config(noreplace) %{_sysconfdir}/rear/
|
||||||
%{_datadir}/rear/
|
%{_datadir}/rear/
|
||||||
%{_sharedstatedir}/rear/
|
%{_sharedstatedir}/rear/
|
||||||
|
Loading…
Reference in New Issue
Block a user