Hello community, here is the log from the commit of package ldns for openSUSE:Factory checked in at 2018-01-16 09:30:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ldns (Old) and /work/SRC/openSUSE:Factory/.ldns.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ldns" Tue Jan 16 09:30:49 2018 rev:14 rq:562480 version:1.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ldns/ldns.changes 2017-11-26 10:34:54.614966951 +0100 +++ /work/SRC/openSUSE:Factory/.ldns.new/ldns.changes 2018-01-16 09:30:49.742096420 +0100 @@ -1,0 +2,7 @@ +Mon Jan 8 10:08:13 UTC 2018 - [email protected] + +- Switch directly to python3 in order for us to proceed with py2 + obsoletion for future releases + * Upstream sadly can build only against one of the two + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ldns.spec ++++++ --- /var/tmp/diff_new_pack.JGG7Sf/_old 2018-01-16 09:30:50.538059180 +0100 +++ /var/tmp/diff_new_pack.JGG7Sf/_new 2018-01-16 09:30:50.542058992 +0100 @@ -1,7 +1,7 @@ # # spec file for package ldns # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ BuildRequires: libopenssl-devel BuildRequires: libpcap-devel BuildRequires: perl-Devel-CheckLib -BuildRequires: python-devel +BuildRequires: python3-devel BuildRequires: swig %description @@ -65,12 +65,12 @@ This package holds the development files. -%package -n python-ldns -Summary: Python bindings for ldns +%package -n python3-ldns +Summary: Python3 bindings for ldns Group: Development/Languages/Python Requires: %{libname} >= %{version} -%description -n python-ldns +%description -n python3-ldns Python bindings for the ldns library %package -n perl-DNS-LDNS @@ -89,6 +89,7 @@ if pkg-config --max-version=1.1.0 openssl; then DISABLE_DANE="--disable-dane-verify" fi +export PYTHON=%{_bindir}/python3 %configure \ --disable-rpath \ --disable-static \ @@ -121,7 +122,7 @@ make DESTDIR=%{buildroot} \ install-pyldns \ install-pyldnsx -rm -v %{buildroot}%{python_sitearch}/*.la +rm -v %{buildroot}%{python3_sitearch}/*.la make -C contrib/DNS-LDNS DESTDIR=%{buildroot} pure_install chmod 755 %{buildroot}%{perl_vendorarch}/auto/DNS/LDNS/LDNS.so @@ -181,7 +182,7 @@ %{perl_vendorarch}/auto/DNS/LDNS/ %{_mandir}/man3/DNS::LDNS*3pm* -%files -n python-ldns -%{python_sitearch}/*ldns* +%files -n python3-ldns +%{python3_sitearch}/*ldns* %changelog
