From 4a1c687291bf8e489b04cfe1552da86e5f33da61 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Fri, 24 Jun 2016 13:19:07 +0200 Subject: [PATCH] findutils.spec: apply patches after cleanup in git --- findutils.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/findutils.spec b/findutils.spec index 71b4dcf..6b2a8f0 100644 --- a/findutils.spec +++ b/findutils.spec @@ -57,9 +57,13 @@ You should install findutils because it includes tools that are very useful for finding things on your system. %prep -%autosetup -S git +%autosetup -N -S git -# drop ignored files and mark them as ignored +# drop the source code of locate +git rm -q -r locate +git commit -q -m "drop the source code of locate" + +# remove ignored files from git and mark them as ignored tee -a .gitignore << EOF *~ Makefile.in @@ -73,10 +77,10 @@ Makefile.in EOF git rm -q -r --cached . git add --all . -git commit -m "drop ignored files" +git commit -m "remove ignored files from git" -git rm -q -r locate -git commit -q -m "drop the source code of locate" +# apply all patches +%autopatch -S git # needed because of findutils-4.5.15-no-locate.patch autoreconf -fiv