diff --git a/coccinelle.changes b/coccinelle.changes index 18ea7d4..281f892 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,7 +1,12 @@ +------------------------------------------------------------------- +Fri Jan 10 10:35:20 UTC 2020 - Jan Engelhardt + +- Update to new source URL. + ------------------------------------------------------------------- Tue Jan 7 07:45:29 UTC 2020 - nick wang -- 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 * 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 …). ------------------------------------------------------------------- diff --git a/coccinelle.spec b/coccinelle.spec index fdf9e6b..aff9540 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -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