SHA256
1
0
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:
Jan Engelhardt 2017-11-28 10:23:09 +00:00 committed by Git OBS Bridge
parent aae8944b75
commit baf4361e1e
2 changed files with 9 additions and 6 deletions

View File

@ -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 Sun Nov 26 22:45:58 UTC 2017 - jengelh@inai.de

View File

@ -74,13 +74,10 @@ export NO_DEBUGINFO_STRIP_DEBUG=true
: >debugfiles.list : >debugfiles.list
: >debugsources.list : >debugsources.list
b="%buildroot" %make_install
make install DESTDIR="$b"
# Remove coccilib, don't have the deps # Remove coccilib, don't have the deps
rm -Rf "$b/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \ rm -Rf "%buildroot/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
"$b/%_mandir/man3"/Coccilib* "%buildroot/%_mandir/man3"/Coccilib*
mkdir -p "$b/%_libdir"
%fdupes %buildroot/%_prefix %fdupes %buildroot/%_prefix
%files %files