Hello community,

here is the log from the commit of package ldns for openSUSE:Factory checked in 
at 2016-05-23 16:36:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ldns (Old)
 and      /work/SRC/openSUSE:Factory/.ldns.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ldns"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ldns/ldns.changes        2015-09-03 
18:07:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ldns.new/ldns.changes   2016-05-23 
16:36:15.000000000 +0200
@@ -1,0 +2,16 @@
+Tue May 10 22:52:09 UTC 2016 - mrueck...@suse.de
+
+- disable python because the bindings dont match the old python
+  version either
+
+-------------------------------------------------------------------
+Tue May 10 22:44:17 UTC 2016 - mrueck...@suse.de
+
+- disable perl on sle11 as it needs at least 5.14.2
+
+-------------------------------------------------------------------
+Tue May 10 22:23:24 UTC 2016 - mrueck...@suse.de
+
+- fix building on SLE11 by disabling gost
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ldns.spec ++++++
--- /var/tmp/diff_new_pack.aWnNDc/_old  2016-05-23 16:36:16.000000000 +0200
+++ /var/tmp/diff_new_pack.aWnNDc/_new  2016-05-23 16:36:16.000000000 +0200
@@ -15,6 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# gost needs openssl >= 1.0
+# we need at least 5.14.2
+%if 0%{?suse_version} > 1110
+%bcond_without gost
+%bcond_without perl
+%bcond_without python
+%else
+%bcond_with    gost
+%bcond_with    perl
+%bcond_with    python
+%endif
 
 Name:           ldns
 Version:        1.6.17
@@ -26,7 +37,9 @@
 BuildRequires:  fdupes
 BuildRequires:  libpcap-devel
 BuildRequires:  openssl-devel
+%if %{with python}
 BuildRequires:  python-devel
+%endif
 BuildRequires:  swig
 #
 Url:            http://www.nlnetlabs.nl/projects/ldns/
@@ -77,6 +90,7 @@
 
 This package holds the development files.
 
+%if %{with python}
 %package -n python-ldns
 Summary:        Python bindings for ldns
 Group:          Productivity/Networking/DNS/Servers
@@ -86,6 +100,9 @@
 %description -n python-ldns
 Python bindings for ldns library
 
+%endif
+
+%if %{with perl}
 %package -n perl-DNS-LDNS
 Summary:        Perl bindings for ldns
 Group:          Productivity/Networking/DNS/Servers
@@ -95,6 +112,8 @@
 %description -n perl-DNS-LDNS
 Perl bindings for ldns library
 
+%endif
+
 %prep
 %setup -q
 %patch0 -p1
@@ -102,6 +121,9 @@
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure                \
+%if ! %{with gost}
+  --disable-gost          \
+%endif
   --disable-rpath         \
   --disable-static        \
   --enable-rrtype-ninfo   \
@@ -109,9 +131,13 @@
   --enable-rrtype-cds     \
   --enable-rrtype-uri     \
   --enable-rrtype-ta      \
+%if %{with python}
   --with-pyldns           \
   --with-pyldnsx          \
+%endif
+%if %{with perl}
   --with-p5-dns-ldns      \
+%endif
   --with-drill            \
   --with-examples         \
   --with-ca-path=/etc/ssl/certs/
@@ -123,18 +149,22 @@
   install-drill \
   install-examples
 
+%if %{with python}
 make DESTDIR="%{buildroot}" \
   install-pyldns \
   install-pyldnsx
+%{__rm} -v %{buildroot}%{python_sitearch}/*.la
+%endif
 
+%if %{with perl}
 pushd contrib/DNS-LDNS
 %perl_make_install
 %perl_process_packlist
 popd
+%{__rm} -rfv %{buildroot}%{perl_sitearch}/
+%endif
 
 %{__rm} -v %{buildroot}%{_libdir}/libldns.*a
-%{__rm} -v %{buildroot}%{python_sitearch}/*.la
-%{__rm} -rfv %{buildroot}%{perl_sitearch}/
 #
 %fdupes %buildroot%_mandir
 
@@ -188,6 +218,7 @@
 %{_mandir}/man3/ldns*.3*
 %doc libdns.vim LICENSE README*
 
+%if %{with perl}
 %files -n perl-DNS-LDNS
 %defattr(-,root,root)
 %{perl_vendorarch}/DNS/LDNS.pm
@@ -196,9 +227,12 @@
 %dir %{perl_vendorarch}/auto/DNS/
 %{perl_vendorarch}/auto/DNS/LDNS/
 %{_mandir}/man3/DNS::LDNS*3pm*
+%endif
 
+%if %{with python}
 %files -n python-ldns
 %defattr(-,root,root)
 %{python_sitearch}/*ldns*
+%endif
 
 %changelog


Reply via email to