Accepting request 562480 from server:dns
OBS-URL: https://build.opensuse.org/request/show/562480 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldns?expand=0&rev=14
This commit is contained in:
commit
899790fcaa
@ -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
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -30,7 +30,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
BuildRequires: perl-Devel-CheckLib
|
BuildRequires: perl-Devel-CheckLib
|
||||||
BuildRequires: python-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -65,12 +65,12 @@ experimental software for current Internet Drafts.
|
|||||||
|
|
||||||
This package holds the development files.
|
This package holds the development files.
|
||||||
|
|
||||||
%package -n python-ldns
|
%package -n python3-ldns
|
||||||
Summary: Python bindings for ldns
|
Summary: Python3 bindings for ldns
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{libname} >= %{version}
|
Requires: %{libname} >= %{version}
|
||||||
|
|
||||||
%description -n python-ldns
|
%description -n python3-ldns
|
||||||
Python bindings for the ldns library
|
Python bindings for the ldns library
|
||||||
|
|
||||||
%package -n perl-DNS-LDNS
|
%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
|
if pkg-config --max-version=1.1.0 openssl; then
|
||||||
DISABLE_DANE="--disable-dane-verify"
|
DISABLE_DANE="--disable-dane-verify"
|
||||||
fi
|
fi
|
||||||
|
export PYTHON=%{_bindir}/python3
|
||||||
%configure \
|
%configure \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@ -121,7 +122,7 @@ make DESTDIR=%{buildroot} \
|
|||||||
make DESTDIR=%{buildroot} \
|
make DESTDIR=%{buildroot} \
|
||||||
install-pyldns \
|
install-pyldns \
|
||||||
install-pyldnsx
|
install-pyldnsx
|
||||||
rm -v %{buildroot}%{python_sitearch}/*.la
|
rm -v %{buildroot}%{python3_sitearch}/*.la
|
||||||
|
|
||||||
make -C contrib/DNS-LDNS DESTDIR=%{buildroot} pure_install
|
make -C contrib/DNS-LDNS DESTDIR=%{buildroot} pure_install
|
||||||
chmod 755 %{buildroot}%{perl_vendorarch}/auto/DNS/LDNS/LDNS.so
|
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/
|
%{perl_vendorarch}/auto/DNS/LDNS/
|
||||||
%{_mandir}/man3/DNS::LDNS*3pm*
|
%{_mandir}/man3/DNS::LDNS*3pm*
|
||||||
|
|
||||||
%files -n python-ldns
|
%files -n python3-ldns
|
||||||
%{python_sitearch}/*ldns*
|
%{python3_sitearch}/*ldns*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user