forked from pool/coccinelle
cherry-pick 546128
OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=58
This commit is contained in:
parent
aae8944b75
commit
baf4361e1e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 01:14:03 UTC 2017 - aavindraa@gmail.com
|
||||
|
||||
- use %make_install macro
|
||||
- remove useless directory creation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 26 22:45:58 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
@ -74,13 +74,10 @@ export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
: >debugfiles.list
|
||||
: >debugsources.list
|
||||
|
||||
b="%buildroot"
|
||||
make install DESTDIR="$b"
|
||||
%make_install
|
||||
# Remove coccilib, don't have the deps
|
||||
rm -Rf "$b/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
|
||||
"$b/%_mandir/man3"/Coccilib*
|
||||
|
||||
mkdir -p "$b/%_libdir"
|
||||
rm -Rf "%buildroot/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
|
||||
"%buildroot/%_mandir/man3"/Coccilib*
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user