findutils.spec: apply patches after cleanup in git
This commit is contained in:
parent
0f2255e7b1
commit
4a1c687291
@ -57,9 +57,13 @@ You should install findutils because it includes tools that are very
|
|||||||
useful for finding things on your system.
|
useful for finding things on your system.
|
||||||
|
|
||||||
%prep
|
%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
|
tee -a .gitignore << EOF
|
||||||
*~
|
*~
|
||||||
Makefile.in
|
Makefile.in
|
||||||
@ -73,10 +77,10 @@ Makefile.in
|
|||||||
EOF
|
EOF
|
||||||
git rm -q -r --cached .
|
git rm -q -r --cached .
|
||||||
git add --all .
|
git add --all .
|
||||||
git commit -m "drop ignored files"
|
git commit -m "remove ignored files from git"
|
||||||
|
|
||||||
git rm -q -r locate
|
# apply all patches
|
||||||
git commit -q -m "drop the source code of locate"
|
%autopatch -S git
|
||||||
|
|
||||||
# needed because of findutils-4.5.15-no-locate.patch
|
# needed because of findutils-4.5.15-no-locate.patch
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
Loading…
Reference in New Issue
Block a user