forked from pool/coccinelle
Accepting request 764755 from devel:tools
- Use _service file to trim the bundles directory - Update to new source URL. - bsc#1160194, change the python library to site-packages hierarchy. - Update to new upstream release 1.0.8 See included changes.txt for details - Remove usage of camlp4 - Remove pkg-config. It is not required, but pulled in anyway by other packages - Disable parallel build due to internal copy of stdcompat constructions (function definitions, variable declarations OBS-URL: https://build.opensuse.org/request/show/764755 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coccinelle?expand=0&rev=26
This commit is contained in:
commit
87c2a01510
21
_service
Normal file
21
_service
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/coccinelle/coccinelle.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="revision">d678c34afc0cfb479ad34f2225c57b1b8d3ebeae</param>
|
||||||
|
<param name="filename">coccinelle</param>
|
||||||
|
<param name="exclude">bundles/menhirLib</param>
|
||||||
|
<param name="exclude">bundles/parmap</param>
|
||||||
|
<param name="exclude">bundles/pcre</param>
|
||||||
|
<!--
|
||||||
|
<param name="exclude">bundles/pyml</param>
|
||||||
|
<param name="exclude">bundles/stdcompat</param>
|
||||||
|
-->
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:475e2bed5486023d19d9e0dec5e109b04b872a9917b62faf83ce3521676f728b
|
|
||||||
size 6607407
|
|
3
coccinelle-1.0.8.tar.xz
Normal file
3
coccinelle-1.0.8.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:78c8e64daf3b9e47be8760c8346fa1bf91b66960680c091625c7dd228a0f44f1
|
||||||
|
size 1319948
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 15 17:10:38 UTC 2020 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Use _service file to trim the bundles directory
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 13:10:02 UTC 2019 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Update to new upstream release 1.0.8
|
||||||
|
See included changes.txt for details
|
||||||
|
- Remove usage of camlp4
|
||||||
|
- Remove pkg-config. It is not required, but pulled in anyway
|
||||||
|
by other packages
|
||||||
|
- Disable parallel build due to internal copy of stdcompat
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 22 14:04:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Thu Aug 22 14:04:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
@ -13,7 +38,7 @@ Thu Aug 22 14:04:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
|||||||
* Allow script finalizers for parallel computation. See
|
* Allow script finalizers for parallel computation. See
|
||||||
tests/countcalls.cocci and tests/countcalls_python.cocci
|
tests/countcalls.cocci and tests/countcalls_python.cocci
|
||||||
* Allow disjunctions on a wider range of syntactic
|
* Allow disjunctions on a wider range of syntactic
|
||||||
constructions (function definitions, variable declarations,
|
constructions (function definitions, variable declarations
|
||||||
…).
|
…).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package coccinelle
|
# spec file for package coccinelle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# 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
|
||||||
@ -17,15 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: coccinelle
|
Name: coccinelle
|
||||||
Version: 1.0.7
|
Version: 1.0.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Semantic patch utility
|
Summary: Semantic patch utility
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
URL: http://coccinelle.lip6.fr/
|
URL: http://coccinelle.lip6.fr/
|
||||||
#Git-Clone: git://github.com/coccinelle/coccinelle
|
Source0: %name-%version.tar.xz
|
||||||
|
|
||||||
Source: http://coccinelle.lip6.fr/distrib/%name-%version.tar.gz
|
|
||||||
Patch1: kill-env.diff
|
Patch1: kill-env.diff
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -38,8 +36,6 @@ BuildRequires: ocaml-ocamlbuild
|
|||||||
BuildRequires: ocaml-ocamldoc >= 3.11
|
BuildRequires: ocaml-ocamldoc >= 3.11
|
||||||
BuildRequires: ocaml-parmap-devel
|
BuildRequires: ocaml-parmap-devel
|
||||||
BuildRequires: ocaml-pcre-devel
|
BuildRequires: ocaml-pcre-devel
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: ocamlfind(camlp4)
|
|
||||||
BuildRequires: pkgconfig(python)
|
BuildRequires: pkgconfig(python)
|
||||||
Requires: python-base
|
Requires: python-base
|
||||||
|
|
||||||
@ -59,12 +55,12 @@ fixing bugs in systems code.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
rm -fv tools/spgen/source/spgen{,.opt}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
# internal copy of stdcompat
|
||||||
|
make -j1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# "because it is simply not possible to strip ocaml binaries that are built
|
# "because it is simply not possible to strip ocaml binaries that are built
|
||||||
@ -82,10 +78,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