diff --git a/libpsl.changes b/libpsl.changes index 01854f1..ac918f7 100644 --- a/libpsl.changes +++ b/libpsl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 3 20:38:32 UTC 2018 - tchvatal@suse.com + +- Make sure to use python3 during build instead of calling env + ------------------------------------------------------------------- Thu Nov 9 19:15:04 UTC 2017 - astieger@suse.com diff --git a/libpsl.spec b/libpsl.spec index e8e4093..50912c6 100644 --- a/libpsl.spec +++ b/libpsl.spec @@ -1,7 +1,7 @@ # # spec file for package libpsl # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 rpm@cicku.me # # All modifications and additions to the file contributed by third parties @@ -31,10 +31,7 @@ BuildRequires: libidn2-devel >= 0.14 BuildRequires: libunistring-devel BuildRequires: pkgconfig >= 0.9.0 BuildRequires: publicsuffix -BuildRequires: python-base -%if %{with gtk-doc} -BuildRequires: gtk-doc >= 1.15 -%endif +BuildRequires: python3-base %description libpsl is a C library to handle the Public Suffix List. A "public suffix" is a @@ -92,6 +89,8 @@ and sorting domain lists by site. %prep %setup -q +# fix env shebang to call py3 directly +sed -i -e "1s|#!.*|#!/usr/bin/python3|" src/psl-make-dafsa %build # default is libicu, but this just too heavy dependency. This library is part of the @@ -127,9 +126,6 @@ make %{?_smp_mflags} check || (cat tests/test-suite.log; exit 42) %{_includedir}/libpsl.h %{_libdir}/libpsl.so %{_libdir}/pkgconfig/libpsl.pc -%if %{with gtk-doc} -%{_datadir}/gtk-doc/html/libpsl/ -%endif %files -n psl %doc AUTHORS NEWS COPYING diff --git a/psl-make-dafsa.changes b/psl-make-dafsa.changes index 65979dc..7ef6c7a 100644 --- a/psl-make-dafsa.changes +++ b/psl-make-dafsa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 3 20:38:11 UTC 2018 - tchvatal@suse.com + +- Make sure to use python3 instead of env python call + ------------------------------------------------------------------- Thu Nov 9 19:15:04 UTC 2017 - astieger@suse.com diff --git a/psl-make-dafsa.spec b/psl-make-dafsa.spec index 55320d7..561fa8a 100644 --- a/psl-make-dafsa.spec +++ b/psl-make-dafsa.spec @@ -1,7 +1,7 @@ # # spec file for package psl-make-dafsa # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 rpm@cicku.me # # All modifications and additions to the file contributed by third parties @@ -25,7 +25,7 @@ License: BSD-3-Clause Group: Development/Libraries/C and C++ Url: https://rockdaboot.github.io/libpsl Source: https://github.com/rockdaboot/libpsl/releases/download/libpsl-%{version}/libpsl-%{version}.tar.gz -Requires: python-base +Requires: python3-base BuildArch: noarch %description @@ -38,8 +38,11 @@ This package is a build dependency for the publicsuffix package. %prep %setup -q -n libpsl-%{version} +# fix env shebang to call py3 directly +sed -i -e "1s|#!.*|#!/usr/bin/python3|" src/psl-make-dafsa %build +: %install mkdir -p %{buildroot}%{_bindir}