Hello community,

here is the log from the commit of package perl-Inline-Python for 
openSUSE:Factory checked in at 2020-11-17 21:23:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Inline-Python (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Inline-Python.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Inline-Python"

Tue Nov 17 21:23:50 2020 rev:2 rq:848622 version:0.56

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Inline-Python/perl-Inline-Python.changes    
2019-01-28 20:49:07.513862104 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Inline-Python.new.24930/perl-Inline-Python.changes
 2020-11-17 21:23:52.065293431 +0100
@@ -1,0 +2,5 @@
+Fri Nov 13 20:42:04 UTC 2020 - Oliver Kurz <ok...@suse.com>
+
+- Switch to python3 as python2 is considered obsolete
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ perl-Inline-Python.spec ++++++
--- /var/tmp/diff_new_pack.2DjX1w/_old  2020-11-17 21:23:53.161294518 +0100
+++ /var/tmp/diff_new_pack.2DjX1w/_new  2020-11-17 21:23:53.165294522 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Inline-Python
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,9 +21,9 @@
 Release:        0
 %define cpan_name Inline-Python
 Summary:        Write Perl subs and classes in Python
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Inline-Python/
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/N/NI/NINE/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -38,7 +38,7 @@
 Requires:       perl(Inline) >= 0.46
 %{perl_requires}
 # MANUAL BEGIN
-BuildRequires:  python-devel
+BuildRequires:  python3-devel
 # MANUAL END
 
 %description
@@ -58,11 +58,12 @@
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+export INLINE_PYTHON_EXECUTABLE=/usr/bin/python3
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.2DjX1w/_old  2020-11-17 21:23:53.197294554 +0100
+++ /var/tmp/diff_new_pack.2DjX1w/_new  2020-11-17 21:23:53.197294554 +0100
@@ -8,15 +8,19 @@
 #  foo.patch: -p1
 #  bar.patch:
 preamble: |-
- BuildRequires:  python-devel
+ BuildRequires:  python3-devel
 #post_prep: |-
 # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
-# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
+# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
 #post_install: |-
 # sed on %{name}.files
 #license: SUSE-NonFree
 #skip_noarch: 1
-#custom_build: |-
+custom_build: |-
+  export INLINE_PYTHON_EXECUTABLE=/usr/bin/python3
+  perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+  make %{?_smp_mflags}
+
 #./Build build flags=%{?_smp_mflags} --myflag
 #custom_test: |-
 #startserver && make test
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to