[knot] update to 1.5.0-rc1

jvcelak jvcelak at fedoraproject.org
Wed Jun 4 08:37:40 UTC 2014


commit 8dd156b6b7c2a1e60d2053ef5e2b01b1e7d11f35
Author: Jan Vcelak <jvcelak at fedoraproject.org>
Date:   Wed Jun 4 10:37:13 2014 +0200

    update to 1.5.0-rc1

 knot.spec |   52 +++++++++++++++++++++++++++++++++++++---------------
 sources   |    2 +-
 2 files changed, 38 insertions(+), 16 deletions(-)
---
diff --git a/knot.spec b/knot.spec
index 2ca52c3..e7bdf5d 100644
--- a/knot.spec
+++ b/knot.spec
@@ -1,33 +1,37 @@
 %global _hardened_build 1
 %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+%global alphatag rc1
+
+# TODO:
+# - split into subpackages
+# - documentation building
 
 Summary: An authoritative DNS daemon
 Name: knot
-Version: 1.4.6
-Release: 2%{?dist}
+Version: 1.5.0
+Release: 0.1.%{alphatag}%{?dist}
 License: GPLv3
 Group: System Environment/Daemons
 URL: http://www.knot-dns.cz
-Source0: http://public.nic.cz/files/knot-dns/%{name}-%{version}.tar.gz
+Source0: http://public.nic.cz/files/knot-dns/%{name}-%{version}-%{alphatag}.tar.gz
 Source1: %{name}.service
 Source2: %{name}.conf
 Source3: %{name}.tmpfiles
 
 BuildRequires: flex bison openssl-devel userspace-rcu-devel libcap-ng-devel libidn-devel
-BuildRequires: texinfo
 BuildRequires: systemd-units
 # ragel is optional, required only if .rl source files are modified
 #BuildRequires: ragel
 
-Requires(post): systemd info
-Requires(preun): systemd info
+Requires(post): systemd
+Requires(preun): systemd
 Requires(postun): systemd
 
 %description
 Knot DNS is a high-performance authoritative DNS server implementation.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{alphatag}
 
 %build
 # disable debug code (causes unused warnings)
@@ -38,9 +42,6 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=%{buildroot}
 
-# info database is updated at install time
-rm %{buildroot}%{_datadir}/info/dir
-
 # install customized configuration file
 rm %{buildroot}%{_sysconfdir}/%{name}/*
 install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
@@ -61,6 +62,12 @@ for sample_file in knot.full.conf knot.keys.conf example.com.zone; do
 	install -p -m 0644 samples/${sample_file} %{buildroot}%{_pkgdocdir}/samples
 done
 
+# remove libarchive files
+rm %{buildroot}%{_libdir}/*.la
+
+# remove .so files, the headers are not available
+rm %{buildroot}%{_libdir}/*.so
+
 %check
 make check
 
@@ -72,16 +79,14 @@ useradd -r -g knot -d %{_sysconfdir}/knot -s /sbin/nologin \
 exit 0
 
 %post
-/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
+/sbin/ldconfig
 %systemd_post knot.service
 
 %preun
 %systemd_preun knot.service
-if [ $1 -eq 0 ] ; then
-	/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
-fi
 
 %postun
+/sbin/ldconfig
 %systemd_postun
 
 %files
@@ -95,12 +100,29 @@ fi
 %{_tmpfilesdir}/%{name}.conf
 %{_bindir}/*
 %{_sbindir}/*
+%{_libdir}/libknot.so.*
+%{_libdir}/libzscanner.so.*
 %{_mandir}/man1/*
 %{_mandir}/man5/*
 %{_mandir}/man8/*
-%doc %{_infodir}/%{name}.info.gz
 
 %changelog
+* Wed Jun 04 2014 Jan Vcelak <jvcelak at fedoraproject.org> 1.5.0-0.1.rc1
+- update to 1.5.0-rc1
+  + Pluggable query processing modules
+  + Synthetic IPv4/IPv6 reverse/forward records (optional module)
+  + Dnstap support in both utilities & server (optional module)
+  + NOTIFY message support and new TSIG section in kdig
+  + Multi-master support
+  + Query processing and core functionality overhaul
+  + Performance and reduced memory footprint
+  + Faster zone events scheduling
+  + RFC compliant queries/responses in some corner cases
+  + Log messages
+  + New documentation (Sphinx)
+- enabled dynamic linking
+- removed info pages
+
 * Thu May 22 2014 Jan Vcelak <jvcelak at fedoraproject.org> 1.4.6-2
 - update to 1.4.6
   + DNSSEC: fix possible signing loop when doing key rollover
diff --git a/sources b/sources
index 3c08bf0..10ae579 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cb53ff4f20f9f9e6cbf4dc5d5a4f01ef  knot-1.4.6.tar.gz
+a6326c862aa861a2fbaa67c10b186fd3  knot-1.5.0-rc1.tar.gz


More information about the scm-commits mailing list