forked from pool/coccinelle
Accepting request 761345 from home:wanghaisu:branches:devel:tools
bsc#1160194, fix the wrong python path. OBS-URL: https://build.opensuse.org/request/show/761345 OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=69
This commit is contained in:
parent
cab3263781
commit
87f2a892e9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 7 07:45:29 UTC 2020 - nick wang <nwang@suse.com>
|
||||||
|
|
||||||
|
- bsc#1160194, change the python library to site-packages hierarchy.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 24 13:10:02 UTC 2019 - olaf@aepfle.de
|
Thu Oct 24 13:10:02 UTC 2019 - olaf@aepfle.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package coccinelle
|
# spec file for package coccinelle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -80,10 +80,16 @@ rm -Rf "%buildroot/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
|
|||||||
"%buildroot/%_mandir/man3"/Coccilib*
|
"%buildroot/%_mandir/man3"/Coccilib*
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
|
# Python library have been named after directories in the site-packages hierarchy
|
||||||
|
mkdir -p %{buildroot}%{python_sitelib}
|
||||||
|
mv %{buildroot}%{_libdir}/%{name}/python/coccilib %{buildroot}%{python_sitelib}
|
||||||
|
%fdupes %{buildroot}%{python_sitelib}/coccilib
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
|
%doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
|
||||||
%license license.txt
|
%license license.txt
|
||||||
%doc readme.txt
|
%doc readme.txt
|
||||||
|
%{python_sitelib}/coccilib
|
||||||
%_mandir/man?/*
|
%_mandir/man?/*
|
||||||
%_bindir/sp*
|
%_bindir/sp*
|
||||||
%_libdir/%name
|
%_libdir/%name
|
||||||
|
Loading…
Reference in New Issue
Block a user