Sync from SUSE:SLFO:Main coccinelle revision 1be7d44198fbb57d0c206286adf0f85d

This commit is contained in:
Adrian Schröter 2024-11-12 15:38:45 +01:00
parent 292f823d83
commit 103cca8300
5 changed files with 15 additions and 20 deletions

View File

@ -1,9 +1,9 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="manual">
<param name="url">https://github.com/coccinelle/coccinelle.git</param> <param name="url">https://github.com/coccinelle/coccinelle.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="revision">5444e14106ff17404e63d7824b9eba3c0e7139ba</param> <param name="revision">969cb12e9e9b7d4f42c2ff15296fd927f1ba63af</param>
<param name="filename">coccinelle</param> <param name="filename">coccinelle</param>
<param name="exclude">bundles/menhirLib</param> <param name="exclude">bundles/menhirLib</param>
<param name="exclude">bundles/parmap</param> <param name="exclude">bundles/parmap</param>
@ -13,9 +13,9 @@
<!-- <!--
--> -->
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="manual">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">xz</param>
</service> </service>
<service name="set_version" mode="disabled"/> <service name="set_version" mode="manual"/>
</services> </services>

BIN
coccinelle-1.1.1.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
coccinelle-1.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 12 12:12:12 UTC 2024 - ohering@suse.de
- update to version 1.2
See included changes.txt for details
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 29 10:51:36 UTC 2022 - Andreas Schwab <schwab@suse.de> Tue Nov 29 10:51:36 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package coccinelle # spec file for package coccinelle
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 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,7 +17,7 @@
Name: coccinelle Name: coccinelle
Version: 1.1.1 Version: 1.2
Release: 0 Release: 0
Summary: Semantic patch utility Summary: Semantic patch utility
License: GPL-2.0-only License: GPL-2.0-only
@ -87,17 +87,6 @@ export NO_DEBUGINFO_STRIP_DEBUG=true
%make_install %make_install
# Until https://github.com/coccinelle/coccinelle/issues/259 is fixed
for i in spatch spgen; do
mv -v "$b/%_bindir/$i" "$b/%_bindir/$i.bin"
cat >"$b/%_bindir/$i" <<-EOF
#!/bin/bash
if test -z "\$COCCINELLE_HOME"; then export COCCINELLE_HOME="%_libdir/coccinelle"; fi
exec %_bindir/$i.bin "\$@"
EOF
chmod -v a+x "$b/%_bindir/$i"
done
%fdupes $b/%_prefix %fdupes $b/%_prefix
# Python library have been named after directories in the site-packages hierarchy # Python library have been named after directories in the site-packages hierarchy