diff --git a/rear.spec b/rear.spec index adc44c1..ee14054 100644 --- a/rear.spec +++ b/rear.spec @@ -63,6 +63,7 @@ Patch206: rear-nbu-RHEL-17390-RHEL-17393.patch ### Dependencies on all distributions BuildRequires: asciidoc +BuildRequires: git-core Requires: binutils Requires: ethtool Requires: gzip @@ -161,43 +162,7 @@ if [ $1 -gt 1 ] ; then fi %prep -%setup -%patch4 -p1 -%patch29 -p1 -%patch30 -p1 -%patch31 -p1 -%patch32 -p1 -%patch33 -p1 -%patch34 -p1 -%patch35 -p1 -%patch36 -p1 -%patch37 -p1 -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 -p1 -%patch42 -p1 -%patch43 -p1 -%patch44 -p1 -%patch48 -p1 -%patch49 -p1 -%patch50 -p1 -%patch51 -p1 -%patch52 -p1 -%patch53 -p1 -%patch54 -p1 -%patch56 -p1 -%patch58 -p1 -%patch59 -p1 -%patch60 -p1 -%patch61 -p1 -%patch62 -p1 -%patch64 -p1 -%patch65 -p1 -%patch111 -p1 -%patch113 -p1 -%patch115 -p1 -%patch206 -p1 +%autosetup -p1 -S git echo "30 1 * * * root test -f /var/lib/rear/layout/disklayout.conf && /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue" >rear.cron