Accepting request 562455 from openSUSE:Factory:Staging:O
- 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 OBS-URL: https://build.opensuse.org/request/show/562455 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=36
This commit is contained in:
parent
275502985e
commit
5310f8a438
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 10:08:13 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 14:17:03 UTC 2017 - vcizek@suse.com
|
||||
|
||||
|
17
ldns.spec
17
ldns.spec
@ -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: fdupes
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: perl-Devel-CheckLib
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: swig
|
||||
|
||||
%description
|
||||
@ -65,12 +65,12 @@ experimental software for current Internet Drafts.
|
||||
|
||||
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 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
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} \
|
||||
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 @@ rm -v %{buildroot}%{_libdir}/libldns.*a
|
||||
%{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
|
||||
|
Loading…
x
Reference in New Issue
Block a user