Accepting request 1187297 from devel:tools

- update to version 1.2
  See included changes.txt for details (forwarded request 1187230 from olh)

OBS-URL: https://build.opensuse.org/request/show/1187297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coccinelle?expand=0&rev=37
This commit is contained in:
Ana Guerrero 2024-07-15 17:47:04 +00:00 committed by Git OBS Bridge
commit 0011db0cab
5 changed files with 15 additions and 20 deletions

View File

@ -1,9 +1,9 @@
<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="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">5444e14106ff17404e63d7824b9eba3c0e7139ba</param>
<param name="revision">969cb12e9e9b7d4f42c2ff15296fd927f1ba63af</param>
<param name="filename">coccinelle</param>
<param name="exclude">bundles/menhirLib</param>
<param name="exclude">bundles/parmap</param>
@ -13,9 +13,9 @@
<!--
-->
</service>
<service name="recompress" mode="disabled">
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="set_version" mode="manual"/>
</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>

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: coccinelle
Version: 1.1.1
Version: 1.2
Release: 0
Summary: Semantic patch utility
License: GPL-2.0-only
@ -87,17 +87,6 @@ export NO_DEBUGINFO_STRIP_DEBUG=true
%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
# Python library have been named after directories in the site-packages hierarchy