- Update to new source URL.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=72
This commit is contained in:
parent
b775ba7e48
commit
52dc786c1e
@ -1,7 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 10:35:20 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to new source URL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 07:45:29 UTC 2020 - nick wang <nwang@suse.com>
|
||||
|
||||
- bsc#1160194, change the python library to site-packages hierarchy.
|
||||
- bsc#1160194, change the python library to site-packages hierarchy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 13:10:02 UTC 2019 - olaf@aepfle.de
|
||||
@ -28,7 +33,7 @@ Thu Aug 22 14:04:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
* Allow script finalizers for parallel computation. See
|
||||
tests/countcalls.cocci and tests/countcalls_python.cocci
|
||||
* Allow disjunctions on a wider range of syntactic
|
||||
constructions (function definitions, variable declarations,
|
||||
constructions (function definitions, variable declarations
|
||||
…).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@ -23,9 +23,9 @@ Summary: Semantic patch utility
|
||||
License: GPL-2.0-only
|
||||
Group: Productivity/Text/Utilities
|
||||
URL: http://coccinelle.lip6.fr/
|
||||
#Git-Clone: git://github.com/coccinelle/coccinelle
|
||||
|
||||
Source0: %name-%version.tar.gz
|
||||
#Git-Clone: https://github.com/coccinelle/coccinelle
|
||||
Source0: https://github.com/coccinelle/coccinelle/archive/%version.tar.gz#/%name-%version.tar.gz
|
||||
Patch1: kill-env.diff
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -61,7 +61,8 @@ fixing bugs in systems code.
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure
|
||||
make #{?_smp_mflags}
|
||||
# internal copy of stdcompat
|
||||
make -j1
|
||||
|
||||
%install
|
||||
# "because it is simply not possible to strip ocaml binaries that are built
|
||||
@ -80,9 +81,9 @@ rm -Rf "%buildroot/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
|
||||
%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
|
||||
mkdir -p "%buildroot/%python_sitelib"
|
||||
mv "%buildroot/%_libdir/%name/python/coccilib" "%buildroot/%python_sitelib"
|
||||
%fdupes %buildroot/%python_sitelib/coccilib
|
||||
|
||||
%files
|
||||
%doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
|
||||
|
Loading…
Reference in New Issue
Block a user