Hello community,

here is the log from the commit of package coccinelle for openSUSE:Factory 
checked in at 2020-05-05 19:04:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/coccinelle (Old)
 and      /work/SRC/openSUSE:Factory/.coccinelle.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "coccinelle"

Tue May  5 19:04:18 2020 rev:28 rq:800307 version:1.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/coccinelle/coccinelle.changes    2020-02-25 
16:08:24.940678332 +0100
+++ /work/SRC/openSUSE:Factory/.coccinelle.new.2738/coccinelle.changes  
2020-05-05 19:04:59.722637899 +0200
@@ -1,0 +2,5 @@
+Tue Apr 28 08:11:49 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Switch to python3
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ coccinelle.spec ++++++
--- /var/tmp/diff_new_pack.k1jXCx/_old  2020-05-05 19:05:01.878642366 +0200
+++ /var/tmp/diff_new_pack.k1jXCx/_new  2020-05-05 19:05:01.878642366 +0200
@@ -29,15 +29,16 @@
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  ncurses-devel
-BuildRequires:  ocaml(ocaml.opt)
 BuildRequires:  ocaml-findlib
 BuildRequires:  ocaml-menhir-devel
 BuildRequires:  ocaml-ocamlbuild
 BuildRequires:  ocaml-ocamldoc >= 3.11
 BuildRequires:  ocaml-parmap-devel
 BuildRequires:  ocaml-pcre-devel
-BuildRequires:  pkgconfig(python)
-Requires:       python-base
+BuildRequires:  python-rpm-macros
+BuildRequires:  ocaml(ocaml.opt)
+BuildRequires:  pkgconfig(python3)
+Requires:       python3-base
 
 %description
 Coccinelle is a program matching and transformation engine which
@@ -79,15 +80,15 @@
 %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/%python3_sitelib"
+mv "%buildroot/%_libdir/%name/python/coccilib" "%buildroot/%python3_sitelib"
+%fdupes %buildroot/%python3_sitelib/coccilib
 
 %files
 %doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
 %license license.txt
 %doc readme.txt
-%{python_sitelib}/coccilib
+%python3_sitelib/coccilib
 %_mandir/man?/*
 %_bindir/sp*
 %_libdir/%name


Reply via email to